GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
shaders.hpp File Reference

Go to the source code of this file.

Classes

struct  grem::graphics::BlendState
 Blend state used in a ShaderPipelineOptions. More...
struct  grem::graphics::ShaderPipelineOptions
 Configuration of a graphics pipeline. More...
struct  grem::graphics::ShaderCompilationOptions
 Options for compiling shader code. More...
struct  grem::graphics::VertexShaderOptions
 Configuration options for loading a VertexShader. More...
struct  grem::graphics::FragmentShaderOptions
 Configuration options for loading a FragmentShader. More...
class  grem::graphics::VertexShader< graphics::Mesh< Vertex, Index, Parameters, Instance >, Constants, Outputs, Buffers... >
class  grem::graphics::FragmentShader< graphics::Mesh< Vertex, Index, Parameters, Instance >, Inputs, Constants, Outputs, Buffers... >
class  grem::graphics::ShaderPipeline< Mesh >
 Linked GPU shader pipeline. More...

Namespaces

namespace  grem
namespace  grem::graphics

Enumerations

enum class  grem::graphics::DepthBufferMode : uint8_t { grem::graphics::NONE , grem::graphics::USE_DEPTH_TEST , grem::graphics::USE_DEPTH_TEST_READ_ONLY }
 Backend-specific implementation of ShaderPipeline. More...
enum class  grem::graphics::DepthTestPredicate : uint8_t {
  grem::graphics::NEVER_PASS , grem::graphics::LESS , grem::graphics::LESS_OR_EQUAL , grem::graphics::GREATER ,
  grem::graphics::GREATER_OR_EQUAL , grem::graphics::EQUAL , grem::graphics::NOT_EQUAL , grem::graphics::ALWAYS_PASS
}
 Depth test predicate used in a ShaderPipelineOptions. More...
enum class  grem::graphics::StencilBufferMode : uint8_t { grem::graphics::NONE , grem::graphics::USE_STENCIL_TEST }
 Stencil buffer mode used in a ShaderPipelineOptions. More...
enum class  grem::graphics::StencilTestPredicate : uint8_t {
  grem::graphics::NEVER_PASS , grem::graphics::LESS , grem::graphics::LESS_OR_EQUAL , grem::graphics::GREATER ,
  grem::graphics::GREATER_OR_EQUAL , grem::graphics::EQUAL , grem::graphics::NOT_EQUAL , grem::graphics::ALWAYS_PASS
}
 Stencil test predicate used in a ShaderPipelineOptions. More...
enum class  grem::graphics::StencilBufferOperation : uint8_t {
  grem::graphics::KEEP , grem::graphics::SET_TO_ZERO , grem::graphics::REPLACE , grem::graphics::INCREMENT_AND_CLAMP ,
  grem::graphics::INCREMENT_AND_WRAP , grem::graphics::DECREMENT_AND_CLAMP , grem::graphics::DECREMENT_AND_WRAP , grem::graphics::BITWISE_INVERT
}
 Operation to perform after evaluating the stencil test in a ShaderPipelineOptions. More...
enum class  grem::graphics::PrimitiveType : uint8_t {
  grem::graphics::POINTS , grem::graphics::LINES , grem::graphics::LINE_STRIP , grem::graphics::TRIANGLES ,
  grem::graphics::TRIANGLE_STRIP
}
 Graphical primitive type formed by mesh vertices, used in a ShaderPipelineOptions. More...
enum class  grem::graphics::PolygonMode : uint8_t { grem::graphics::POINT , grem::graphics::LINE , grem::graphics::FILL }
 Polygon mode used in a ShaderPipelineOptions. More...
enum class  grem::graphics::FaceCullingMode : uint8_t { grem::graphics::NONE , grem::graphics::CULL_BACK_FACES , grem::graphics::CULL_FRONT_FACES , grem::graphics::CULL_FRONT_AND_BACK_FACES }
 Face culling mode used in a ShaderPipelineOptions. More...
enum class  grem::graphics::FrontFace : uint8_t { grem::graphics::COUNTERCLOCKWISE , grem::graphics::CLOCKWISE }
 Front face winding order used in a ShaderPipelineOptions. More...
enum class  grem::graphics::BlendFactor : uint8_t {
  grem::graphics::ZERO , grem::graphics::ONE , grem::graphics::SOURCE_COLOR , grem::graphics::ONE_MINUS_SOURCE_COLOR ,
  grem::graphics::DESTINATION_COLOR , grem::graphics::ONE_MINUS_DESTINATION_COLOR , grem::graphics::SOURCE_ALPHA , grem::graphics::ONE_MINUS_SOURCE_ALPHA ,
  grem::graphics::DESTINATION_ALPHA , grem::graphics::ONE_MINUS_DESTINATION__ALPHA , grem::graphics::CONSTANT_COLOR , grem::graphics::ONE_MINUS_CONSTANT_COLOR ,
  grem::graphics::CONSTANT_ALPHA , grem::graphics::ONE_MINUS_CONSTANT_ALPHA , grem::graphics::SOURCE_ALPHA_SATURATE
}
 Blend factor used in the BlendState of a ShaderPipelineOptions. More...
enum class  grem::graphics::BlendOperation : uint8_t {
  grem::graphics::ADD , grem::graphics::SUBTRACT , grem::graphics::REVERSE_SUBTRACT , grem::graphics::MIN ,
  grem::graphics::MAX
}
 Blend operation used in the BlendState of a ShaderPipelineOptions. More...