Device.SetRenderState Method

Language:

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

Sets a render state value.

Definition

Visual Basic .NET Public Sub SetRenderState( _
    ByVal state As RenderStates, _
    ByVal value As Single _
)
C# public void SetRenderState(
    RenderStates state,
    float value
);
Managed C++ public: void SetRenderState(
    RenderStates state,
    float value
);
JScript .NET public function SetRenderState(
    state : RenderStates,
    value : float
);

Parameters

state Microsoft.DirectX.Direct3D.RenderStates. A member from the RenderStates enumeration that represents the render state value to set.
value System.Single. A floating-point render state value to set.

Remarks

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

See Also


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

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