EffectStateManager.SetRenderState Method |
Language: |
Sets a render state.
Visual Basic MustOverride Public Sub SetRenderState( _
ByVal renderState As RenderStates, _
ByVal stateValue As Integer _
)C# public abstract void SetRenderState(
RenderStates renderState,
int stateValue
);C++ public:
virtual void SetRenderState(
RenderStates renderState,
int stateValue
) abstract;JScript public abstract function SetRenderState(
renderState : RenderStates,
stateValue : int
);
renderState Microsoft.DirectX.Direct3D.RenderStates
A value from the RenderStates enumeration to set.stateValue System.Int32
The render state value to set for the given render state.
SetRenderState is a user-implemented method that is called from an effect during rendering.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.