Device.VertexDeclaration Property (Microsoft.DirectX.Direct3D)

Retrieves or sets a vertex shader declaration.

Definition

Visual Basic Public Property VertexDeclaration As VertexDeclaration
C# public VertexDeclaration VertexDeclaration { get; set; }
C++ public:
property VertexDeclaration^ VertexDeclaration {
        VertexDeclaration^ get();
        void set(VertexDeclarationvalue);
}
JScript public function get VertexDeclaration() : VertexDeclaration
public function set VertexDeclaration(VertexDeclaration);

Property Value

Microsoft.DirectX.Direct3D.VertexDeclaration
A VertexDeclaration object that contains the vertex shader declaration.

This property is read/write. 

Remarks

A vertex shader declaration is made up of an array of vertex elements.