class
blendstatedescribes the blend operation (source/destination) per color component in the render operation.
constructors, destructors, conversion operators
Function documentation
core:: data:: material_t:: blendstate:: blendstate(bool enabled,
uint32_t binding,
core:: gfx:: blend_factor srcColorBlend,
core:: gfx:: blend_factor dstColorBlend,
core:: gfx:: blend_op colorBlendOp,
core:: gfx:: blend_factor srcAlphaBlend,
core:: gfx:: blend_factor dstAlphaBlend,
core:: gfx:: blend_op alphaBlendOp,
core:: gfx:: component_bits colorFlags = (core:: gfx:: component_bits:: r|core:: gfx:: component_bits:: g|core:: gfx:: component_bits:: b|core:: gfx:: component_bits:: a))
Parameters | |
---|---|
enabled in | is the blendstate active (true) or not (false). |
binding in | the binding location of the blend state. |
srcColorBlend in | the operation to apply to the RGB components when loading. |
dstColorBlend in | the operation to apply to the RGB components with our newly created color data. |
colorBlendOp in | the blend operation to apply to the RGB components. |
srcAlphaBlend in | the operation to apply to the A component when loading. |
dstAlphaBlend in | the operation to apply to the A component with our newly created alpha data. |
alphaBlendOp in | the blend operation to apply to the A component. |
colorFlags in | the color component masking flags to use. |