|
|
|
|
48
|
void setParameter( std::string name, glm::vec2 foo );
|
48
|
void setParameter( std::string name, glm::vec2 foo );
|
49
|
void setAttribute( std::string name, unsigned int buffer, unsigned int stepsize );
|
49
|
void setAttribute( std::string name, unsigned int buffer, unsigned int stepsize );
|
50
|
private:
|
50
|
private:
|
51
|
- void loadFromFile( std::string vert, std::string frag );
|
|
|
52
|
- void loadFromMemory( std::string vert, std::string frag );
|
|
|
53
|
std::vector<unsigned int> activeAttributes;
|
51
|
std::vector<unsigned int> activeAttributes;
|
54
|
unsigned int getUniformLocation( std::string );
|
52
|
unsigned int getUniformLocation( std::string );
|
55
|
int compile( unsigned int shader, std::string& error );
|
53
|
int compile( unsigned int shader, std::string& error );
|