Rapier C — 2D / f32 0.36.0+c.0
Loading...
Searching...
No Matches
R2IndexView Struct Reference

Borrowed array of index elements. More...

#include <rapier.h>

Data Fields

const uint32_t * data
 Borrowed pointer to contiguous elements; NULL is allowed when count is zero.
size_t count
 Number of elements, not bytes unless the element type is a byte.

Detailed Description

Borrowed array of index elements.

count counts elements of the declared type. Copying this view does not copy its data or extend its lifetime. No Free is needed. Data must remain live through the build/insert call that reads the description. NULL is permitted only when count is zero.

Field Documentation

◆ count

size_t R2IndexView::count

Number of elements, not bytes unless the element type is a byte.

◆ data

const uint32_t* R2IndexView::data

Borrowed pointer to contiguous elements; NULL is allowed when count is zero.


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