Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
InstanceData Struct Reference

Represents per-instance model data for rendering. More...

#include <instanceData.hpp>

Public Attributes

glm::mat4 model
 Model transform matrix of the instance.
uint32_t materialID
 Identifier of the associated material.
uint32_t meshID
 Identifier of the associated mesh.
glm::vec4 color
 Instance color tint.

Detailed Description

Represents per-instance model data for rendering.

Structure containing transformation and ID parameters for a single renderable instance.

Member Data Documentation

◆ color

glm::vec4 InstanceData::color

Instance color tint.

◆ materialID

uint32_t InstanceData::materialID

Identifier of the associated material.

◆ meshID

uint32_t InstanceData::meshID

Identifier of the associated mesh.

◆ model

glm::mat4 InstanceData::model

Model transform matrix of the instance.

Transformation model matrix.


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