AdvancedIncludes vertex positions, face indices, colors, UVs, and custom attributes within buffers, reducing the cost of passing all this data to the GPU. Can be shared between multiple Mesh objects.
OptionalroundWhether or not to round the x/y position.
OptionalshaderRepresents the vertex and fragment shaders that processes the geometry and runs on the GPU. Can be shared between multiple Mesh objects.
OptionalstateThe state of WebGL required to render the mesh.
OptionaltextureThe texture that the Mesh uses. Null for non-MeshMaterial shaders
Options for creating a Mesh instance.