GraphicsDevice.VertexShader Property
Gets or sets the current vertex shader.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public VertexShader VertexShader { get; set; }
Property Value
The GraphicsDevice's current vertex shader or a vertex shader object to set.
Exceptions
Exception type | Condition |
---|---|
ObjectDisposedException | VertexShader was called after this GraphicsDevice was disposed. |
See Also
Reference
GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista