API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsGraphics
Meshes
Enums
IndexFormat.h
1
// IndexFormat.h
3
//
5
6
namespace
nkGraphics
7
{
11
enum class
INDEX_FORMAT
12
{
13
UINT8
= 0,
14
UINT16
,
15
UINT32
16
} ;
17
21
class
IndexFormatUtils
final
22
{
23
public :
24
25
// Conversions
30
static
nkMemory::StringView
toString
(
INDEX_FORMAT
value) ;
31
32
// Translation
37
static
unsigned
int
getFormatByteSize
(
INDEX_FORMAT
format) ;
38
} ;
39
}
nkGraphics::IndexFormatUtils::toString
static nkMemory::StringView toString(INDEX_FORMAT value)
nkGraphics::INDEX_FORMAT
INDEX_FORMAT
Enumerates all formats supported for indices in a mesh.
Definition:
IndexFormat.h:12
nkGraphics::INDEX_FORMAT::UINT8
@ UINT8
Unsigned byte.
nkGraphics::IndexFormatUtils
Provides utility functions around the INDEX_FORMAT enum.
Definition:
IndexFormat.h:22
nkGraphics::INDEX_FORMAT::UINT16
@ UINT16
Unsigned short.
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition:
StringView.h:22
nkGraphics::IndexFormatUtils::getFormatByteSize
static unsigned int getFormatByteSize(INDEX_FORMAT format)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition:
BoundingBox.h:7
nkGraphics::INDEX_FORMAT::UINT32
@ UINT32
Unsigned integer.
Generated by
Doxygen
1.8.18