rtx::getRayTypeCount

Defined in omni/extras/RtxSettings.h

inline uint32_t rtx::getRayTypeCount()

Returns how many ray types the renderer will use based on settings.

This value cannot be changed once the renderer is initialized. This value is read from carb::settings::ISettings the first time this function is called and cached so that future calls are very fast.

Thread Safety

This function is thread safe.

Returns

The number of ray types the renderer will use