EffectStateManager.SetVertexFormat Method

Language:

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.


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

Feedback? Please provide us with your comments on this topic.