API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsGraphics
Meshes
Enums
AttributeGranularity.h
1
// AttributeGranularity.h
3
//
5
6
namespace
nkGraphics
7
{
11
enum class
ATTRIBUTE_GRANULARITY
12
{
13
PER_VERTEX
= 0,
14
PER_INSTANCE
= 1
15
} ;
16
20
class
AttributeGranularityUtils
final
21
{
22
public :
23
24
// Conversions
32
static
nkMemory::StringView
toString
(
ATTRIBUTE_GRANULARITY
value) ;
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
Generated by
Doxygen
1.8.18