Tesla Graphics Engine Documentation (January 2012)
SetWriteChannels Method (index, mask)
TeslaTesla.Graphics.ImplementationBlendStateImplementationSetWriteChannels(Int32, ColorWriteChannels)
Sets the write mask used by the render target specified by its index.
Declaration Syntax
C#
public void SetWriteChannels(
	int index,
	ColorWriteChannels mask
)
Parameters
index (Int32)
Render target index
mask (ColorWriteChannels)
Color write mask to use
Exceptions
Exception Condition
ArgumentOutOfRangeException Thrown if the index is less than zero or greater than ColorWriteChannelsCount
InvalidOperationException Thrown if the implementation is bound. Once bound render states are read-only.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)