Offers utility to work with the associated enumeration. More...
Static Public Member Functions | |
static nkMemory::StringView | toString (TEXTURE_ADDRESS_MODE value) |
static TEXTURE_ADDRESS_MODE | fromString (nkMemory::StringView value) |
static TEXTURE_ADDRESS_MODE | fromIndex (unsigned int value) |
Offers utility to work with the associated enumeration.
|
static |
Converts an enum entry to its string representation.
value | The enum value to convert. |
|
static |
Converts a string to its equivalent enum value.
value | The string to convert. |
|
static |
Retrieves an enum value by index. Allows to loop over all values, for instance.
value | The index of the enum to retrieve. |