EffectStateManager.SetRenderState(RenderStates,Int32) Method (Microsoft.DirectX.Direct3D)
Sets a render state.
Definition
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
);
Parameters
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.
Remarks
SetRenderState is a user-implemented method that is called from an effect during rendering.