MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_alpha_blending()

void MayaFlux::Buffers::RenderProcessor::set_alpha_blending ( bool  enabled)

Toggle standard alpha blending.

Parameters
enabledtrue enables src_alpha/one_minus_src_alpha blending, false restores opaque.

Blending and depth are independent. Toggling blend never changes depth test or depth write; use enable_depth_test / disable_depth_test for that.

Definition at line 90 of file RenderProcessor.cpp.

91{
92 if (enabled) {
94 } else {
96 }
97}
void disable_alpha_blending()
Disable blending on the color attachment, restoring opaque writes.
void enable_alpha_blending()
Enable standard alpha blending (src_alpha, one_minus_src_alpha).

References disable_alpha_blending(), and enable_alpha_blending().

+ Here is the call graph for this function: