libdonut  2.3.2
Application framework for cross-platform game development in C++20
Classes | Namespaces | Enumerations
ShaderConfiguration.hpp File Reference
#include <compare>
#include <cstdint>

Go to the source code of this file.

Classes

struct  donut::graphics::ShaderConfiguration
 Base configuration options for a shader. More...
 

Namespaces

 donut
 
 donut::graphics
 

Enumerations

enum class  donut::graphics::DepthBufferMode : std::uint8_t { donut::graphics::IGNORE , donut::graphics::USE_DEPTH_TEST }
 Depth buffer mode used in a ShaderConfiguration. More...
 
enum class  donut::graphics::DepthTestPredicate : std::uint32_t {
  donut::graphics::NEVER_PASS = 0x0200 , donut::graphics::LESS = 0x0201 , donut::graphics::LESS_OR_EQUAL = 0x0203 , donut::graphics::GREATER = 0x0204 ,
  donut::graphics::GREATER_OR_EQUAL = 0x0206 , donut::graphics::EQUAL = 0x0202 , donut::graphics::NOT_EQUAL = 0x0205 , donut::graphics::ALWAYS_PASS = 0x0207
}
 Depth test predicate used in a ShaderConfiguration. More...
 
enum class  donut::graphics::StencilBufferMode : std::uint8_t { donut::graphics::IGNORE , donut::graphics::USE_STENCIL_TEST }
 Stencil buffer mode used in a ShaderConfiguration. More...
 
enum class  donut::graphics::StencilTestPredicate : std::uint32_t {
  donut::graphics::NEVER_PASS = 0x0200 , donut::graphics::LESS = 0x0201 , donut::graphics::LESS_OR_EQUAL = 0x0203 , donut::graphics::GREATER = 0x0204 ,
  donut::graphics::GREATER_OR_EQUAL = 0x0206 , donut::graphics::EQUAL = 0x0202 , donut::graphics::NOT_EQUAL = 0x0205 , donut::graphics::ALWAYS_PASS = 0x0207
}
 Stencil test predicate used in a ShaderConfiguration. More...
 
enum class  donut::graphics::StencilBufferOperation : std::uint32_t {
  donut::graphics::KEEP = 0x1E00 , donut::graphics::SET_TO_ZERO = 0 , donut::graphics::REPLACE = 0x1E01 , donut::graphics::INCREMENT_CLAMP = 0x1E02 ,
  donut::graphics::INCREMENT_WRAP = 0x8507 , donut::graphics::DECREMENT_CLAMP = 0x1E03 , donut::graphics::DECREMENT_WRAP = 0x8508 , donut::graphics::BITWISE_INVERT = 0x150A
}
 Operation to perform after evaluating the stencil test in a ShaderConfiguration. More...
 
enum class  donut::graphics::FaceCullingMode : std::uint8_t { donut::graphics::IGNORE , donut::graphics::CULL_BACK_FACES , donut::graphics::CULL_FRONT_FACES , donut::graphics::CULL_FRONT_AND_BACK_FACES }
 Face culling mode used in a ShaderConfiguration. More...
 
enum class  donut::graphics::FrontFace : std::uint32_t { donut::graphics::CLOCKWISE = 0x0900 , donut::graphics::COUNTERCLOCKWISE = 0x0901 }
 Front face used in a ShaderConfiguration. More...
 
enum class  donut::graphics::AlphaMode : std::uint8_t { donut::graphics::IGNORE , donut::graphics::USE_ALPHA_BLENDING }
 Alpha mode used in a ShaderConfiguration. More...