| Device.SetRenderState Method | Language: | 
Sets a render state value.
Visual Basic Public Sub SetRenderState( _ 
ByVal state As RenderStates, _
ByVal value As Integer _
)C# public void SetRenderState( 
RenderStates state,
int value
);C++ public: 
void SetRenderState(
RenderStates state,
int value
);JScript public function SetRenderState( 
state : RenderStates,
value : int
);
state Microsoft.DirectX.Direct3D.RenderStates 
A member from the RenderStates enumeration that represents the render state value to set.value System.Int32 
An integer render state value to set.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value. 
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.