API Documentation
VertexComposition.h
1 // VertexComposition.h
3 //
5 
6 namespace nkGraphics
7 {
11  struct VertexComposition final
12  {
13  bool _hasPositions = true ;
14  bool _hasColors = false ;
15  bool _hasTexCoords = false ;
16  bool _hasNormals = false ;
17  bool _hasTangents = false ;
18  bool _hasBinormals = false ;
19  } ;
20 }
nkGraphics::VertexComposition::_hasNormals
bool _hasNormals
Whether the normal field should be taken into account (true) or not (false), under the name 'NORMAL'.
Definition: VertexComposition.h:16
nkGraphics::VertexComposition::_hasPositions
bool _hasPositions
Whether the position field should be taken into account (true) or not (false), under the name 'POSITI...
Definition: VertexComposition.h:13
nkGraphics::VertexComposition::_hasTexCoords
bool _hasTexCoords
Whether the texture coordinate field should be taken into account (true) or not (false),...
Definition: VertexComposition.h:15
nkGraphics::VertexComposition::_hasColors
bool _hasColors
Whether the color field should be taken into account (true) or not (false), under the name 'COLOR'.
Definition: VertexComposition.h:14
nkGraphics::VertexComposition::_hasTangents
bool _hasTangents
Whether the tangent field should be taken into account (true) or not (false), under the name 'TANGENT...
Definition: VertexComposition.h:17
nkGraphics::VertexComposition
Describes how VertexData should be interpreted when generating low-level mesh data.
Definition: VertexComposition.h:12
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::VertexComposition::_hasBinormals
bool _hasBinormals
Whether the binormal field should be taken into account (true) or not (false), under the name 'BINORM...
Definition: VertexComposition.h:18