|
| Shader (const ::Shader &shader) |
|
| Shader (const char *vsFileName, const char *fsFileName) |
|
| Shader (const Shader &)=delete |
|
| Shader (const std::string &vsFileName, const std::string &fsFileName) |
|
| Shader (Shader &&other) |
|
| Shader (unsigned int id, int *locs=nullptr) |
|
Shader & | BeginMode () |
| Begin custom shader drawing.
|
|
Shader & | EndMode () |
| End custom shader drawing (use default shader).
|
|
unsigned int | GetId () const |
| Retrieves the id value for the object. More...
|
|
int | GetLocation (const std::string &uniformName) const |
| Get shader uniform location. More...
|
|
int | GetLocationAttrib (const std::string &attribName) const |
| Get shader attribute location. More...
|
|
int * | GetLocs () const |
| Retrieves the locs value for the object. More...
|
|
bool | IsReady () const |
| Retrieves whether or not the shader is ready.
|
|
Shader & | operator= (const ::Shader &shader) |
|
Shader & | operator= (const Shader &)=delete |
|
Shader & | operator= (Shader &&other) |
|
void | SetId (unsigned int value) |
| Sets the id value for the object. More...
|
|
void | SetLocs (int *value) |
| Sets the locs value for the object. More...
|
|
Shader & | SetValue (int uniformLoc, const ::Matrix &mat) |
| Set shader uniform value (matrix 4x4) More...
|
|
Shader & | SetValue (int uniformLoc, const ::Texture2D &texture) |
| Set shader uniform value for texture. More...
|
|
Shader & | SetValue (int uniformLoc, const void *value, int uniformType) |
| Set shader uniform value. More...
|
|
Shader & | SetValue (int uniformLoc, const void *value, int uniformType, int count) |
| Set shader uniform value vector. More...
|
|
void | Unload () |
|
Shader type (generic)
Definition at line 14 of file Shader.hpp.