Partager via


Device.VertexFormat Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the supported flexible vertex formats.

Definition

Visual Basic Public Property VertexFormat As VertexFormats
C# public VertexFormats VertexFormat { get; set; }
C++ public:
property VertexFormats VertexFormat {
        VertexFormats get();
        void set(VertexFormats value);
}
JScript public function get VertexFormat() : VertexFormats
public function set VertexFormat(VertexFormats);

Property Value

Microsoft.DirectX.Direct3D.VertexFormats
A VertexFormats object that represents the current flexible vertex format values or the flexible vertex format values to set.

This property is read/write. 

Remarks

The fixed vertex function declaration is a set of flexible vertex format (FVF) flags that determine how vertices processed by the fixed function pipeline are used. For more information, see Processing Vertex Data.

Exceptions

InvalidCallException

Occurs if the method call is invalid. For example, a parameter might contain an invalid value.