Struct BlendStateAttachment
Defined in File structures.h
Struct Documentation
-
struct BlendStateAttachment
API agnostic struct to represent blend state for a single attachment.
Public Members
-
bool blendEnable = {false}
-
BlendFactor srcBlend = {GPA_BLEND_ONE}
blend factor value to be apply to the source pixel's value
-
BlendFactor destBlend = {GPA_BLEND_ONE}
blend factor value to be apply to the destination pixel's value
-
BlendOp blendOp = {GPA_BLEND_OP_ADD}
The function to use when blending source and destination pixel values.
-
BlendFactor srcBlendAlpha = {GPA_BLEND_ONE}
blend factor value to be apply to the source pixel's alpha value
-
BlendFactor destBlendAlpha = {GPA_BLEND_ONE}
blend factor value to be apply to the destination pixel's alpha value
-
BlendOp blendOpAlpha = {GPA_BLEND_OP_ADD}
The function to use when blending source and destination pixel alpha values.
-
uint8_t colorWriteMask = {0}
Identifies the portion of the pixels to write to.
-
bool blendEnable = {false}