sculpto
|
#include <shader.h>
Public Member Functions | |
virtual bool | SetBool (const std::string &Name, bool Value) const =0 |
virtual bool | SetFloat (const std::string &Name, float Value) const =0 |
virtual bool | SetFloat2 (const std::string &Name, const vec2 &Value) const =0 |
virtual bool | SetFloat3 (const std::string &Name, const vec3 &Value) const =0 |
virtual bool | SetFloat4 (const std::string &Name, const vec4 &Value) const =0 |
virtual bool | SetInt (const std::string &Name, int Value) const =0 |
virtual bool | SetInt2 (const std::string &Name, const ivec2 &Value) const =0 |
virtual bool | SetInt3 (const std::string &Name, const ivec3 &Value) const =0 |
virtual bool | SetInt4 (const std::string &Name, const ivec4 &Value) const =0 |
virtual bool | SetUInt (const std::string &Name, u32 Value) const =0 |
virtual bool | SetUInt2 (const std::string &Name, const uvec2 &Value) const =0 |
virtual bool | SetUInt3 (const std::string &Name, const uvec3 &Value) const =0 |
virtual bool | SetUInt4 (const std::string &Name, const uvec4 &Value) const =0 |
virtual bool | SetMatr3 (const std::string &Name, const matr3 &Value) const =0 |
virtual bool | SetMatr4 (const std::string &Name, const matr4 &Value) const =0 |
virtual bool | SetBool (int Location, bool Value) const =0 |
virtual bool | SetFloat (int Location, float Value) const =0 |
virtual bool | SetFloat2 (int Location, const vec2 &Value) const =0 |
virtual bool | SetFloat3 (int Location, const vec3 &Value) const =0 |
virtual bool | SetFloat4 (int Location, const vec4 &Value) const =0 |
virtual bool | SetInt (int Location, int Value) const =0 |
virtual bool | SetInt2 (int Location, const ivec2 &Value) const =0 |
virtual bool | SetInt3 (int Location, const ivec3 &Value) const =0 |
virtual bool | SetInt4 (int Location, const ivec4 &Value) const =0 |
virtual bool | SetUInt (int Location, u32 Value) const =0 |
virtual bool | SetUInt2 (int Location, const uvec2 &Value) const =0 |
virtual bool | SetUInt3 (int Location, const uvec3 &Value) const =0 |
virtual bool | SetUInt4 (int Location, const uvec4 &Value) const =0 |
virtual bool | SetMatr3 (int Location, const matr3 &Value) const =0 |
virtual bool | SetMatr4 (int Location, const matr4 &Value) const =0 |
shader_program (const std::string &DebugName) | |
virtual | ~shader_program ()=default |
virtual void | Bind () const =0 |
virtual void | Unbind () const =0 |
virtual void | Update (const std::vector< shader_props > &Shaders)=0 |
virtual void | Free ()=0 |
Static Public Member Functions | |
static shared< shader_program > | Create (const std::vector< shader_props > &Shaders, const std::string &DebugName) |
Public Attributes | |
std::string | SingleSourceFileName {} |
std::string | VertexShadersourceFileName {} |
std::string | GeometryShadersourceFileName {} |
std::string | PixelShadersourceFileName {} |
std::string | DebugName {} |
scl::shader_program::shader_program | ( | const std::string & | DebugName | ) |
|
virtualdefault |
Shader program default deatructor.
|
pure virtual |
None. |
Implemented in scl::gl_shader_program.
|
static |
Shaders | - shaders array. |
DubugName | - shader program debug name. |
Definition at line 16 of file shader.cpp.
|
pure virtual |
None. |
Implemented in scl::gl_shader_program.
|
pure virtual |
Saader program getter/setter functions.
Name | - unifrom variable name. |
Value | - unifrom variable name. |
Implemented in scl::gl_shader_program.
|
pure virtual |
Location | - platform specific shader variable location identifier. |
Value | - unifrom variable value. |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
Implemented in scl::gl_shader_program.
|
pure virtual |
None. |
Implemented in scl::gl_shader_program.
|
pure virtual |
Shaders | - shaders array. |
Implemented in scl::gl_shader_program.
std::string scl::shader_program::GeometryShadersourceFileName {} |
std::string scl::shader_program::PixelShadersourceFileName {} |
std::string scl::shader_program::SingleSourceFileName {} |
std::string scl::shader_program::VertexShadersourceFileName {} |