Skip to main contentModule mesh
Source - Mesh2D
- High-level mesh with visibility, shader, transform, and draw mode.
- Mesh3D
- High-level mesh with visibility, shader, transform, and draw mode.
- MeshHandle
- Low-level OpenGL mesh handle wrapping VAO, VBO, IBO, and instance state.
- StorageBuffer
- A GPU-side shader storage buffer (SSBO) for compute or vertex pulling.
- create_index_buffer
- Creates an IBO (element array buffer) and returns its ID.
- create_mesh_buffer
- Creates a VAO + VBO pair and returns their IDs.
- fill_buffer
- Uploads data to a VBO (full buffer replace).
- fill_index_buffer
- Uploads index data to an IBO.
- resize_buffer
- Resizes a VBO without uploading data (contents become undefined).
- set_attr_layout
- Configures a vertex attribute pointer for the given layout.
- subfill_buffer
- Uploads data to a sub-range of a VBO.