Version: 2021.3
언어: 한국어

Mesh.MeshData.GetVertexBufferStride

매뉴얼로 전환
public int GetVertexBufferStride (int stream);

파라미터

stream The vertex data stream index to check for.

반환

int Vertex data size in bytes in this stream, or zero if the stream is not present.

설명

Get the vertex buffer stream stride in bytes.

Meshes usually use a single vertex buffer stream, but it is possible to set up a vertex layout where attributes use different vertex buffers (see SetVertexBufferParams). When you use such a layout, use this function to query the vertex data size in bytes within a given stream.

See Also: vertexBufferCount, GetVertexAttributeOffset, SetVertexBufferParams, Mesh.GetVertexBufferStride.