sead
Loading...
Searching...
No Matches
agl::Shader Class Referenceabstract

#include <aglShader.h>

Inherited by agl::FragmentShader, agl::GeometryShader, and agl::VertexShader.

Public Member Functions

 Shader ()
virtual ~Shader ()
virtual ShaderType getShaderType () const =0
virtual ShaderMode getShaderMode () const
virtual u32 getRingItemSize () const
u32 setUp (bool compile_source, bool) const
void * getBinary ()
const void * getBinary () const
void setBinary (const void *binary)
ShaderCompileInfogetCompileInfo () const
void setCompileInfo (ShaderCompileInfo *compile_info) const

Private Attributes

const void * mBinary
ShaderCompileInfomCompileInfo

Constructor & Destructor Documentation

◆ Shader()

agl::Shader::Shader ( )

◆ ~Shader()

virtual agl::Shader::~Shader ( )
inlinevirtual

Member Function Documentation

◆ getShaderType()

virtual ShaderType agl::Shader::getShaderType ( ) const
pure virtual

◆ getShaderMode()

virtual ShaderMode agl::Shader::getShaderMode ( ) const
inlinevirtual

◆ getRingItemSize()

virtual u32 agl::Shader::getRingItemSize ( ) const
inlinevirtual

◆ setUp()

u32 agl::Shader::setUp ( bool compile_source,
bool  ) const

◆ getBinary() [1/2]

void * agl::Shader::getBinary ( )
inline

◆ getBinary() [2/2]

const void * agl::Shader::getBinary ( ) const
inline

◆ setBinary()

void agl::Shader::setBinary ( const void * binary)

◆ getCompileInfo()

ShaderCompileInfo * agl::Shader::getCompileInfo ( ) const
inline

◆ setCompileInfo()

void agl::Shader::setCompileInfo ( ShaderCompileInfo * compile_info) const
inline

Member Data Documentation

◆ mBinary

const void* agl::Shader::mBinary
private

◆ mCompileInfo

ShaderCompileInfo* agl::Shader::mCompileInfo
mutableprivate