Struct Program::Data

Nested Relationships

This struct is a nested type of Class Program.

Struct Documentation

struct Data

Public Functions

void destroy()

Public Members

std::vector<Shader> shaders
unsigned int program = 0
std::thread::id linkedThread = {}
bool inPostponedDestructionQueue = false
std::unordered_map<std::string, int> uniforms

OpenGL Uniforms/attribs defined by the user as inputs/outputs in shader code.

See also

declareUniform(), declareAttribute();

std::unordered_map<std::string, int> attribs