CG-Project2
Loading...
Searching...
No Matches
InstanceData Struct Reference

Data structure for instanced mesh rendering. It stores for each primitive its color and model matrix. More...

#include <System.hpp>

Public Attributes

unsigned int nspheres = 0
 spheres counter
std::vector< unsigned int > spheresIds {}
 spheres id
std::vector< glm::vec4 > spheresColor {}
 spheres color
std::vector< glm::mat4 > spheresModel {}
 spheres model matrix

Detailed Description

Data structure for instanced mesh rendering. It stores for each primitive its color and model matrix.


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