Ocular Engine
|
Public Member Functions | |
virtual void | unload () override |
virtual void | bind () override |
virtual void | unbind () override |
Public Member Functions inherited from Ocular::Graphics::Shader | |
ShaderProgram * | getParent () const |
Public Member Functions inherited from Ocular::Core::Resource | |
Resource (File const &source) | |
virtual void | forceLoad () |
File | getSourceFile () const |
void | setSourceFile (File const &file) |
void | setIsInMemory (bool inMemory) |
bool | isInMemory () const |
void | setSize (uint64_t size) |
uint64_t | getSize () const |
ResourceType | getResourceType () const |
void | setName (std::string const &name) |
std::string const & | getName () const |
std::string const & | getMappingName () const |
void | setMappingName (std::string const &name) |
ResourceMetadata * | getMetadata () const |
void | setMetadata (ResourceMetadata *metadata) |
Additional Inherited Members | |
Protected Attributes inherited from Ocular::Graphics::Shader | |
ShaderProgram * | m_Parent |
Protected Attributes inherited from Ocular::Core::Resource | |
ResourceType | m_Type |
ResourceMetadata * | m_Metadata |
File | m_SourceFile |
bool | m_IsInMemory |
uint64_t | m_SizeInMemory |
std::string | m_Name |
std::string | m_MappingName |
|
overridevirtual |
Binds the shader and sets it as the active render shader.
Implements Ocular::Graphics::Shader.
Reimplemented in Ocular::Graphics::D3D11PostTessellationShader.
|
overridevirtual |
Unbinds the shader as the active render shader.
Implements Ocular::Graphics::Shader.
Reimplemented in Ocular::Graphics::D3D11PostTessellationShader.
|
overridevirtual |
Frees all memory used by this Resource.
Implements Ocular::Graphics::Shader.
Reimplemented in Ocular::Graphics::D3D11PostTessellationShader.