Device.VertexDeclaration Property

Language:

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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center