Sleeping Wombat Graphic API  1.010
swGraphicAPI
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

BufferInfo CreateBufferInfo () const
 

Public Attributes

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

Detailed Description

Index buffer initialization data.

Member Data Documentation

PrimitiveTopology IndexBufferInitData::Topology

[Optional] Topology of verticies.

Note
Index buffer topology override vertex buffer topology.

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