Device.RenderState Property

Language:

Retrieves a render-state value for a device.

Definition

Visual Basic Public ReadOnly Property RenderState As RenderStateManager
C# public RenderStateManager RenderState { get; }
C++ public:
property RenderStateManager^ RenderState {
        RenderStateManager^ get();
}
JScript public function get RenderState() : RenderStateManager

Property Value

Microsoft.DirectX.Direct3D.RenderStateManager
Returns the RenderStateManager object for the device.

This property is read-only. 

Remarks

This method returns the last render state that was set for the device, or the default device render state, if not previously set, for a device created using CreateFlags.PureDevice.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center