Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
A wrapper for backend shader program to handle high-level operations like file reloading and handling errors on reload. More...
#include <ShaderProgram.h>
Public Member Functions | |
void | Reload () |
std::vector< VfsPath > | GetFileDependencies () const |
Renderer::Backend::IShaderProgram * | GetBackendShaderProgram () |
Static Public Member Functions | |
static CShaderProgramPtr | Create (Renderer::Backend::IDevice *device, const CStr &name, const CShaderDefines &defines) |
Protected Member Functions | |
CShaderProgram (Renderer::Backend::IDevice *device, const CStr &name, const CShaderDefines &defines) | |
Protected Attributes | |
Renderer::Backend::IDevice * | m_Device = nullptr |
CStr | m_Name |
CShaderDefines | m_Defines |
std::unique_ptr< Renderer::Backend::IShaderProgram > | m_BackendShaderProgram |
Private Member Functions | |
NONCOPYABLE (CShaderProgram) | |
A wrapper for backend shader program to handle high-level operations like file reloading and handling errors on reload.
|
protected |
|
static |
|
inline |
std::vector< VfsPath > CShaderProgram::GetFileDependencies | ( | ) | const |
|
private |
void CShaderProgram::Reload | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |