Hubris Engine Dev
A Project to learn and get into Game Engine developement.
 
Loading...
Searching...
No Matches
Hubris::Graphics::Shader Class Referenceabstract

#include <Shader.h>

+ Inheritance diagram for Hubris::Graphics::Shader:

Public Member Functions

virtual void Destroy () noexcept=0
 
virtual bool Valid () const noexcept
 Override if you have an implementation specific validation method, this simply checks if the stage is not ShaderStage::Unknown.
 

Static Public Member Functions

static Handle< ShaderCreate (const std::vector< char > &data, ShaderStage type)
 

Protected Member Functions

 Shader (const ShaderStage &type) noexcept
 

Protected Attributes

ShaderStage stage = ShaderStage::Unknown
 

Detailed Description

Definition at line 40 of file Shader.h.

Constructor & Destructor Documentation

◆ Shader()

Hubris::Graphics::Shader::Shader ( const ShaderStage & type)
inlineprotectednoexcept

Definition at line 43 of file Shader.h.

+ Here is the caller graph for this function:

Member Function Documentation

◆ Create()

Handle< Graphics::Shader > Graphics::Shader::Create ( const std::vector< char > & data,
ShaderStage type )
static

Definition at line 7 of file Shader.cpp.

◆ Destroy()

virtual void Hubris::Graphics::Shader::Destroy ( )
pure virtualnoexcept

◆ Valid()

virtual bool Hubris::Graphics::Shader::Valid ( ) const
inlinevirtualnoexcept

Override if you have an implementation specific validation method, this simply checks if the stage is not ShaderStage::Unknown.

Definition at line 49 of file Shader.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ stage

ShaderStage Hubris::Graphics::Shader::stage = ShaderStage::Unknown
protected

Definition at line 42 of file Shader.h.


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