A constructor defined in BBMOD_Mesh.gml
Implements BBMOD_IDestructible
new BBMOD_Mesh(_vertexFormat[, _model])
A mesh struct.
Name | Type | Description |
---|---|---|
_vertexFormat | Struct.BBMOD_VertexFormat |
The vertex format of the or undefined . |
_model | Struct.BBMOD_Model |
The model to which the mesh belongs or undefined . |
Name | Description |
---|---|
BboxMax | The maximum coordinate of the mesh's bounding box. Available since model version 3.1. Can be undefined . |
BboxMin | The minimum coordinate of the mesh's bounding box. Available since model version 3.1. Can be undefined . |
Frozen | If true then the mesh is frozen. |
MaterialIndex | An index of a material that the mesh uses. |
Model | The model to which the mesh belongs or undefined . |
PrimitiveType | The primitive type of the mesh. |
VertexBuffer | A vertex buffer. |
VertexFormat | The vertex format of the mesh. |
Name | Description |
---|---|
clone | Creates a clone of the mesh. |
copy | Copies mesh data into another mesh. |
destroy | Frees memory used by the struct. |
freeze | Freezes the mesh. This makes it render faster. |
from_buffer | Loads mesh data from a bufffer. |
render | Enqueues the mesh for rendering. |
submit | Immediately submits the mesh for rendering. |
to_buffer | Writes mesh data to a buffer. |
BBMOD_Model, BBMOD_VertexFormat
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.