Loading...
Searching...
No Matches
hellfire::InstancedRenderableComponent::InstanceData Struct Reference

#include <InstancedRenderableComponent.h>

Collaboration diagram for hellfire::InstancedRenderableComponent::InstanceData:

Public Member Functions

 InstanceData (const glm::mat4 &t=glm::mat4(1.0f), const glm::vec3 &c=glm::vec3(1.0f), float s=1.0f)
 

Public Attributes

glm::mat4 transform
 
glm::vec3 color
 
float scale
 

Detailed Description

Definition at line 26 of file InstancedRenderableComponent.h.

Constructor & Destructor Documentation

◆ InstanceData()

hellfire::InstancedRenderableComponent::InstanceData::InstanceData ( const glm::mat4 &  t = glm::mat4(1.0f),
const glm::vec3 &  c = glm::vec3(1.0f),
float  s = 1.0f 
)
inlineexplicit

Definition at line 31 of file InstancedRenderableComponent.h.

Member Data Documentation

◆ color

glm::vec3 hellfire::InstancedRenderableComponent::InstanceData::color

Definition at line 28 of file InstancedRenderableComponent.h.

◆ scale

float hellfire::InstancedRenderableComponent::InstanceData::scale

Definition at line 29 of file InstancedRenderableComponent.h.

◆ transform

glm::mat4 hellfire::InstancedRenderableComponent::InstanceData::transform

Definition at line 27 of file InstancedRenderableComponent.h.


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