Bottom-level AS description. More...
#include <BottomLevelAS.h>
Public Member Functions | |
| bool | operator== (const BottomLevelASDesc &rhs) const |
| Tests if two BLAS descriptions are equal. | |
Public Attributes | |
| const BLASTriangleDesc * | pTriangles = nullptr |
| Array of triangle geometry descriptions. | |
| Uint32 | TriangleCount = 0 |
| The number of triangle geometries in pTriangles array. | |
| const BLASBoundingBoxDesc * | pBoxes = nullptr |
| Array of AABB geometry descriptions. | |
| Uint32 | BoxCount = 0 |
| The number of AABB geometries in pBoxes array. | |
| RAYTRACING_BUILD_AS_FLAGS | Flags = RAYTRACING_BUILD_AS_NONE |
| Ray tracing build flags, see Diligent::RAYTRACING_BUILD_AS_FLAGS. | |
| Uint64 | CompactedSize = 0 |
| Uint64 | ImmediateContextMask = 1 |
| Defines which immediate contexts are allowed to execute commands that use this BLAS. | |
Public Attributes inherited from Diligent::DeviceObjectAttribs | |
| const Char * | Name = nullptr |
| Object name. | |
Bottom-level AS description.
|
inline |
Tests if two BLAS descriptions are equal.
| [in] | RHS | - reference to the structure to compare with. |
true if all members of the two structures except for the Name are equal, and false otherwise.| Uint64 Diligent::BottomLevelASDesc::CompactedSize = 0 |
Size from the result of IDeviceContext::WriteBLASCompactedSize() if this acceleration structure is going to be the target of a compacting copy (IDeviceContext::CopyBLAS() with COPY_AS_MODE_COMPACT).
| Uint64 Diligent::BottomLevelASDesc::ImmediateContextMask = 1 |
Defines which immediate contexts are allowed to execute commands that use this BLAS.
When ImmediateContextMask contains a bit at position n, the acceleration structure may be used in the immediate context with index n directly (see DeviceContextDesc::ContextId). It may also be used in a command list recorded by a deferred context that will be executed through that immediate context.