ブレンドステート
More...
#include <BlendState.hpp>
|
constexpr SIV3D_NODISCARD_CXX20 | BlendState (bool _enable=true, Blend _src=Blend::SrcAlpha, Blend _dst=Blend::InvSrcAlpha, BlendOp _op=BlendOp::Add, Blend _srcAlpha=Blend::Zero, Blend _dstAlpha=Blend::One, BlendOp _opAlpha=BlendOp::Add, bool _alphaToCoverageEnable=false, bool _writeR=true, bool _writeG=true, bool _writeB=true, bool _writeA=true) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | BlendState (Predefined predefined) noexcept |
|
storage_type | asValue () const noexcept |
|
bool | operator== (const BlendState &other) const noexcept |
|
bool | operator!= (const BlendState &other) const noexcept |
|
◆ storage_type
◆ BlendState() [1/2]
constexpr SIV3D_NODISCARD_CXX20 s3d::BlendState::BlendState |
( |
bool |
_enable = true , |
|
|
Blend |
_src = Blend::SrcAlpha , |
|
|
Blend |
_dst = Blend::InvSrcAlpha , |
|
|
BlendOp |
_op = BlendOp::Add , |
|
|
Blend |
_srcAlpha = Blend::Zero , |
|
|
Blend |
_dstAlpha = Blend::One , |
|
|
BlendOp |
_opAlpha = BlendOp::Add , |
|
|
bool |
_alphaToCoverageEnable = false , |
|
|
bool |
_writeR = true , |
|
|
bool |
_writeG = true , |
|
|
bool |
_writeB = true , |
|
|
bool |
_writeA = true |
|
) |
| |
|
explicitconstexprnoexcept |
◆ BlendState() [2/2]
constexpr SIV3D_NODISCARD_CXX20 s3d::BlendState::BlendState |
( |
Predefined |
predefined | ) |
|
|
constexprnoexcept |
◆ asValue()
◆ operator!=()
bool s3d::BlendState::operator!= |
( |
const BlendState & |
other | ) |
const |
|
noexcept |
◆ operator==()
bool s3d::BlendState::operator== |
( |
const BlendState & |
other | ) |
const |
|
noexcept |
◆ Additive
constexpr Predefined s3d::BlendState::Additive = Predefined::Additive |
|
staticconstexpr |
◆ AdditiveRGB
constexpr Predefined s3d::BlendState::AdditiveRGB = Predefined::AdditiveRGB |
|
staticconstexpr |
◆ alphaToCoverageEnable
bool s3d::BlendState::alphaToCoverageEnable |
◆ Default2D
constexpr Predefined s3d::BlendState::Default2D = Predefined::Default2D |
|
staticconstexpr |
◆ Default3D
constexpr Predefined s3d::BlendState::Default3D = Predefined::Default3D |
|
staticconstexpr |
◆ dst
Blend s3d::BlendState::dst |
◆ dstAlpha
Blend s3d::BlendState::dstAlpha |
◆ enable
bool s3d::BlendState::enable |
◆ MaxAlpha
constexpr Predefined s3d::BlendState::MaxAlpha = Predefined::MaxAlpha |
|
staticconstexpr |
◆ Multiplicative
constexpr Predefined s3d::BlendState::Multiplicative = Predefined::Multiplicative |
|
staticconstexpr |
◆ Multiplicative2X
constexpr Predefined s3d::BlendState::Multiplicative2X = Predefined::Multiplicative2X |
|
staticconstexpr |
◆ NonPremultiplied
constexpr Predefined s3d::BlendState::NonPremultiplied = Predefined::NonPremultiplied |
|
staticconstexpr |
◆ op
◆ opAlpha
◆ Opaque
constexpr Predefined s3d::BlendState::Opaque = Predefined::Opaque |
|
staticconstexpr |
◆ OpaqueAlphaToCoverage
constexpr Predefined s3d::BlendState::OpaqueAlphaToCoverage = Predefined::OpaqueAlphaToCoverage |
|
staticconstexpr |
◆ Premultiplied
constexpr Predefined s3d::BlendState::Premultiplied = Predefined::Premultiplied |
|
staticconstexpr |
◆ src
Blend s3d::BlendState::src |
◆ srcAlpha
Blend s3d::BlendState::srcAlpha |
◆ Subtractive
constexpr Predefined s3d::BlendState::Subtractive = Predefined::Subtractive |
|
staticconstexpr |
◆ writeA
bool s3d::BlendState::writeA |
◆ writeB
bool s3d::BlendState::writeB |
◆ writeG
bool s3d::BlendState::writeG |
◆ writeR
bool s3d::BlendState::writeR |
The documentation for this struct was generated from the following file: