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
Type Aliases
Member Functions
| Name | Description |
~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
| Name | Description |
Allocator | An allocator used to allocate the shared object. |
Protected Member Functions
Protected Static Member Functions
| Name | Description |
create | Generic factory method used to create instances of the shared object. |
Derived Classes