Sdílet prostřednictvím


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)

Syntax

public RenderState RenderState { get; }

Property Value

The render state.

Remarks

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

See Also

Reference

GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista