FidelityFX SSSR
Navigation: SDK → Effect Components
FidelityFX SSSR
FidelityFX Stochastic Screen Space Reflections runtime library.
Defines
FFX_SSSR_VERSION_MAJOR
#define FFX_SSSR_VERSION_MAJOR (1)FidelityFX Stochastic Screen Space Reflections major version.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 36, column 9)
FFX_SSSR_VERSION_MINOR
#define FFX_SSSR_VERSION_MINOR (5)FidelityFX Stochastic Screen Space Reflections minor version.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 41, column 9)
FFX_SSSR_VERSION_PATCH
#define FFX_SSSR_VERSION_PATCH (0)FidelityFX Stochastic Screen Space Reflections patch version.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 46, column 9)
FFX_SSSR_CONTEXT_COUNT
#define FFX_SSSR_CONTEXT_COUNT 2FidelityFX SSSR context count.
Defines the number of internal effect contexts required by SSSR We need 2, one for the SSSR context and one for the FidelityFX Denoiser
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 54, column 9)
FFX_SSSR_CONTEXT_SIZE
#define FFX_SSSR_CONTEXT_SIZE (118914)The size of the context specified in 32bit values.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 59, column 9)
Enumerations
FfxSssrPass
enum FfxSssrPassAn enumeration of all the passes which constitute the SSSR algorithm.
SSSR is implemented as a composite of several compute passes each computing a key part of the final result. Each call to the FfxSssrScheduleGpuJobFunc callback function will correspond to a single pass included in FfxSssrPass. For a more comprehensive description of each pass, please refer to the SSSR reference documentation.
Values:
FFX_SSSR_PASS_DEPTH_DOWNSAMPLE
FFX_SSSR_PASS_DEPTH_DOWNSAMPLE = 0A pass which performs the hierarchical depth buffer generation.
FFX_SSSR_PASS_CLASSIFY_TILES
FFX_SSSR_PASS_CLASSIFY_TILES = 1A pass which classifies which pixels require screen space ray marching.
FFX_SSSR_PASS_PREPARE_BLUE_NOISE_TEXTURE
FFX_SSSR_PASS_PREPARE_BLUE_NOISE_TEXTURE = 2A pass which generates an optimized blue noise texture.
FFX_SSSR_PASS_PREPARE_INDIRECT_ARGS
FFX_SSSR_PASS_PREPARE_INDIRECT_ARGS = 3A pass which generates the indirect arguments for the intersection pass.
FFX_SSSR_PASS_INTERSECTION
FFX_SSSR_PASS_INTERSECTION = 4A pass which performs the actual hierarchical depth ray marching.
FFX_SSSR_PASS_COUNT
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 75, column 1)
FfxSssrInitializationFlagBits
enum FfxSssrInitializationFlagBitsAn enumeration of bit flags used when creating a FfxSssrContext. See FfxSssrContextDescription.
Values:
FFX_SSSR_ENABLE_DEPTH_INVERTED
FFX_SSSR_ENABLE_DEPTH_INVERTED = (1 <<0)A bit indicating that the input depth buffer data provided is inverted [1..0].
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 89, column 1)