|
| CShaderProgramGLSL (CDevice *device, const CStr &name, const VfsPath &programPath, PS::span< const std::tuple< VfsPath, GLenum > > shaderStages, const CShaderDefines &defines, const std::map< CStrIntern, int > &vertexAttribs, int streamflags) |
|
| ~CShaderProgramGLSL () override |
|
bool | Link (const VfsPath &path) |
|
void | Bind (CShaderProgram *previousShaderProgram) override |
| Binds the shader into the GL context. More...
|
|
void | Unbind () override |
| Unbinds the shader from the GL context. More...
|
|
IDevice * | GetDevice () override |
|
int32_t | GetBindingSlot (const CStrIntern name) const override |
|
TextureUnit | GetTextureUnit (const int32_t bindingSlot) override |
|
void | SetUniform (const int32_t bindingSlot, const float value) override |
|
void | SetUniform (const int32_t bindingSlot, const float valueX, const float valueY) override |
|
void | SetUniform (const int32_t bindingSlot, const float valueX, const float valueY, const float valueZ) override |
|
void | SetUniform (const int32_t bindingSlot, const float valueX, const float valueY, const float valueZ, const float valueW) override |
|
void | SetUniform (const int32_t bindingSlot, PS::span< const float > values) override |
|
void | VertexAttribPointer (const VertexAttributeStream stream, const Format format, const uint32_t offset, const uint32_t stride, const VertexAttributeRate rate, const void *data) override |
|
std::vector< VfsPath > | GetFileDependencies () const override |
|
| ~CShaderProgram () override |
|
virtual void | Bind (CShaderProgram *previousShaderProgram)=0 |
| Binds the shader into the GL context. More...
|
|
virtual void | Unbind ()=0 |
| Unbinds the shader from the GL context. More...
|
|
virtual TextureUnit | GetTextureUnit (const int32_t bindingSlot)=0 |
|
virtual void | SetUniform (const int32_t bindingSlot, const float value)=0 |
|
virtual void | SetUniform (const int32_t bindingSlot, const float valueX, const float valueY)=0 |
|
virtual void | SetUniform (const int32_t bindingSlot, const float valueX, const float valueY, const float valueZ)=0 |
|
virtual void | SetUniform (const int32_t bindingSlot, const float valueX, const float valueY, const float valueZ, const float valueW)=0 |
|
virtual void | SetUniform (const int32_t bindingSlot, PS::span< const float > values)=0 |
|
virtual void | VertexAttribPointer (const VertexAttributeStream stream, const Format format, const uint32_t offset, const uint32_t stride, const VertexAttributeRate rate, const void *data) |
|
bool | IsStreamActive (const VertexAttributeStream stream) const |
|
void | AssertPointersBound () |
| Checks that all the required vertex attributes have been set. More...
|
|
virtual int32_t | GetBindingSlot (const CStrIntern name) const =0 |
|
virtual std::vector< VfsPath > | GetFileDependencies () const =0 |
|
virtual | ~IDeviceObject () |
|
virtual IDevice * | GetDevice ()=0 |
|
T * | As () |
|