CPP-TOOLBOX
Loading...
Searching...
No Matches
draw_info::IVPNColor Class Reference

#include <draw_info.hpp>

Public Member Functions

 IVPNColor (IVPNormals ivpn, glm::vec3 color)
 
 IVPNColor (IVPNormals ivpn, std::vector< glm::vec3 > rgb_colors)
 
 IVPNColor (std::vector< unsigned int > indices, std::vector< glm::vec3 > xyz_positions, std::vector< glm::vec3 > normals, std::vector< glm::vec3 > colors, int id=-1)
 

Public Attributes

Transform transform
 
int id
 
std::vector< unsigned int > indices
 
std::vector< glm::vec3 > xyz_positions
 
std::vector< glm::vec3 > normals
 
std::vector< glm::vec3 > rgb_colors
 
BufferModificationTracker buffer_modification_tracker
 

Friends

std::ostream & operator<< (std::ostream &os, const IVPNColor &ivp)
 

Constructor & Destructor Documentation

◆ IVPNColor() [1/3]

draw_info::IVPNColor::IVPNColor ( IVPNormals ivpn,
glm::vec3 color )
inline

◆ IVPNColor() [2/3]

draw_info::IVPNColor::IVPNColor ( IVPNormals ivpn,
std::vector< glm::vec3 > rgb_colors )
inline

◆ IVPNColor() [3/3]

draw_info::IVPNColor::IVPNColor ( std::vector< unsigned int > indices,
std::vector< glm::vec3 > xyz_positions,
std::vector< glm::vec3 > normals,
std::vector< glm::vec3 > colors,
int id = -1 )
inline

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const IVPNColor & ivp )
friend

Member Data Documentation

◆ buffer_modification_tracker

BufferModificationTracker draw_info::IVPNColor::buffer_modification_tracker

◆ id

int draw_info::IVPNColor::id

◆ indices

std::vector<unsigned int> draw_info::IVPNColor::indices

◆ normals

std::vector<glm::vec3> draw_info::IVPNColor::normals

◆ rgb_colors

std::vector<glm::vec3> draw_info::IVPNColor::rgb_colors

◆ transform

Transform draw_info::IVPNColor::transform

◆ xyz_positions

std::vector<glm::vec3> draw_info::IVPNColor::xyz_positions

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