Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::RayTracingProperties Struct Reference

Ray tracing properties. More...

#include <GraphicsTypes.h>

Public Member Functions

constexpr bool operator== (const RayTracingProperties &RHS) const
 Comparison operator tests if two structures are equivalent.
 

Public Attributes

Uint32 MaxRecursionDepth = 0
 Maximum supported value for RayTracingPipelineDesc::MaxRecursionDepth.
 
Uint32 ShaderGroupHandleSize = 0
 For internal use.
 
Uint32 MaxShaderRecordStride = 0
 For internal use.
 
Uint32 ShaderGroupBaseAlignment = 0
 For internal use.
 
Uint32 MaxRayGenThreads = 0
 The maximum total number of ray generation threads in one dispatch.
 
Uint32 MaxInstancesPerTLAS = 0
 The maximum number of instances in a top-level AS.
 
Uint32 MaxPrimitivesPerBLAS = 0
 The maximum number of primitives in a bottom-level AS.
 
Uint32 MaxGeometriesPerBLAS = 0
 The maximum number of geometries in a bottom-level AS.
 
Uint32 VertexBufferAlignment = 0
 The minimum alignment for vertex buffer offset in BLASBuildTriangleData::VertexOffset.
 
Uint32 IndexBufferAlignment = 0
 The minimum alignment for index buffer offset in BLASBuildTriangleData::IndexOffset.
 
Uint32 TransformBufferAlignment = 0
 The minimum alignment for transform buffer offset in BLASBuildTriangleData::TransformBufferOffset.
 
Uint32 BoxBufferAlignment = 0
 The minimum alignment for box buffer offset in BLASBuildBoundingBoxData::BoxOffset.
 
Uint32 ScratchBufferAlignment = 0
 The minimum alignment for scratch buffer offset in BuildBLASAttribs::ScratchBufferOffset and BuildTLASAttribs::ScratchBufferOffset.
 
Uint32 InstanceBufferAlignment = 0
 The minimum alignment for instance buffer offset in BuildTLASAttribs::InstanceBufferOffset.
 
RAY_TRACING_CAP_FLAGS CapFlags = RAY_TRACING_CAP_FLAG_NONE
 Ray tracing capability flags, see Diligent::RAY_TRACING_CAP_FLAGS.
 

Detailed Description

Ray tracing properties.

Member Function Documentation

◆ operator==()

bool Diligent::RayTracingProperties::operator== ( const RayTracingProperties & RHS) const
inlineconstexpr

Comparison operator tests if two structures are equivalent.

Parameters
[in]RHS- reference to the structure to perform comparison with
Returns
  • True if all members of the two structures are equal.
  • False otherwise.