API Documentation
Static Public Member Functions | List of all members
nkGraphics::AttributeGranularityUtils Class Referencefinal

Offers utility to work with the associated enumeration. More...

Static Public Member Functions

static nkMemory::StringView toString (ATTRIBUTE_GRANULARITY value)
 

Detailed Description

Offers utility to work with the associated enumeration.

Member Function Documentation

◆ toString()

static nkMemory::StringView nkGraphics::AttributeGranularityUtils::toString ( ATTRIBUTE_GRANULARITY  value)
static

Converts an enumeration value into a string.

Parameters
valueThe value to convert.
Returns
The conversion of the enum into a string as a raw translation, for instance ATTRIBUTE_GRANULARITY::PER_VERTEX -> "PER_VERTEX". If the enumeration value is unknown, returns "UNKNOWN".

The documentation for this class was generated from the following file: