MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / getHitGroup

Function getHitGroup

Source/Falcor/Core/Program/RtBindingTable.h:116–116  ·  view source on GitHub ↗

* Get a hit group shader ID. * @param[in] rayType The ray type. * @param[in] geometryID The geometry ID in the scene. * @return The shader ID in the program. */

Source from the content-addressed store, hash-verified

114 * @return The shader ID in the program.
115 */
116 ShaderID getHitGroup(uint32_t rayType, uint32_t geometryID) const { return mShaderTable[getHitGroupOffset(rayType, geometryID)]; }
117
118 uint32_t getMissCount() const { return mMissCount; }
119 uint32_t getRayTypeCount() const { return mRayTypeCount; }

Callers

nothing calls this directly

Calls 1

getHitGroupOffsetFunction · 0.85

Tested by

no test coverage detected