Lines Matching full:program
22 #include "Program.h"
29 // Base program
32 Program::Program(const ProgramDescription& description, const char* vertex, const char* fragment) {
93 Program::~Program() {
95 // This would ideally happen after linking the program
108 int Program::addAttrib(const char* name) {
114 int Program::bindAttrib(const char* name, ShaderBindings bindingSlot) {
120 int Program::getAttrib(const char* name) {
128 int Program::addUniform(const char* name) {
134 int Program::getUniform(const char* name) {
142 GLuint Program::buildShader(const char* source, GLenum type) {
164 void Program::set(const mat4& projectionMatrix, const mat4& modelViewMatrix,
187 void Program::setColor(const float r, const float g, const float b, const float a) {
195 void Program::use() {
204 void Program::remove() {