Interface: MeshOptions

MeshOptions

Properties:
Name Type Description
geometry GEOMETRY

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.

roundPixels boolean

Whether or not to round the x/y position.

shader SHADER

Represents the vertex and fragment shaders that processes the geometry and runs on the GPU. Can be shared between multiple Mesh objects.

state State

The state of WebGL required to render the mesh.

texture Texture

The texture that the Mesh uses. Null for non-MeshMaterial shaders

Extends

Members

geometry GEOMETRY

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.

roundPixels boolean

Whether or not to round the x/y position.

shader SHADER

Represents the vertex and fragment shaders that processes the geometry and runs on the GPU. Can be shared between multiple Mesh objects.

state State

The state of WebGL required to render the mesh.

texture Texture

The texture that the Mesh uses. Null for non-MeshMaterial shaders