module
MeshAdds and manages RenderMesh components.
Settings
renderMeshPool.bucketCount
- number of buckets in the mesh pool (default:1024
).renderMeshPool.bucketSize
- maximum face count per bucket (default:1024
).
Dependencies
Files
- file mesh.hpp
- Component cubos::
engine:: RenderMesh. - file plugin.hpp
- Plugin entry point.
- file pool.hpp
- Resource cubos::
engine:: RenderMeshPool. - file vertex.hpp
- Struct cubos::engine::RenderMeshVeretx.
Classes
- struct cubos::engine::RenderMesh
- Component used to draw meshes stored in the vertex pool.
- class cubos::engine::RenderMeshPool
- Used to allocate render meshes, which can then be rendered using a single draw call.
- struct cubos::engine::RenderMeshVertex
- Vertex data type stored in the RenderMeshPool's vertex buffer.
Functions
-
auto renderMeshPlugin(Cubos& cubos) -> CUBOS_
ENGINE_ API void - Plugin entry function.
Function documentation
CUBOS_ ENGINE_ API void renderMeshPlugin(Cubos& cubos)
#include <engine/render/mesh/plugin.hpp>
Plugin entry function.
Parameters | |
---|---|
cubos | Cubos main class. |