Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::ShaderCompileOutcome Struct Reference

Result returned by Shader::createEx when you need the raw driver log. More...

#include <Shader.hpp>

Public Attributes

Unique< Shader > shader
ShaderStageFailure failedStage = ShaderStageFailure::None
std::string log

Detailed Description

Result returned by Shader::createEx when you need the raw driver log.

On success shader is non-null and failedStage == None. On failure shader is null, failedStage identifies which step rejected the source, and log carries the GL info log verbatim (ready to feed into ShaderParser::remapCompilerLog).

Definition at line 62 of file Shader.hpp.

Member Data Documentation

◆ failedStage

ShaderStageFailure esengine::ShaderCompileOutcome::failedStage = ShaderStageFailure::None

Definition at line 64 of file Shader.hpp.

Referenced by esengine::Shader::createEx().

◆ log

std::string esengine::ShaderCompileOutcome::log

Definition at line 65 of file Shader.hpp.

Referenced by esengine::Shader::createEx().

◆ shader

Unique<Shader> esengine::ShaderCompileOutcome::shader

Definition at line 63 of file Shader.hpp.

Referenced by esengine::Shader::createEx().


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/renderer/rhi/Shader.hpp