Vertex layout method.


INTERLEAVED: import("/Users/donmccurdy/Documents/Projects/glTF-Transform/packages/core/src/constants").VertexLayout.INTERLEAVED

Stores vertex attributes in a single buffer view per mesh primitive. Interleaving vertex data may improve performance by reducing page-thrashing in GPU memory.

SEPARATE: import("/Users/donmccurdy/Documents/Projects/glTF-Transform/packages/core/src/constants").VertexLayout.SEPARATE

Stores each vertex attribute in a separate buffer view. May decrease performance by causing page-thrashing in GPU memory. Some 3D engines may prefer this layout, e.g. for simplicity.

Function symbol, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.