VertexFormat
A vertex format defines what attributes make up a vertex. A VertexFormat can be provided to a Geometry to request that certain properties be computed, e.g., just position, position and normal, etc.
// Create a vertex format with position and 2D texture coordinate attributes.
const format = new VertexFormat({
position : true,
st : true
});
Content copied to clipboard
Parameters
options
An object with boolean properties corresponding to VertexFormat properties as shown in the code example.