Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::SamplerProperties Struct Reference

Texture sampler properties. More...

#include <GraphicsTypes.h>

Public Member Functions

constexpr bool operator== (const SamplerProperties &RHS) const
 Comparison operator tests if two structures are equivalent.
 

Public Attributes

Bool BorderSamplingModeSupported = False
 Indicates if device supports border texture addressing mode.
 
Uint8 MaxAnisotropy = 1
 Maximum anisotropy level supported by the device.
 
Bool LODBiasSupported = False
 Indicates if device supports MIP load bias.
 

Detailed Description

Texture sampler properties.

Member Function Documentation

◆ operator==()

bool Diligent::SamplerProperties::operator== ( const SamplerProperties & RHS) const
inlineconstexpr

Comparison operator tests if two structures are equivalent.

Parameters
[in]RHS- reference to the structure to perform comparison with
Returns
  • True if all members of the two structures are equal.
  • False otherwise.

Member Data Documentation

◆ MaxAnisotropy

Uint8 Diligent::SamplerProperties::MaxAnisotropy = 1

Maximum anisotropy level supported by the device.

If anisotropic filtering is not supported, this value is 1.