サンプラーステート
More...
#include <SamplerState.hpp>
|
constexpr SIV3D_NODISCARD_CXX20 | SamplerState (TextureAddressMode address, TextureFilter filter, uint8 _maxAnisotropy=1, float _lodBias=0.0f, Float4 _borderColor=Float4{ 0, 0, 0, 0 }) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | SamplerState (TextureAddressMode _addressU=TextureAddressMode::Clamp, TextureAddressMode _addressV=TextureAddressMode::Clamp, TextureAddressMode _addressW=TextureAddressMode::Clamp, TextureFilter _min=TextureFilter::Linear, TextureFilter _mag=TextureFilter::Linear, TextureFilter _mip=TextureFilter::Linear, uint8 _maxAnisotropy=1, float _lodBias=0.0f, Float4 _borderColor=Float4{ 0, 0, 0, 0 }) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | SamplerState (Predefined predefined) noexcept |
|
storage_type | asValue () const noexcept |
|
bool | operator== (const SamplerState &other) const noexcept |
|
bool | operator!= (const SamplerState &other) const noexcept |
|
◆ storage_type
◆ SamplerState() [1/3]
|
explicitconstexprnoexcept |
◆ SamplerState() [2/3]
constexpr SIV3D_NODISCARD_CXX20 s3d::SamplerState::SamplerState |
( |
TextureAddressMode |
_addressU = TextureAddressMode::Clamp , |
|
|
TextureAddressMode |
_addressV = TextureAddressMode::Clamp , |
|
|
TextureAddressMode |
_addressW = TextureAddressMode::Clamp , |
|
|
TextureFilter |
_min = TextureFilter::Linear , |
|
|
TextureFilter |
_mag = TextureFilter::Linear , |
|
|
TextureFilter |
_mip = TextureFilter::Linear , |
|
|
uint8 |
_maxAnisotropy = 1 , |
|
|
float |
_lodBias = 0.0f , |
|
|
Float4 |
_borderColor = Float4{ 0, 0, 0, 0 } |
|
) |
| |
|
explicitconstexprnoexcept |
◆ SamplerState() [3/3]
constexpr SIV3D_NODISCARD_CXX20 s3d::SamplerState::SamplerState |
( |
Predefined |
predefined | ) |
|
|
constexprnoexcept |
◆ asValue()
◆ operator!=()
bool s3d::SamplerState::operator!= |
( |
const SamplerState & |
other | ) |
const |
|
noexcept |
◆ operator==()
bool s3d::SamplerState::operator== |
( |
const SamplerState & |
other | ) |
const |
|
noexcept |
◆ addressU
◆ addressV
◆ addressW
◆ BorderAniso
constexpr Predefined s3d::SamplerState::BorderAniso = Predefined::BorderAniso |
|
staticconstexpr |
◆ borderColor
Float4 s3d::SamplerState::borderColor = Float4{ 0, 0, 0, 0 } |
◆ BorderLinear
constexpr Predefined s3d::SamplerState::BorderLinear = Predefined::BorderLinear |
|
staticconstexpr |
◆ BorderNearest
constexpr Predefined s3d::SamplerState::BorderNearest = Predefined::BorderNearest |
|
staticconstexpr |
◆ ClampAniso
constexpr Predefined s3d::SamplerState::ClampAniso = Predefined::ClampAniso |
|
staticconstexpr |
◆ ClampLinear
constexpr Predefined s3d::SamplerState::ClampLinear = Predefined::ClampLinear |
|
staticconstexpr |
◆ ClampNearest
constexpr Predefined s3d::SamplerState::ClampNearest = Predefined::ClampNearest |
|
staticconstexpr |
◆ Default2D
constexpr Predefined s3d::SamplerState::Default2D = Predefined::Default2D |
|
staticconstexpr |
◆ Default3D
constexpr Predefined s3d::SamplerState::Default3D = Predefined::Default3D |
|
staticconstexpr |
◆ DefaultMaxAnisotropy
constexpr uint32 s3d::SamplerState::DefaultMaxAnisotropy = 4 |
|
staticconstexpr |
◆ lodBias
float s3d::SamplerState::lodBias = 0.0f |
◆ mag
◆ maxAnisotropy
uint8 s3d::SamplerState::maxAnisotropy = 1 |
◆ MaxSamplerCount
constexpr uint32 s3d::SamplerState::MaxSamplerCount = 8 |
|
staticconstexpr |
◆ min
◆ mip
◆ MirrorAniso
constexpr Predefined s3d::SamplerState::MirrorAniso = Predefined::MirrorAniso |
|
staticconstexpr |
◆ MirrorLinear
constexpr Predefined s3d::SamplerState::MirrorLinear = Predefined::MirrorLinear |
|
staticconstexpr |
◆ MirrorNearest
constexpr Predefined s3d::SamplerState::MirrorNearest = Predefined::MirrorNearest |
|
staticconstexpr |
◆ RepeatAniso
constexpr Predefined s3d::SamplerState::RepeatAniso = Predefined::RepeatAniso |
|
staticconstexpr |
◆ RepeatLinear
constexpr Predefined s3d::SamplerState::RepeatLinear = Predefined::RepeatLinear |
|
staticconstexpr |
◆ RepeatNearest
constexpr Predefined s3d::SamplerState::RepeatNearest = Predefined::RepeatNearest |
|
staticconstexpr |
The documentation for this struct was generated from the following file: