BLASBuildBoundingBoxData struct
AABB geometry data description.
Contents
- Reference
Public variables
- const char* GeometryName
- Geometry name used to map geometry to hit group in shader binding table. Put geometry data to geometry that allocated by BLASBoundingBoxDesc with the same name.
- IBuffer* pBoxBuffer
- AABB data source. Each AABB defined as { float3 Min; float3 Max } structure. AABB are considered inactive if AABB.Min.x is NaN. Buffer must be created with BIND_RAY_TRACING flag.
- Uint32 BoxOffset
- Data offset in bytes in pBoxBuffer.
- Uint32 BoxStride
- Stride in bytes between each AABB.
- Uint32 BoxCount
- Number of AABBs. Must be less than or equal to BLASBoundingBoxDesc::
MaxBoxCount. -
RAYTRACING_
GEOMETRY_ FLAGS Flags - Geometry flags, see Diligent::
RAYTRACING_GEOMETRY_FLAGS.