TextureStateManager.ColorArgument2 Property (Microsoft.DirectX.Direct3D)

Defines the texture-stage state as the second color argument for the stage identified by the TextureArgument enumeration.

Definition

Visual Basic Public Property ColorArgument2 As TextureArgument
C# public TextureArgument ColorArgument2 { get; set; }
C++ public:
property TextureArgument ColorArgument2 {
        TextureArgument get();
        void set(TextureArgument value);
}
JScript public function get ColorArgument2() : TextureArgument
public function set ColorArgument2(TextureArgument);

Property Value

Microsoft.DirectX.Direct3D.TextureArgument
A TextureArgument object that represents the current texture arguments.

This property is read/write. 

Remarks

The default argument is TextureArgument.Current. Specify TextureArgument.Temp to select a temporary register color for read or write. TextureArgument.Temp is supported if the MiscCaps.SupportsTextureStageStateArgumentTemp device capability is present. The default value for the register is (0.0, 0.0, 0.0, 0.0).