VertexLayout

VertexLayout

Determines if vertex attributes are interleaved in a single vertex buffer or if each attribute is stored in a separate vertex buffer.

See:
Source:

Members

<static, constant> :Enumeration

Each attribute will be interleaved in a single vertex buffer. This can have a slight performance advantage over using a separate vertex buffer per attribute, but it requires extra CPU processing to initially interleave the vertex data. This is recommended for static data that will be rendered over several frames.

<static, constant> :Enumeration

Each attribute will be stored in a separate vertex buffer. This can be slightly slower than using a single interleaved vertex buffer, but it is more flexible; more easily allowing the sharing of vertex buffers among vertex arrays. It also requires much less initial CPU processing than interleaving.

Methods

<static>

DOC_TBA

Parameters:
Name Type Description
vertexLayout
Returns: