group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
EntityRenderCmd Struct Reference

Per-entity render command – built by Game, consumed by Renderer::drawFrame. More...

#include <RendererTypes.hpp>

Public Attributes

int32_t modelIndex = -1
 Index into Renderer::models[].
glm::mat4 worldTransform {1.0f}
 Full world transform (position × rotation × scale).

Detailed Description

Per-entity render command – built by Game, consumed by Renderer::drawFrame.

Member Data Documentation

◆ modelIndex

int32_t EntityRenderCmd::modelIndex = -1

Index into Renderer::models[].

◆ worldTransform

glm::mat4 EntityRenderCmd::worldTransform {1.0f}

Full world transform (position × rotation × scale).


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