Renderer · interface
MeshOptions
What a mesh needs to be told at creation that its geometry cannot say.
Explained in Hello world.
interface MeshOptionsimport type { MeshOptions } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
dynamicreadonlyoptional | boolean | Whether this mesh's positions will be rewritten with updateMesh.MoreCosts a |
dynamicColorsreadonlyoptional | boolean | Whether this mesh's colours will be rewritten with updateMeshColors.MoreCosts the colours as floats in a buffer of their own, twelve bytes a vertex where they might
have been sixteen bits or, for one colour every vertex shares, nothing at all. Independent of
|