EffectStateManager.SetTextureStageState(Int32,TextureStageStates,Int32) Method (Microsoft.DirectX.Direct3D)
Sets a texture stage state.
Definition
Visual Basic MustOverride Public Sub SetTextureStageState( _
ByVal textureStage As Integer, _
ByVal state As TextureStageStates, _
ByVal value As Integer _
)C# public abstract void SetTextureStageState(
int textureStage,
TextureStageStates state,
int value
);C++ public:
virtual void SetTextureStageState(
int textureStage,
TextureStageStates state,
int value
) abstract;JScript public abstract function SetTextureStageState(
textureStage : int,
state : TextureStageStates,
value : int
);
Parameters
textureStage System.Int32
The zero-based texture stage index.state Microsoft.DirectX.Direct3D.TextureStageStates
A TextureStageStates enumeration that identifies texture state to set.value System.Int32
The value to set for the texture state type specified in state.
Remarks
SetTextureStageState is a user-implemented method that is called from an effect during rendering.