struct mrpt::opengl::Program::Data
Overview
#include <mrpt/opengl/Shader.h> struct Data { // fields std::vector<Shader> shaders; unsigned int program = 0; std::thread::id linkedThread {}; bool inPostponedDestructionQueue = false; std::unordered_map<std::string, int> uniforms; std::unordered_map<std::string, int> attribs; // methods void destroy(); };
Fields
std::unordered_map<std::string, int> uniforms
OpenGL Uniforms/attribs defined by the user as inputs/outputs in shader code.
See also: