Device.SetTextureStageState Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets a texture stage state value.

Definition

Visual Basic .NET Public Sub SetTextureStageState( _
    ByVal stage As Integer, _
    ByVal state As TextureStageStates, _
    ByVal value As Integer _
)
C# public void SetTextureStageState(
    int stage,
    TextureStageStates state,
    int value
);
Managed C++ public: void SetTextureStageState(
    int stage,
    TextureStageStates state,
    int value
);
JScript .NET public function SetTextureStageState(
    stage : int,
    state : TextureStageStates,
    value : int
);

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.Int32. An integer value to set for the given texture stage state.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.