LiteFX 0.3.1.2022
Computer Graphics Engine
|
Describes a texture sampler. More...
#include <rendering_api.hpp>
Inherits LiteFX::Rendering::IStateResource.
Inherited by LiteFX::Rendering::Backends::IDirectX12Sampler [virtual]
, and LiteFX::Rendering::Backends::IVulkanSampler [virtual]
.
Public Member Functions | |
virtual | ~ISampler () noexcept=default |
virtual const FilterMode & | getMinifyingFilter () const noexcept=0 |
Gets the filtering mode that is used for minifying lookups. More... | |
virtual const FilterMode & | getMagnifyingFilter () const noexcept=0 |
Gets the filtering mode that is used for magnifying lookups. More... | |
virtual const BorderMode & | getBorderModeU () const noexcept=0 |
Gets the addressing mode at the horizontal border. More... | |
virtual const BorderMode & | getBorderModeV () const noexcept=0 |
Gets the addressing mode at the vertical border. More... | |
virtual const BorderMode & | getBorderModeW () const noexcept=0 |
Gets the addressing mode at the depth border. More... | |
virtual const Float & | getAnisotropy () const noexcept=0 |
Gets the anisotropy value used when sampling this texture. More... | |
virtual const MipMapMode & | getMipMapMode () const noexcept=0 |
Gets the mip-map selection mode. More... | |
virtual const Float & | getMipMapBias () const noexcept=0 |
Gets the mip-map level of detail bias. More... | |
virtual const Float & | getMaxLOD () const noexcept=0 |
Gets the maximum texture level of detail. More... | |
virtual const Float & | getMinLOD () const noexcept=0 |
Gets the minimum texture level of detail. More... | |
Public Member Functions inherited from LiteFX::Rendering::IStateResource | |
virtual | ~IStateResource () noexcept=default |
virtual const String & | name () const noexcept=0 |
Returns the name of the resource. More... | |
Describes a texture sampler.
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Gets the anisotropy value used when sampling this texture.
Anisotropy will be disabled, if this value is set to 0.0
.
Implemented in LiteFX::Rendering::Backends::DirectX12Sampler, and LiteFX::Rendering::Backends::VulkanSampler.
|
pure virtualnoexcept |
Gets the addressing mode at the horizontal border.
Implemented in LiteFX::Rendering::Backends::DirectX12Sampler, and LiteFX::Rendering::Backends::VulkanSampler.
|
pure virtualnoexcept |
Gets the addressing mode at the vertical border.
Implemented in LiteFX::Rendering::Backends::DirectX12Sampler, and LiteFX::Rendering::Backends::VulkanSampler.
|
pure virtualnoexcept |
Gets the addressing mode at the depth border.
Implemented in LiteFX::Rendering::Backends::DirectX12Sampler, and LiteFX::Rendering::Backends::VulkanSampler.
|
pure virtualnoexcept |
Gets the filtering mode that is used for magnifying lookups.
Implemented in LiteFX::Rendering::Backends::DirectX12Sampler, and LiteFX::Rendering::Backends::VulkanSampler.
|
pure virtualnoexcept |
Gets the maximum texture level of detail.
Implemented in LiteFX::Rendering::Backends::DirectX12Sampler, and LiteFX::Rendering::Backends::VulkanSampler.
|
pure virtualnoexcept |
Gets the filtering mode that is used for minifying lookups.
Implemented in LiteFX::Rendering::Backends::DirectX12Sampler, and LiteFX::Rendering::Backends::VulkanSampler.
|
pure virtualnoexcept |
Gets the minimum texture level of detail.
Implemented in LiteFX::Rendering::Backends::DirectX12Sampler, and LiteFX::Rendering::Backends::VulkanSampler.
|
pure virtualnoexcept |
Gets the mip-map level of detail bias.
Implemented in LiteFX::Rendering::Backends::DirectX12Sampler, and LiteFX::Rendering::Backends::VulkanSampler.
|
pure virtualnoexcept |
Gets the mip-map selection mode.
Implemented in LiteFX::Rendering::Backends::DirectX12Sampler, and LiteFX::Rendering::Backends::VulkanSampler.