| 67 | } |
| 68 | |
| 69 | void RtBindingTable::setHitGroup(uint32_t rayType, uint32_t geometryID, ShaderID shaderID) |
| 70 | { |
| 71 | FALCOR_CHECK(rayType < mRayTypeCount, "'rayType' is out of range"); |
| 72 | FALCOR_CHECK(geometryID < mGeometryCount, "'geometryID' is out of range"); |
| 73 | mShaderTable[getHitGroupOffset(rayType, geometryID)] = shaderID; |
| 74 | } |
| 75 | |
| 76 | void RtBindingTable::setHitGroup(uint32_t rayType, const std::vector<uint32_t>& geometryIDs, ShaderID shaderID) |
| 77 | { |