opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
blending_equation.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
5namespace osc
6{
7 // when `Material::is_transparent()` is `true`, this is the equation that is
8 // used by the graphics backend to blend the source fragment's color, which
9 // is written by the `Shader` and scaled by `SourceBlendingFactor`, with
10 // the destination fragment's color, which is present in the `RenderTarget`'s
11 // `RenderTargetColorAttachment`s and scaled by `DestinationBlendingFactor`
13 Add,
14 Min,
15 Max,
17
18 Default = Add,
19 };
20}
Definition custom_decoration_generator.h:5
BlendingEquation
Definition blending_equation.h:12
constexpr U to(T &&value)
Definition conversion.h:56