Tachyon (current)  Current Main Branch
Data Fields
HGRecordGroup Struct Reference

Store all hitgroup records for a given geometry together for simpler dynamic updates. More...

#include <TachyonOptiXShaders.h>

Data Fields

HGRecord radiance
 
HGRecord shadow
 

Detailed Description

Store all hitgroup records for a given geometry together for simpler dynamic updates.

At present, we have pairs of records, for radiance and shadow rayss. Records differ only in their header. Each HGRecordGroup contains RT_RAY_TYPE_COUNT HGRecords, so when querying the size of any vector containers or other data structures to count total hitgroup records, we need to remember to multiply by RT_RAY_TYPE_COUNT.

Definition at line 364 of file TachyonOptiXShaders.h.

Field Documentation

◆ radiance

HGRecord HGRecordGroup::radiance

Definition at line 365 of file TachyonOptiXShaders.h.

◆ shadow

HGRecord HGRecordGroup::shadow

Definition at line 366 of file TachyonOptiXShaders.h.


The documentation for this struct was generated from the following file: