API Documentation
Public Attributes | List of all members
nkGraphics::AttributeGenerationInfo Struct Referencefinal

Holds information for an attribute generation request. More...

Public Attributes

nkMemory::BufferView< unsigned char > _positionBuffer
 Buffer in which the position information can be found.
 
nkMemory::BufferView< unsigned char > _texCoordBuffer
 Buffer in which the texture coordinates information can be found.
 
nkMemory::BufferView< unsigned char > _indexBuffer
 The index buffer, if any.
 
MeshInputLayoutAttribute _positionAttribute
 Attribute describing how to find back the positions in linked buffer.
 
MeshInputLayoutAttribute _texCoordAttribute
 Attribute describing how to find back the texture coordinates in linked buffer.
 
INDEX_FORMAT _indexFormat = INDEX_FORMAT::UINT32
 The index format, if an index buffer is provided.
 
unsigned int _positionBufferStride = 0u
 Stride of the position buffer.
 
unsigned int _texCoordBufferStride = 0u
 Stride of the texture coordinates buffer.
 
bool _frontCcw = true
 Whether the front is considered counter clockwise or not. If false, computed directions will be negated.
 

Detailed Description

Holds information for an attribute generation request.


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