Skip to content

LiteFX::Rendering::IRayTracingPipeline::maxAttributeSize

Returns the maximum size of a single ray attribute.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual UInt32 maxAttributeSize() const noexcept = 0;

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.