hiprtGeometryBuildInput
Input for geometry build/update operation.
Build input defines concrete primitive type and a pointer to an actual primitive description.
Name |
Type |
Description |
---|---|---|
type |
hiprtPrimitiveType |
Primitive type. |
union
{
struct
{
/*!< Triangle mesh */
hiprtTriangleMeshPrimitive* primitive;
} triangleMesh;
struct
{
/*!< Bounding boxes of custom primitives */
hiprtAABBListPrimitive* primitive;
/*!< Type of custim primitives */
hiprtCustomType customType;
} aabbList;
};
|
Defines the following union. |
|
nodes |
hiprtBvhNodeList* |
Custom Bvh nodes (optional). |