GraphicsDevice.RenderState Property

Retrieves a render-state value for a GraphicsDevice.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public RenderState RenderState { get; }

Property Value

The render state.

This method returns the last render state that was set for the GraphicsDevice, or the default GraphicsDevice render state, if not previously set.

Xbox 360, Windows XP SP2, Windows Vista