Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:03

0001 #pragma once
0002 
0003 /**
0004 Properties
0005 ============
0006 
0007 OptiX 7.0::
0008 
0009     Properties::desc
0010                           limitMaxTraceDepth :         31
0011                limitMaxTraversableGraphDepth :         16
0012                     limitMaxPrimitivesPerGas :  536870912  20000000
0013                      limitMaxInstancesPerIas :   16777216   1000000
0014                                rtcoreVersion :          0
0015                           limitMaxInstanceId :   16777215    ffffff
0016           limitNumBitsInstanceVisibilityMask :          8
0017                     limitMaxSbtRecordsPerGas :   16777216   1000000
0018                            limitMaxSbtOffset :   16777215    ffffff
0019 **/
0020 
0021 #include <string>
0022 
0023 struct Properties 
0024 {
0025     unsigned rtcoreVersion ; 
0026     unsigned limitMaxTraceDepth ; 
0027     unsigned limitMaxTraversableGraphDepth ;
0028     unsigned limitMaxPrimitivesPerGas ;
0029     unsigned limitMaxInstancesPerIas ;
0030     unsigned limitMaxInstanceId ;
0031     unsigned limitNumBitsInstanceVisibilityMask ;
0032     unsigned limitMaxSbtRecordsPerGas ;
0033     unsigned limitMaxSbtOffset ;   
0034 
0035     Properties(); 
0036 
0037     unsigned visibilityMask_FULL() const ;
0038     unsigned visibilityMask(unsigned idx) const ;
0039 
0040     std::string desc() const ; 
0041 };