API Documentation
AttributeGranularity.h
1 // AttributeGranularity.h
3 //
5 
6 namespace nkGraphics
7 {
12  {
13  PER_VERTEX = 0,
14  PER_INSTANCE = 1
15  } ;
16 
21  {
22  public :
23 
24  // Conversions
33  } ;
34 }
nkGraphics::AttributeGranularityUtils
Offers utility to work with the associated enumeration.
Definition: AttributeGranularity.h:21
nkGraphics::ATTRIBUTE_GRANULARITY
ATTRIBUTE_GRANULARITY
Enumerates all granularity available when feeding attribute data.
Definition: AttributeGranularity.h:12
nkGraphics::AttributeGranularityUtils::toString
static nkMemory::StringView toString(ATTRIBUTE_GRANULARITY value)
nkGraphics::ATTRIBUTE_GRANULARITY::PER_VERTEX
@ PER_VERTEX
Data is fed per vertex drawn in one instance.
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::ATTRIBUTE_GRANULARITY::PER_INSTANCE
@ PER_INSTANCE
Data is fed per instance drawn.
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7