EffectStateManager.SetVertexFormat Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets a vertex format code.

Definition

Visual Basic .NET MustOverride Public Sub SetVertexFormat( _
    ByVal vertexFormat As VertexFormats _
)
C# public abstract void SetVertexFormat(
    VertexFormats vertexFormat
);
Managed C++ public: virtual void SetVertexFormat(
    VertexFormats vertexFormat
) = 0;
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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