6 This state controls blending of the final fragments into the target rendering
12 independent_blend_enable
13 If enabled, blend state is different for each render target, and
14 for each render target set in the respective member of the rt array.
15 If disabled, blend state is the same for all render targets, and only
16 the first member of the rt array contains valid data.
18 Enables logic ops. Cannot be enabled at the same time as blending, and
19 is always the same for all render targets.
21 The logic operation to use if logic ops are enabled. One of PIPE_LOGICOP.
23 Whether dithering is enabled.
25 Contains the per rendertarget blend state.
27 per rendertarget members
28 ------------------------
31 If blending is enabled, perform a blend calculation according to blend
32 functions and source/destination factors. Otherwise, the incoming fragment
33 color gets passed unmodified (but colormask still applies).
35 The blend function to use for rgb channels. One of PIPE_BLEND.
37 The blend source factor to use for rgb channels. One of PIPE_BLENDFACTOR.
39 The blend destination factor to use for rgb channels. One of PIPE_BLENDFACTOR.
41 The blend function to use for the alpha channel. One of PIPE_BLEND.
43 The blend source factor to use for the alpha channel. One of PIPE_BLENDFACTOR.
45 The blend destination factor to use for alpha channel. One of PIPE_BLENDFACTOR.
47 Bitmask of which channels to write. Combination of PIPE_MASK bits.