Export (0) Print
Expand All

GraphicsDevice.VertexShader Property

Gets or sets the current vertex shader.

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

public VertexShader VertexShader { get; set; }

Property Value

The GraphicsDevice's current vertex shader or a vertex shader object to set.

Exception typeCondition
ObjectDisposedException VertexShader was called after this GraphicsDevice was disposed.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2014 Microsoft