ngfx::GraphicsPipeline::State
Public Attributes
Name | |
---|---|
PrimitiveTopology | primitiveTopology |
PolygonMode | polygonMode |
bool | blendEnable |
BlendFactor | srcColorBlendFactor |
BlendFactor | dstColorBlendFactor |
BlendFactor | srcAlphaBlendFactor |
BlendFactor | dstAlphaBlendFactor |
BlendOp | colorBlendOp |
BlendOp | alphaBlendOp |
uint8_t | colorWriteMask |
CullModeFlags | cullModeFlags |
FrontFace | frontFace |
float | lineWidth |
bool | depthTestEnable |
bool | depthWriteEnable |
RenderPass * | renderPass |
uint32_t | numSamples |
uint32_t | numColorAttachments |
Public Attributes Documentation
variable primitiveTopology
PrimitiveTopology primitiveTopology = PRIMITIVE_TOPOLOGY_TRIANGLE_LIST;
variable polygonMode
PolygonMode polygonMode = POLYGON_MODE_FILL;
variable blendEnable
bool blendEnable = false;
variable srcColorBlendFactor
BlendFactor srcColorBlendFactor = BLEND_FACTOR_SRC_ALPHA;
variable dstColorBlendFactor
BlendFactor dstColorBlendFactor = BLEND_FACTOR_ONE_MINUS_SRC_ALPHA;
variable srcAlphaBlendFactor
BlendFactor srcAlphaBlendFactor = BLEND_FACTOR_SRC_ALPHA;
variable dstAlphaBlendFactor
BlendFactor dstAlphaBlendFactor = BLEND_FACTOR_ONE_MINUS_SRC_ALPHA;
variable colorBlendOp
BlendOp colorBlendOp = BLEND_OP_ADD;
variable alphaBlendOp
BlendOp alphaBlendOp = BLEND_OP_ADD;
variable colorWriteMask
uint8_t colorWriteMask = COLOR_COMPONENT_R_BIT | COLOR_COMPONENT_G_BIT |
COLOR_COMPONENT_B_BIT | COLOR_COMPONENT_A_BIT;
variable cullModeFlags
CullModeFlags cullModeFlags = CULL_MODE_BACK_BIT;
variable frontFace
FrontFace frontFace = FRONT_FACE_COUNTER_CLOCKWISE;
variable lineWidth
float lineWidth = 1.0f;
variable depthTestEnable
bool depthTestEnable = false;
variable depthWriteEnable
bool depthWriteEnable = false;
variable renderPass
RenderPass * renderPass = nullptr;
variable numSamples
uint32_t numSamples = 1;
variable numColorAttachments
uint32_t numColorAttachments = 1;
Updated on 3 April 2021 at 20:21:51 PDT