33#ifndef DVD_BLENDING_PROPERTIES_H_
34#define DVD_BLENDING_PROPERTIES_H_
Handle console commands that start with a forward slash.
size_t GetHash(const PropertyDescriptor< T > &descriptor) noexcept
BlendProperty
Specifies how the red, green, blue, and alpha source blending factors are computed.
BlendOperation
Specifies how source and destination colours are combined.
@ COUNT
Place all properties above this.
constexpr auto to_base(const Type value) -> Type
bool operator==(const BlendingSettings &) const =default
PROPERTY_RW(BlendProperty, blendDest, BlendProperty::ZERO)
PROPERTY_RW(bool, enabled, false)
PROPERTY_RW(BlendOperation, blendOpAlpha, BlendOperation::COUNT)
PROPERTY_RW(BlendOperation, blendOp, BlendOperation::ADD)
PROPERTY_RW(BlendProperty, blendSrcAlpha, BlendProperty::ONE)
PROPERTY_RW(BlendProperty, blendSrc, BlendProperty::ONE)
PROPERTY_RW(BlendProperty, blendDestAlpha, BlendProperty::ZERO)
bool operator==(const RTBlendStates &) const =default
std::array< BlendingSettings, to_base(RTColourAttachmentSlot::COUNT)> _settings