Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | Public Attributes | List of all members
IndexBufferInitData Struct Reference

Index buffer initialization data. More...

#include <BufferInitData.h>

Inheritance diagram for IndexBufferInitData:
BufferInitData

Public Member Functions

 IndexBufferInitData ()
 
BufferInfo CreateBufferInfo () const
 
- Public Member Functions inherited from BufferInitData
 BufferInitData ()
 

Public Attributes

PrimitiveTopology Topology
 [Optional] Topology of verticies. More...
 
bool Use4BytesIndex
 Index buffer consists of 4 bytes instead of 2 bytes indicies. More...
 
- Public Attributes inherited from BufferInitData
const uint8Data
 Pointer must be valid only in time of creation. More...
 
uint32 NumElements
 
uint32 ElementSize
 
rttr::type DataType
 [Optional] Type of single element in buffer. More...
 
ResourceUsage Usage
 

Detailed Description

Index buffer initialization data.

Constructor & Destructor Documentation

IndexBufferInitData::IndexBufferInitData ( )
inline

Member Function Documentation

BufferInfo IndexBufferInitData::CreateBufferInfo ( ) const
inline

Member Data Documentation

PrimitiveTopology IndexBufferInitData::Topology

[Optional] Topology of verticies.

Note
Index buffer topology override vertex buffer topology.
bool IndexBufferInitData::Use4BytesIndex

Index buffer consists of 4 bytes instead of 2 bytes indicies.


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