opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
liboscar
graphics
blending_equation.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
namespace
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`
12
enum class
BlendingEquation
:
uint8_t
{
13
Add
,
14
Min
,
15
Max
,
16
NUM_OPTIONS
,
17
18
Default
=
Add
,
19
};
20
}
osc
Definition
custom_decoration_generator.h:5
osc::BlendingEquation
BlendingEquation
Definition
blending_equation.h:12
osc::BlendingEquation::Max
@ Max
osc::BlendingEquation::Min
@ Min
osc::BlendingEquation::NUM_OPTIONS
@ NUM_OPTIONS
osc::BlendingEquation::Add
@ Add
osc::to
constexpr U to(T &&value)
Definition
conversion.h:56
osc::OBJWriterFlag::Default
@ Default
Generated by
1.9.8