Contents

struct

SushiEngine::Simulation::RenderInstance

One drawable object extracted from the world: identity, transform, colour.

Declared in
engine/world/simulation/include/SushiEngine/simulation/render_parameters.hpp

Properties

id

The entity this instance draws, for picking.

model

Object-to-world transform composed from the entity's state.

color

Base colour, for anything that tints per entity.

previous_position

Holds this instance's world position and orientation as of the previous fixed step.

previous_rotation

See previous_position.

submesh_first

Where this instance's submeshes start in RenderScene::submeshes.

submesh_count

How many submeshes this instance draws.