vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::ObjectDraw Struct Reference

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.

Detailed Description

What one object is drawn with: its geometry, its material and its pose.

Pure handles; the backend resolves, sorts and batches them.

Member Data Documentation

◆ skinCount

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.


The documentation for this struct was generated from the following file: