LiteFX::Rendering::Backends::DirectX12RayTracingPipeline::maxAttributeSize¶
Returns the maximum size of a single ray attribute.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] virtual UInt32 maxAttributeSize() const noexcept override;
Description¶
A ray attribute is the data that is passed to a hit shader for a specific event. Different to ray payloads, it only contains the data that describe the event (such as the hit coordinates, etc.).
This property can currently not be queried from reflection.
Return Value¶
The maximum size of the ray attribute.