Device.SetTextureStageState(Int32,TextureStageStates,Boolean) Method (Microsoft.DirectX.Direct3D)
Sets a texture stage state value.
Definition
Visual Basic Public Sub SetTextureStageState( _
ByVal stage As Integer, _
ByVal state As TextureStageStates, _
ByVal value As Boolean _
)C# public void SetTextureStageState(
int stage,
TextureStageStates state,
bool value
);C++ public:
void SetTextureStageState(
int stage,
TextureStageStates state,
bool value
);JScript public function SetTextureStageState(
stage : int,
state : TextureStageStates,
value : boolean
);
Parameters
stage System.Int32
Index value of the texture stage to set.state Microsoft.DirectX.Direct3D.TextureStageStates
A member from the TextureStageStates enumeration that represents the texture stage state value to set.value System.Boolean
A Boolean value to set for the given texture stage state.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.