HitObject.LoadLocalRootTableConstant
Description
Loads a root constant from the local root table referenced by the hit object. Valid if the hit object represents a hit or a miss. RootConstantOffsetInBytes must be a multiple of 4.
Signature
uint HitObject.LoadLocalRootTableConstant(uint RootConstantOffsetInBytes);
Parameters
RootConstantOffsetInBytes : uint
Availability and Requirements
Defined for the following targets:
hlsl
Available in all stages.
Requires capability: hlsl_nvapi
.