Skip to content

LiteFX::Rendering::ISampler

Describes a texture sampler.

Synopsis

Declared in <litefx/rendering_api.hpp>

class [[dllimport, dllexport]] ISampler
    : public virtual IStateResource
    , public SharedObject

Base Classes

NameDescription
IStateResourceThe interface for a state resource.
SharedObjectBase class for an object that can be shared.

Type Aliases

Name
_Esft_type

Member Functions

NameDescription
~ISampler [destructor] [virtual]Destructor
getAnisotropy [virtual]Gets the anisotropy value used when sampling this texture.
getBorderModeU [virtual]Gets the addressing mode at the horizontal border.
getBorderModeV [virtual]Gets the addressing mode at the vertical border.
getBorderModeW [virtual]Gets the addressing mode at the depth border.
getMagnifyingFilter [virtual]Gets the filtering mode that is used for magnifying lookups.
getMaxLOD [virtual]Gets the maximum texture level of detail.
getMinLOD [virtual]Gets the minimum texture level of detail.
getMinifyingFilter [virtual]Gets the filtering mode that is used for minifying lookups.
getMipMapBias [virtual]Gets the mip-map level of detail bias.
getMipMapMode [virtual]Gets the mip-map selection mode.
name [virtual]Returns the name of the resource.
shared_from_this Returns a shared pointer to the current object instance.
weak_from_this Returns a weak pointer to the current object instance.

Protected Types

NameDescription
Allocator An allocator used to allocate the shared object.

Protected Member Functions

NameDescription
ISampler [constructor]Constructors
operator= Assignment operators

Protected Static Member Functions

NameDescription
create Generic factory method used to create instances of the shared object.

Derived Classes

NameDescription
IDirectX12Sampler Represents a DirectX 12 sampler.
IVulkanSampler Represents a Vulkan sampler.