FfxBrixelizerRayDesc

A structure encapsulating the parameters for a ray to be marched using Brixelizer.

File location: sdk/include/FidelityFX/gpu/brixelizer/ffx_brixelizer_trace_ops.h

Detailed description

A structure encapsulating the parameters for a ray to be marched using Brixelizer.

Data fields

Type

Description

FfxUInt32

start_cascade_id
The index of the most detailed cascade for ray traversal.

FfxUInt32

end_cascade_id
The index of the least detailed cascade for ray traversal.

FfxFloat32

t_min
The minimum distance at which to accept a hit.

FfxFloat32

t_max
The maximum distance at which to accept a hit.

FfxFloat32x3

origin
The origin of the ray.

FfxFloat32x3

direction
The direction of the ray. This input should be normalized.