API Documentation
Filter.h
1 // AttributeGranularity.h
3 //
5 
6 namespace nkGraphics
7 {
11  enum class FILTER
12  {
13  MIN_MAG_MIP_POINT = 0,
14  MIN_MAG_POINT_MIP_LINEAR = 0x1,
15  MIN_POINT_MAG_LINEAR_MIP_POINT = 0x4,
16  MIN_POINT_MAG_MIP_LINEAR = 0x5,
17  MIN_LINEAR_MAG_MIP_POINT = 0x10,
18  MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x11,
19  MIN_MAG_LINEAR_MIP_POINT = 0x14,
20  MIN_MAG_MIP_LINEAR = 0x15,
21  ANISOTROPIC = 0x55,
22  COMPARISON_MIN_MAG_MIP_POINT = 0x80,
23  COMPARISON_MIN_MAG_POINT_MIP_LINEAR = 0x81,
24  COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x84,
25  COMPARISON_MIN_POINT_MAG_MIP_LINEAR = 0x85,
26  COMPARISON_MIN_LINEAR_MAG_MIP_POINT = 0x90,
27  COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x91,
28  COMPARISON_MIN_MAG_LINEAR_MIP_POINT = 0x94,
29  COMPARISON_MIN_MAG_MIP_LINEAR = 0x95,
30  COMPARISON_ANISOTROPIC = 0xd5,
31  MINIMUM_MIN_MAG_MIP_POINT = 0x100,
32  MINIMUM_MIN_MAG_POINT_MIP_LINEAR = 0x101,
33  MINIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x104,
34  MINIMUM_MIN_POINT_MAG_MIP_LINEAR = 0x105,
35  MINIMUM_MIN_LINEAR_MAG_MIP_POINT = 0x110,
36  MINIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x111,
37  MINIMUM_MIN_MAG_LINEAR_MIP_POINT = 0x114,
38  MINIMUM_MIN_MAG_MIP_LINEAR = 0x115,
39  MINIMUM_ANISOTROPIC = 0x155,
40  MAXIMUM_MIN_MAG_MIP_POINT = 0x180,
41  MAXIMUM_MIN_MAG_POINT_MIP_LINEAR = 0x181,
42  MAXIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x184,
43  MAXIMUM_MIN_POINT_MAG_MIP_LINEAR = 0x185,
44  MAXIMUM_MIN_LINEAR_MAG_MIP_POINT = 0x190,
45  MAXIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x191,
46  MAXIMUM_MIN_MAG_LINEAR_MIP_POINT = 0x194,
47  MAXIMUM_MIN_MAG_MIP_LINEAR = 0x195,
48  MAXIMUM_ANISOTROPIC = 0x1d5
49  } ;
50 
54  class FilterUtils final
55  {
56  public :
57 
58  // Conversions
79  static FILTER fromIndex (unsigned int value) ;
80  } ;
81 }
nkGraphics::FilterUtils::fromString
static FILTER fromString(nkMemory::StringView value)
nkGraphics::FilterUtils
Offers utility to work with the associated enumeration.
Definition: Filter.h:55
nkGraphics::FilterUtils::toString
static nkMemory::StringView toString(FILTER value)
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::FilterUtils::fromIndex
static FILTER fromIndex(unsigned int value)
nkGraphics::FILTER
FILTER
Available filtering methods a sampler can use, when magnifying or minifying during sampling.
Definition: Filter.h:12
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7