Partager via


Device.RenderState Property (Microsoft.DirectX.Direct3D)

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.