|
| Shader (const std::vector< std::pair< ShaderType, std::string > > &items, Build buildShader=Build::Yes) |
|
| Shader (const std::vector< std::pair< ShaderType, std::shared_ptr< const ShaderResource > > > &items, Build buildShader=Build::Yes) |
|
| Shader (std::vector< std::unique_ptr< ShaderObject > > &shaderObjects, Build buildShader=Build::Yes) |
|
| Shader (std::string_view fragmentFilename, Build buildShader=Build::Yes) |
|
| Shader (std::string_view vertexFilename, std::string_view fragmentFilename, Build buildShader=Build::Yes) |
|
| Shader (std::string_view vertexFilename, std::string_view geometryFilename, std::string_view fragmentFilename, Build buildShader=Build::Yes) |
|
| Shader (const Shader &rhs)=delete |
|
| Shader (Shader &&rhs) |
|
Shader & | operator= (const Shader &that)=delete |
|
Shader & | operator= (Shader &&that) |
|
void | link () |
|
void | build () |
|
bool | isReady () const |
|
void | invalidate () |
|
GLuint | getID () const |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
util::iter_range< iterator > | getShaderObjects () |
|
util::iter_range< const_iterator > | getShaderObjects () const |
|
const ShaderObject * | getShaderObject (ShaderType type) const |
|
ShaderObject * | getShaderObject (ShaderType type) |
|
const ShaderObject * | operator[] (ShaderType type) const |
|
ShaderObject * | operator[] (ShaderType type) |
|
const ShaderObject * | getVertexShaderObject () const |
|
const ShaderObject * | getGeometryShaderObject () const |
|
const ShaderObject * | getFragmentShaderObject () const |
|
const ShaderObject * | getComputeShaderObject () const |
|
const ShaderObject * | getTessellationControlShaderObject () const |
|
const ShaderObject * | getTessellationEvaluationShaderObject () const |
|
ShaderObject * | getVertexShaderObject () |
|
ShaderObject * | getGeometryShaderObject () |
|
ShaderObject * | getFragmentShaderObject () |
|
ShaderObject * | getComputeShaderObject () |
|
ShaderObject * | getTessellationControlShaderObject () |
|
ShaderObject * | getTessellationEvaluationShaderObject () |
|
void | setShaderObject (ShaderType type, std::shared_ptr< const ShaderResource > resource) |
|
void | setShaderObject (ShaderObject object) |
|
void | activate () |
|
void | deactivate () |
|
void | setUniform (std::string_view name, bool value) const |
|
void | setUniform (std::string_view name, std::span< const bool > values) const |
|
void | setUniform (std::string_view name, int value) const |
|
void | setUniform (std::string_view name, std::span< const int > values) const |
|
void | setUniform (std::string_view name, unsigned int value) const |
|
void | setUniform (std::string_view name, std::span< const unsigned int > values) const |
|
void | setUniform (std::string_view name, float value) const |
|
void | setUniform (std::string_view name, std::span< const float > values) const |
|
void | setUniform (std::string_view name, bvec2 value) const |
|
void | setUniform (std::string_view name, std::span< const bvec2 > values) const |
|
void | setUniform (std::string_view name, bvec3 value) const |
|
void | setUniform (std::string_view name, std::span< const bvec3 > values) const |
|
void | setUniform (std::string_view name, bvec4 value) const |
|
void | setUniform (std::string_view name, std::span< const bvec4 > values) const |
|
void | setUniform (std::string_view name, ivec2 value) const |
|
void | setUniform (std::string_view name, std::span< const ivec2 > values) const |
|
void | setUniform (std::string_view name, ivec3 value) const |
|
void | setUniform (std::string_view name, std::span< const ivec3 > values) const |
|
void | setUniform (std::string_view name, ivec4 value) const |
|
void | setUniform (std::string_view name, std::span< const ivec4 > values) const |
|
void | setUniform (std::string_view name, uvec2 value) const |
|
void | setUniform (std::string_view name, std::span< const uvec2 > values) const |
|
void | setUniform (std::string_view name, uvec3 value) const |
|
void | setUniform (std::string_view name, std::span< const uvec3 > values) const |
|
void | setUniform (std::string_view name, uvec4 value) const |
|
void | setUniform (std::string_view name, std::span< const uvec4 > values) const |
|
void | setUniform (std::string_view name, vec2 value) const |
|
void | setUniform (std::string_view name, std::span< const vec2 > values) const |
|
void | setUniform (std::string_view name, vec3 value) const |
|
void | setUniform (std::string_view name, std::span< const vec3 > values) const |
|
void | setUniform (std::string_view name, vec4 value) const |
|
void | setUniform (std::string_view name, std::span< const vec4 > values) const |
|
void | setUniform (std::string_view name, const mat2 &value) const |
|
void | setUniform (std::string_view name, std::span< const mat2 > values) const |
|
void | setUniform (std::string_view name, const mat3 &value) const |
|
void | setUniform (std::string_view name, std::span< const mat3 > values) const |
|
void | setUniform (std::string_view name, const mat4 &value) const |
|
void | setUniform (std::string_view name, std::span< const mat4 > values) const |
|
void | setUniform (std::string_view name, const TextureUnit &value) const |
|
void | setUniformWarningLevel (UniformWarning level) |
|
const BaseCallBack * | onReload (std::function< void()> callback) |
|
std::shared_ptr< std::function< void()> > | onReloadScoped (std::function< void()> callback) |
|
void | removeOnReload (const BaseCallBack *callback) |
|
void | setTransformFeedbackVaryings (std::span< const char * > varyings, GLenum bufferMode) |
|