Ocular Engine
Ocular::Graphics::VertexShader Class Reference
Inheritance diagram for Ocular::Graphics::VertexShader:
Ocular::Graphics::Shader Ocular::Core::Resource Ocular::Graphics::D3D11VertexShader

Public Member Functions

virtual void unload () override
 
virtual void bind () override
 
virtual void unbind () override
 
- Public Member Functions inherited from Ocular::Graphics::Shader
ShaderProgramgetParent () 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)
 
ResourceMetadatagetMetadata () const
 
void setMetadata (ResourceMetadata *metadata)
 

Additional Inherited Members

- Protected Attributes inherited from Ocular::Graphics::Shader
ShaderProgramm_Parent
 
- Protected Attributes inherited from Ocular::Core::Resource
ResourceType m_Type
 
ResourceMetadatam_Metadata
 
File m_SourceFile
 
bool m_IsInMemory
 
uint64_t m_SizeInMemory
 
std::string m_Name
 
std::string m_MappingName
 

Member Function Documentation

void Ocular::Graphics::VertexShader::bind ( )
overridevirtual

Binds the shader and sets it as the active render shader.

Implements Ocular::Graphics::Shader.

Reimplemented in Ocular::Graphics::D3D11VertexShader.

void Ocular::Graphics::VertexShader::unbind ( )
overridevirtual

Unbinds the shader as the active render shader.

Implements Ocular::Graphics::Shader.

Reimplemented in Ocular::Graphics::D3D11VertexShader.

void Ocular::Graphics::VertexShader::unload ( )
overridevirtual

Frees all memory used by this Resource.

Implements Ocular::Graphics::Shader.

Reimplemented in Ocular::Graphics::D3D11VertexShader.


The documentation for this class was generated from the following files: