My Project
 
Loading...
Searching...
No Matches
graphics_engine::types Namespace Reference

Typedefs

template<typename T >
using Expected = std::expected< T, std::error_code >
 
using ShaderSourceMap = std::unordered_map< gl_types::GLShaderType, std::string >
 

Enumerations

enum class  ErrorCode : std::uint8_t {
  kGladLoadGL = 1 , kGLError , kGLErrorInvalidEnum , kGLErrorInvalidOperation ,
  kGLErrorInvalidValue , kGLErrorOutOfMemory , kInvalidShaderType , kSceneInitFailure ,
  kShaderError , kStbErrorLoad , kStbErrorWritePng , kNumErrorCodes
}
 

Typedef Documentation

◆ Expected

template<typename T >
using graphics_engine::types::Expected = typedef std::expected<T, std::error_code>

◆ ShaderSourceMap

using graphics_engine::types::ShaderSourceMap = typedef std::unordered_map<gl_types::GLShaderType, std::string>

Enumeration Type Documentation

◆ ErrorCode

enum class graphics_engine::types::ErrorCode : std::uint8_t
strong
Enumerator
kGladLoadGL 
kGLError 
kGLErrorInvalidEnum 
kGLErrorInvalidOperation 
kGLErrorInvalidValue 
kGLErrorOutOfMemory 
kInvalidShaderType 
kSceneInitFailure 
kShaderError 
kStbErrorLoad 
kStbErrorWritePng 
kNumErrorCodes