RRGeometryBuildInput

Description

Input for geometry build/update operation.

Build input defines concrete primitive type and a pointer to an actual primitive description.

Applies to

All supported backends

Items

Name

Type

Description

primitive_type

RRDevicePtr

Defines the following union.

primitive_count

uint32_t

Number of primitives in the array.

{RRTriangleMeshPrimitive* triangle_mesh_primitives;
RRAABBListPrimitive* aabb_primitives;}

union

Core information used to build a geometry accelerating structure, a description of Triangles or Axis Aligned Bounding Boxes (AABB).