11#ifndef JAU_GAMP_GRAPH_RENDERMODE_HPP_
12#define JAU_GAMP_GRAPH_RENDERMODE_HPP_
20 using namespace jau::enums;
constexpr bool has_any(const E mask, const E bits) noexcept
#define JAU_MAKE_BITFIELD_ENUM_STRING(type,...)
constexpr bool is_set(const E mask, const E bits) noexcept
constexpr bool hasLight0(RenderMode m) noexcept
constexpr bool hasNormalChannel(RenderMode m) noexcept
RenderMode
Render mode bits being part of the shader-selection-key.
constexpr bool isGraphAA(RenderMode renderMode) noexcept
Returns true if given renderModes has any of RenderMode::aa_mask set.
constexpr bool isMSAA(RenderMode renderMode) noexcept
Returns true if given renderModes has RenderMode::msaa set.
constexpr bool isTwoPass(RenderMode renderMode) noexcept
Returns true if given renderModes has any of RenderMode::aa_mask set.
constexpr bool hasColorChannel(RenderMode m) noexcept
constexpr bool isVBAA(RenderMode renderMode) noexcept
Returns true if given renderModes has RenderMode::vbaa set.
constexpr bool hasVariableWeight(RenderMode renderMode) noexcept
constexpr bool hasColorTexture(RenderMode renderMode) noexcept
Returns true if render mode has a color texture, i.e.
@ light0
Enable light0, implies normalchannel.
@ varweight
Use non uniform weights [0.0 .
@ aa_mask
2-pass rendering bit-mask including RenderBits::msaa and RenderBits::vbaa.
@ msaa
MSAA based Anti-Aliasing, a two pass region rendering, slower and more resource hungry (FBO with samp...
@ vbaa
View based Anti-Aliasing, a two pass region rendering, slower and more resource hungry (FBO),...
@ normalchannel
If set, a full normal channel attribute per vertex is added to the stream.
@ colorchannel
If set, a color channel attribute per vertex is added to the stream, otherwise static color can being...
@ colortexture
If set, a color texture is used to determine the color via TextureSequence passed to the implementati...