Share via


EffectStateManager.SetVertexFormat(VertexFormats) Method (Microsoft.DirectX.Direct3D)

Sets a vertex format code.

Definition

Visual Basic MustOverride Public Sub SetVertexFormat( _
    ByVal vertexFormat As VertexFormats _
)
C# public abstract void SetVertexFormat(
    VertexFormats vertexFormat
);
C++ public:
virtual void SetVertexFormat(
    VertexFormats vertexFormat
) abstract;
JScript public abstract function SetVertexFormat(
    vertexFormat : VertexFormats
);

Parameters

vertexFormat Microsoft.DirectX.Direct3D.VertexFormats
A value of the VertexFormats enumeration that detemines how to interpret vertex data.

Remarks

SetVertexFormat is a user-implemented method that is called from an effect during rendering.