![]() |
vkmEngine 1.0.15
A C++ game engine · vkmengine.com
|
What one object is drawn with: its geometry, its material and its pose. More...
#include <render_objects.h>
Public Attributes | |
| MeshHandle | mesh |
| The Mesh component's handle, or the level an LOD component selected. | |
| uint32_t | skinCount = 0 |
| Bones in this object's slice of RenderView::skinMatrices. | |
| bool | waves = false |
| bool | viewmodel = false |
| A Viewmodel mesh seen through the eye: drawn through CameraData::viewmodelViewProjection. | |
| bool | fixed = false |
What one object is drawn with: its geometry, its material and its pose.
Pure handles; the backend resolves, sorts and batches them.
| uint32_t Vkm::Engine::ObjectDraw::skinCount = 0 |
Bones in this object's slice of RenderView::skinMatrices.
Zero means nothing poses it and it draws unskinned, i.e. in bind pose.
| bool Vkm::Engine::ObjectDraw::waves = false |
Its surface is the scene's ocean: a waves material, in a scene with an ocean. A skinned one is shaded as the water and not moved.
| bool Vkm::Engine::ObjectDraw::fixed = false |
A fixed mesh (Mesh::movable off) the cull can keep: while RenderObjects::fixedSerial holds, it is as it was.