Name | Type | Description |
---|---|---|
args |
[MeshOptions<SHADER, GEOMETRY>] | [GEOMETRY, SHADER, unknown, unknown] |
Members
Includes 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.
Alias for shader.
Whether or not to round the x/y position of the mesh.
Represents the vertex and fragment shaders that processes the geometry and runs on the GPU. Can be shared between multiple Mesh objects.
The texture that the Mesh uses. Null for non-MeshMaterial shaders