LiteFX 0.4.1.2025
Computer Graphics Engine
|
Describes a texture sampler. More...
#include <rendering_api.hpp>
Inherits LiteFX::Rendering::IStateResource, and LiteFX::SharedObject.
Inherited by LiteFX::Rendering::Backends::IDirectX12Sampler [virtual]
, and LiteFX::Rendering::Backends::IVulkanSampler [virtual]
.
Public Member Functions | |
~ISampler () noexcept override=default | |
virtual FilterMode | getMinifyingFilter () const noexcept=0 |
Gets the filtering mode that is used for minifying lookups. | |
virtual FilterMode | getMagnifyingFilter () const noexcept=0 |
Gets the filtering mode that is used for magnifying lookups. | |
virtual BorderMode | getBorderModeU () const noexcept=0 |
Gets the addressing mode at the horizontal border. | |
virtual BorderMode | getBorderModeV () const noexcept=0 |
Gets the addressing mode at the vertical border. | |
virtual BorderMode | getBorderModeW () const noexcept=0 |
Gets the addressing mode at the depth border. | |
virtual Float | getAnisotropy () const noexcept=0 |
Gets the anisotropy value used when sampling this texture. | |
virtual MipMapMode | getMipMapMode () const noexcept=0 |
Gets the mip-map selection mode. | |
virtual Float | getMipMapBias () const noexcept=0 |
Gets the mip-map level of detail bias. | |
virtual Float | getMaxLOD () const noexcept=0 |
Gets the maximum texture level of detail. | |
virtual Float | getMinLOD () const noexcept=0 |
Gets the minimum texture level of detail. | |
![]() | |
virtual | ~IStateResource () noexcept=default |
Releases the state resource instance. | |
virtual const String & | name () const noexcept=0 |
Returns the name of the resource. | |
![]() | |
virtual | ~SharedObject () noexcept=default |
Destroys the shared object. | |
template<typename TSelf > | |
auto | shared_from_this (this TSelf &&self) noexcept |
Returns a shared pointer to the current object instance. | |
template<typename TSelf > | |
auto | weak_from_this (this TSelf &&self) noexcept -> WeakPtr< std::remove_reference_t< TSelf > > |
Returns a weak pointer to the current object instance. | |
Protected Member Functions | |
ISampler () noexcept=default | |
ISampler (ISampler &&) noexcept=default | |
ISampler (const ISampler &)=delete | |
ISampler & | operator= (ISampler &&) noexcept=default |
ISampler & | operator= (const ISampler &)=delete |
![]() | |
IStateResource () noexcept=default | |
IStateResource (const IStateResource &)=delete | |
IStateResource (IStateResource &&) noexcept=default | |
IStateResource & | operator= (const IStateResource &)=delete |
IStateResource & | operator= (IStateResource &&) noexcept=default |
![]() | |
SharedObject () noexcept=default | |
Initializes a new shared object. | |
SharedObject (SharedObject &&) noexcept=default | |
SharedObject (const SharedObject &)=default | |
SharedObject & | operator= (SharedObject &&) noexcept=default |
SharedObject & | operator= (const SharedObject &)=default |
Additional Inherited Members | |
![]() | |
template<typename T , typename... TArgs> | |
static auto | create (TArgs &&... args) -> SharedPtr< T > |
Generic factory method used to create instances of the shared object. | |
Describes a texture sampler.
|
protecteddefaultnoexcept |
|
protecteddefaultnoexcept |
|
protecteddelete |
|
overridedefaultnoexcept |
|
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.