CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ShaderCompiler::Compiler Class Reference

#include <CeresEngine/Material/ShaderCompiler/Compiler.hpp>

Classes

struct  StageTimePoints
 

Public Types

using Time = std::chrono::system_clock
 
using TimePoint = std::chrono::time_point< std::chrono::system_clock >
 

Public Member Functions

 Compiler (Log *log=nullptr)
 
bool compileShader (const ShaderInput &inputDesc, const ShaderOutput &outputDesc, Reflection::ReflectionData *reflectionData=nullptr, StageTimePoints *stageTimePoints=nullptr)
 

Private Member Functions

bool returnWithError (const String &msg)
 
void warning (const String &msg)
 
void validateArguments (const ShaderInput &inputDesc, const ShaderOutput &outputDesc)
 
bool compileShaderPrimary (const ShaderInput &inputDesc, const ShaderOutput &outputDesc, Reflection::ReflectionData *reflectionData)
 

Private Attributes

LogmLog = nullptr
 
StageTimePoints mTimePoints
 

Member Typedef Documentation

◆ Time

◆ TimePoint

using CeresEngine::ShaderCompiler::Compiler::TimePoint = std::chrono::time_point<std::chrono::system_clock>

Constructor & Destructor Documentation

◆ Compiler()

CeresEngine::ShaderCompiler::Compiler::Compiler ( Log log = nullptr)
explicit

Member Function Documentation

◆ compileShader()

bool CeresEngine::ShaderCompiler::Compiler::compileShader ( const ShaderInput inputDesc,
const ShaderOutput outputDesc,
Reflection::ReflectionData reflectionData = nullptr,
StageTimePoints stageTimePoints = nullptr 
)

◆ compileShaderPrimary()

bool CeresEngine::ShaderCompiler::Compiler::compileShaderPrimary ( const ShaderInput inputDesc,
const ShaderOutput outputDesc,
Reflection::ReflectionData reflectionData 
)
private

◆ returnWithError()

bool CeresEngine::ShaderCompiler::Compiler::returnWithError ( const String msg)
private

◆ validateArguments()

void CeresEngine::ShaderCompiler::Compiler::validateArguments ( const ShaderInput inputDesc,
const ShaderOutput outputDesc 
)
private

◆ warning()

void CeresEngine::ShaderCompiler::Compiler::warning ( const String msg)
private

Member Data Documentation

◆ mLog

Log* CeresEngine::ShaderCompiler::Compiler::mLog = nullptr
private

◆ mTimePoints

StageTimePoints CeresEngine::ShaderCompiler::Compiler::mTimePoints
private

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