Skip to content

FfxBrixelizerGIDispatchDescription

struct FfxBrixelizerGIDispatchDescription

A structure encapsulating the parameters used for computing a dispatch by the Brixelizer GI context.

Dependencies: FfxBrixelizerRawContext, FfxFloatCoords2D, FfxResource

Public Interface

Public Members:

FfxFloat32x4x4 view

FfxFloat32x4x4 view

The view matrix for the scene in row major order.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 123, column 20)

FfxFloat32x4x4 projection

FfxFloat32x4x4 projection

The projection matrix for the scene in row major order.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 124, column 20)

FfxFloat32x4x4 prevView

FfxFloat32x4x4 prevView

The view matrix for the previous frame of the scene in row major order.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 125, column 20)

FfxFloat32x4x4 prevProjection

FfxFloat32x4x4 prevProjection

The projection matrix for the scene in row major order.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 126, column 20)

FfxFloat32x3 cameraPosition

FfxFloat32x3 cameraPosition

A 3-dimensional vector representing the position of the camera.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 128, column 20)

FfxUInt32 startCascade

FfxUInt32 startCascade

The index of the start cascade for use with ray marching with Brixelizer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 129, column 20)

FfxUInt32 endCascade

FfxUInt32 endCascade

The index of the end cascade for use with ray marching with Brixelizer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 130, column 20)

FfxFloat32 rayPushoff

FfxFloat32 rayPushoff

The distance from a surface along the normal vector to offset the diffuse ray origin.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 131, column 20)

FfxFloat32 sdfSolveEps

FfxFloat32 sdfSolveEps

The epsilon value for ray marching to be used with Brixelizer for diffuse rays.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 132, column 20)

FfxFloat32 specularRayPushoff

FfxFloat32 specularRayPushoff

The distance from a surface along the normal vector to offset the specular ray origin.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 133, column 20)

FfxFloat32 specularSDFSolveEps

FfxFloat32 specularSDFSolveEps

The epsilon value for ray marching to be used with Brixelizer for specular rays.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 134, column 20)

FfxFloat32 tMin

FfxFloat32 tMin

The TMin value for use with Brixelizer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 135, column 20)

FfxFloat32 tMax

FfxFloat32 tMax

The TMax value for use with Brixelizer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 136, column 20)

FfxResource environmentMap

FfxResource environmentMap

The environment map.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 138, column 17)

FfxResource prevLitOutput

FfxResource prevLitOutput

The lit output from the previous frame.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 139, column 17)

FfxResource depth

FfxResource depth

The input depth buffer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 140, column 17)

FfxResource historyDepth

FfxResource historyDepth

The previous frame input depth buffer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 141, column 17)

FfxResource normal

FfxResource normal

The input normal buffer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 142, column 17)

FfxResource historyNormal

FfxResource historyNormal

The previous frame input normal buffer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 143, column 17)

FfxResource roughness

FfxResource roughness

The resource containing roughness information.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 144, column 17)

FfxResource motionVectors

FfxResource motionVectors

The input motion vectors texture.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 145, column 17)

FfxResource noiseTexture

FfxResource noiseTexture

The input blue noise texture.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 146, column 17)

FfxFloat32 normalsUnpackMul

FfxFloat32 normalsUnpackMul

A multiply factor to transform the normal to the space expected by Brixelizer GI.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 148, column 22)

FfxFloat32 normalsUnpackAdd

FfxFloat32 normalsUnpackAdd

An offset to transform the normal to the space expected by Brixelizer GI.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 149, column 22)

FfxBoolean isRoughnessPerceptual

FfxBoolean isRoughnessPerceptual

A boolean to describe the space used to store roughness in the materialParameters texture. If false, we assume roughness squared was stored in the Gbuffer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 150, column 22)

FfxUInt32 roughnessChannel

FfxUInt32 roughnessChannel

The channel to read the roughness from the roughness texture.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 151, column 22)

FfxFloat32 roughnessThreshold

FfxFloat32 roughnessThreshold

Regions with a roughness value greater than this threshold won’t spawn specular rays.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 152, column 22)

FfxFloat32 environmentMapIntensity

FfxFloat32 environmentMapIntensity

The value to scale the contribution from the environment map.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 153, column 22)

FfxFloatCoords2D motionVectorScale

FfxFloatCoords2D motionVectorScale

The scale factor to apply to motion vectors.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 154, column 22)

FfxResource sdfAtlas

FfxResource sdfAtlas

The SDF Atlas resource used by Brixelizer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 156, column 17)

FfxResource bricksAABBs

FfxResource bricksAABBs

The brick AABBs resource used by Brixelizer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 157, column 17)

FfxResource cascadeAABBTrees

FfxResource cascadeAABBTrees

The cascade AABB tree resources used by Brixelizer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 158, column 17)

FfxResource cascadeBrickMaps

FfxResource cascadeBrickMaps

The cascade brick map resources used by Brixelizer.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 159, column 17)

FfxResource outputDiffuseGI

FfxResource outputDiffuseGI

A texture to write the output diffuse GI calculated by Brixelizer GI.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 161, column 17)

FfxResource outputSpecularGI

FfxResource outputSpecularGI

A texture to write the output specular GI calculated by Brixelizer GI.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 162, column 17)

FfxBrixelizerRawContext * brixelizerContext

FfxBrixelizerRawContext * brixelizerContext

A pointer to the Brixelizer context for use with Brixelizer GI.

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 164, column 29)

Used By: BrixelizerRM, ffxBrixgi

Source: sdk/include/FidelityFX/host/ffx_brixelizergi.h (line 121, column 1)