VertexDeclaration.GetVertexStrideSize Method (Int32)

Gets the size of a vertex from the vertex declaration.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public int GetVertexStrideSize (
         int stream
)

Parameters

  • stream
    The zero-based stream index.

Return Value

The vertex declaration size, in bytes.

See Also

Reference

VertexDeclaration Class
VertexDeclaration Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista