Berserk
Public Member Functions | List of all members
ShaderArchetypeBase Class Referencefinal

Base shader type to draw a mesh on screen. More...

#include <ShaderArchetypeBase.hpp>

Inheritance diagram for ShaderArchetypeBase:
Inheritance graph
[legend]
Collaboration diagram for ShaderArchetypeBase:
Collaboration graph
[legend]

Public Member Functions

 ~ShaderArchetypeBase () override=default
 
const StringNameGetArchetype () const override
 
const std::vector< RHIShaderLanguage > & GetSupportedLanguages () const override
 
void DefineOptions (std::vector< ShaderOption > &options) const override
 
void DefineVariation (const ShaderCompileOptions &options, ShaderVariation &variation) override
 
void DefineFormat (const ShaderCompileOptions &options, MeshFormat &format) override
 
void Process (const InputData &inputData, OutputData &outputData) override
 
- Public Member Functions inherited from ShaderArchetype
virtual BRK_API ~ShaderArchetype ()=default
 
virtual BRK_API bool IsSupportedLanguage (RHIShaderLanguage language) const
 

Additional Inherited Members

- Static Public Attributes inherited from ShaderArchetype
static constexpr const char *const SHADER_PARAMS_BLOCK = BRK_TEXT("ShaderParams")
 

Detailed Description

Base shader type to draw a mesh on screen.

Constructor & Destructor Documentation

◆ ~ShaderArchetypeBase()

ShaderArchetypeBase::~ShaderArchetypeBase ( )
overridedefault

Member Function Documentation

◆ DefineFormat()

void ShaderArchetypeBase::DefineFormat ( const ShaderCompileOptions options,
MeshFormat format 
)
overridevirtual

Implements ShaderArchetype.

◆ DefineOptions()

void ShaderArchetypeBase::DefineOptions ( std::vector< ShaderOption > &  options) const
overridevirtual

Implements ShaderArchetype.

◆ DefineVariation()

void ShaderArchetypeBase::DefineVariation ( const ShaderCompileOptions options,
ShaderVariation variation 
)
overridevirtual

Implements ShaderArchetype.

◆ GetArchetype()

BRK_NS_BEGIN const StringName & ShaderArchetypeBase::GetArchetype ( ) const
overridevirtual

Implements ShaderArchetype.

◆ GetSupportedLanguages()

const std::vector< RHIShaderLanguage > & ShaderArchetypeBase::GetSupportedLanguages ( ) const
overridevirtual

Implements ShaderArchetype.

◆ Process()

void ShaderArchetypeBase::Process ( const InputData inputData,
ShaderArchetype::OutputData outputData 
)
overridevirtual

Implements ShaderArchetype.


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