HitObject.SetShaderTableIndex

Description

Signature

void HitObject.SetShaderTableIndex(uint RecordIndex);

Parameters

RecordIndex : uint

Availability and Requirements

Defined for the following targets:

glsl

Available in stages: raygen, closesthit, miss.

cuda

Available in stages: raygen, closesthit, miss.

spirv

Available in stages: raygen, closesthit, miss.

Requires capabilities: spvRayTracingKHR, spvShaderInvocationReorderNV.

hlsl

Available in stages: raygen, closesthit, miss.

Requires capability: ser_hlsl_native.