18#ifndef INCLUDED_RENDERER_BACKEND_PIPELINESTATE
19#define INCLUDED_RENDERER_BACKEND_PIPELINESTATE
114namespace ColorWriteMask
A holder for precompiled compute pipeline description.
Definition: PipelineState.h:207
virtual IShaderProgram * GetShaderProgram() const =0
Definition: IDeviceObject.h:33
A holder for precompiled graphics pipeline description.
Definition: PipelineState.h:198
virtual IShaderProgram * GetShaderProgram() const =0
IShaderProgram is a container for multiple shaders of different types.
Definition: IShaderProgram.h:81
#define REPLACE(what, with)
Definition: debug_stl.cpp:50
constexpr uint8_t RED
Definition: PipelineState.h:116
constexpr uint8_t BLUE
Definition: PipelineState.h:118
constexpr uint8_t ALPHA
Definition: PipelineState.h:119
constexpr uint8_t GREEN
Definition: PipelineState.h:117
StencilOp ParseStencilOp(const CStr &str)
Definition: PipelineState.cpp:68
CullMode ParseCullMode(const CStr &str)
Definition: PipelineState.cpp:135
CompareOp
Definition: CompareOp.h:32
BlendFactor ParseBlendFactor(const CStr &str)
Definition: PipelineState.cpp:84
PolygonMode
Definition: PipelineState.h:136
FrontFace ParseFrontFace(const CStr &str)
Definition: PipelineState.cpp:147
PolygonMode ParsePolygonMode(const CStr &str)
Definition: PipelineState.cpp:125
StencilOp
Definition: PipelineState.h:35
FrontFace
Definition: PipelineState.h:149
SGraphicsPipelineStateDesc MakeDefaultGraphicsPipelineStateDesc()
Definition: PipelineState.cpp:30
BlendOp
Definition: PipelineState.h:104
BlendFactor
Definition: PipelineState.h:81
@ ONE_MINUS_CONSTANT_ALPHA
@ ONE_MINUS_CONSTANT_COLOR
Backend
Definition: Backend.h:28
BlendOp ParseBlendOp(const CStr &str)
Definition: PipelineState.cpp:112
CullMode
Definition: PipelineState.h:142
Definition: VideoMode.h:29
Definition: PipelineState.h:123
CColor constant
Definition: PipelineState.h:131
BlendOp colorBlendOp
Definition: PipelineState.h:127
BlendOp alphaBlendOp
Definition: PipelineState.h:130
uint8_t colorWriteMask
Definition: PipelineState.h:132
BlendFactor srcColorBlendFactor
Definition: PipelineState.h:125
BlendFactor dstColorBlendFactor
Definition: PipelineState.h:126
BlendFactor srcAlphaBlendFactor
Definition: PipelineState.h:128
bool enabled
Definition: PipelineState.h:124
BlendFactor dstAlphaBlendFactor
Definition: PipelineState.h:129
Definition: PipelineState.h:175
IShaderProgram * shaderProgram
Definition: PipelineState.h:178
Definition: PipelineState.h:66
uint32_t stencilWriteMask
Definition: PipelineState.h:72
bool stencilTestEnabled
Definition: PipelineState.h:70
bool depthTestEnabled
Definition: PipelineState.h:67
uint32_t stencilReference
Definition: PipelineState.h:73
uint32_t stencilReadMask
Definition: PipelineState.h:71
SStencilOpState stencilFrontFace
Definition: PipelineState.h:74
bool depthWriteEnabled
Definition: PipelineState.h:69
CompareOp depthCompareOp
Definition: PipelineState.h:68
SStencilOpState stencilBackFace
Definition: PipelineState.h:75
Definition: PipelineState.h:165
IShaderProgram * shaderProgram
Definition: PipelineState.h:168
SRasterizationStateDesc rasterizationState
Definition: PipelineState.h:171
SBlendStateDesc blendState
Definition: PipelineState.h:170
SDepthStencilStateDesc depthStencilState
Definition: PipelineState.h:169
Definition: PipelineState.h:155
bool depthBiasEnabled
Definition: PipelineState.h:159
CullMode cullMode
Definition: PipelineState.h:157
float depthBiasSlopeFactor
Definition: PipelineState.h:161
FrontFace frontFace
Definition: PipelineState.h:158
float depthBiasConstantFactor
Definition: PipelineState.h:160
PolygonMode polygonMode
Definition: PipelineState.h:156
Definition: PipelineState.h:58
StencilOp depthFailOp
Definition: PipelineState.h:61
StencilOp passOp
Definition: PipelineState.h:60
StencilOp failOp
Definition: PipelineState.h:59
CompareOp compareOp
Definition: PipelineState.h:62
unsigned int uint32_t
Definition: wposix_types.h:53
unsigned char uint8_t
Definition: wposix_types.h:51