Loading...
Searching...
No Matches
IndexBuffer

#include <Ultralight/platform/GPUDriver.h>

Overview

Index buffer description.

This structure describes an index buffer that can be used to index into a vertex buffer.

Note
The index buffer is a simple array of IndexType values.
See also
GPUDriver::CreateGeometry

Public Attributes

uint32_t size
 The size of the index buffer in bytes.
 
uint8_t * data
 The raw index buffer data.
 

Member Data Documentation

◆ data

uint8_t* data

The raw index buffer data.

◆ size

uint32_t size

The size of the index buffer in bytes.


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