#include <Sampler.hpp>
◆ Sampler() [1/2]
Constructor.
- Parameters
-
[in] | engine | The engine |
[in] | name | The sampler name |
◆ Sampler() [2/2]
Constructor.
- Parameters
-
[in] | engine | The engine. |
[in] | name | The sampler name. |
[in] | createInfo | The creation infos. |
◆ cleanup()
C3D_API void castor3d::Sampler::cleanup |
( |
| ) |
|
◆ enableAnisotropicFiltering()
void castor3d::Sampler::enableAnisotropicFiltering |
( |
bool | value | ) |
|
|
inline |
◆ enableCompare()
void castor3d::Sampler::enableCompare |
( |
bool | value | ) |
|
|
inline |
◆ getBorderColour()
VkBorderColor castor3d::Sampler::getBorderColour |
( |
| ) |
const |
|
inline |
◆ getCompareOp()
VkCompareOp castor3d::Sampler::getCompareOp |
( |
| ) |
const |
|
inline |
◆ getLodBias()
float castor3d::Sampler::getLodBias |
( |
| ) |
const |
|
inline |
◆ getMagFilter()
VkFilter castor3d::Sampler::getMagFilter |
( |
| ) |
const |
|
inline |
◆ getMaxAnisotropy()
float castor3d::Sampler::getMaxAnisotropy |
( |
| ) |
const |
|
inline |
◆ getMaxLod()
float castor3d::Sampler::getMaxLod |
( |
| ) |
const |
|
inline |
◆ getMinFilter()
VkFilter castor3d::Sampler::getMinFilter |
( |
| ) |
const |
|
inline |
◆ getMinLod()
float castor3d::Sampler::getMinLod |
( |
| ) |
const |
|
inline |
◆ getMipFilter()
VkSamplerMipmapMode castor3d::Sampler::getMipFilter |
( |
| ) |
const |
|
inline |
◆ getSampler()
ashes::Sampler const & castor3d::Sampler::getSampler |
( |
| ) |
const |
|
inline |
◆ getWrapR()
VkSamplerAddressMode castor3d::Sampler::getWrapR |
( |
| ) |
const |
|
inline |
◆ getWrapS()
VkSamplerAddressMode castor3d::Sampler::getWrapS |
( |
| ) |
const |
|
inline |
◆ getWrapT()
VkSamplerAddressMode castor3d::Sampler::getWrapT |
( |
| ) |
const |
|
inline |
◆ initialise()
Initialises the GPU sampler.
- Parameters
-
[in] | device | The GPU device. |
- Returns
true
if ok.
◆ isAnisotropicFilteringEnabled()
bool castor3d::Sampler::isAnisotropicFilteringEnabled |
( |
| ) |
const |
|
inline |
◆ isCompareEnabled()
bool castor3d::Sampler::isCompareEnabled |
( |
| ) |
const |
|
inline |
◆ isMipmapSet()
bool castor3d::Sampler::isMipmapSet |
( |
| ) |
const |
|
inline |
◆ setBorderColour()
void castor3d::Sampler::setBorderColour |
( |
VkBorderColor | value | ) |
|
|
inline |
◆ setCompareOp()
void castor3d::Sampler::setCompareOp |
( |
VkCompareOp | value | ) |
|
|
inline |
◆ setLodBias()
void castor3d::Sampler::setLodBias |
( |
float | value | ) |
|
|
inline |
◆ setMagFilter()
void castor3d::Sampler::setMagFilter |
( |
VkFilter | value | ) |
|
|
inline |
◆ setMaxAnisotropy()
void castor3d::Sampler::setMaxAnisotropy |
( |
float | value | ) |
|
|
inline |
◆ setMaxLod()
void castor3d::Sampler::setMaxLod |
( |
float | value | ) |
|
|
inline |
◆ setMinFilter()
void castor3d::Sampler::setMinFilter |
( |
VkFilter | value | ) |
|
|
inline |
◆ setMinLod()
void castor3d::Sampler::setMinLod |
( |
float | value | ) |
|
|
inline |
◆ setMipFilter()
void castor3d::Sampler::setMipFilter |
( |
VkSamplerMipmapMode | value | ) |
|
|
inline |
◆ setWrapR()
void castor3d::Sampler::setWrapR |
( |
VkSamplerAddressMode | value | ) |
|
|
inline |
◆ setWrapS()
void castor3d::Sampler::setWrapS |
( |
VkSamplerAddressMode | value | ) |
|
|
inline |
◆ setWrapT()
void castor3d::Sampler::setWrapT |
( |
VkSamplerAddressMode | value | ) |
|
|
inline |
The documentation for this class was generated from the following file: