Version: 2022.1
言語: 日本語
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.