Defines
Top level defines used by the FidelityFX SDK.
Macros
Name |
Description |
---|---|
FidelityFX exported functions.
|
|
FFX_BUFFER_SIZE (4096) |
Size of constant buffer entry in the ring buffer table.
|
FFX_CONSTANT_BUFFER_RING_BUFFER_SIZE (FFX_MAX_QUEUED_FRAMES * FFX_MAX_PASS_COUNT * FFX_BUFFER_SIZE) |
Total constant buffer ring buffer size for a single effect context.
|
FFX_MAX_BARRIERS (128) |
Maximum number of barriers per flush.
|
FFX_MAX_GPU_JOBS (256) |
Maximum number of GPU jobs per submission.
|
Maximum number of constant buffers bound.
|
|
Maximum supported number of simultaneously bound SRVs.
|
|
Maximum supported number of simultaneously bound UAVs.
|
|
FFX_MAX_PASS_COUNT (50) |
Maximum number of passes per effect component.
|
Maximum number of queued frames in the backend.
|
|
FFX_MAX_RESOURCE_COUNT (512) |
Maximum number of resources per effect context.
|
FFX_MAX_SAMPLERS (16) |
Maximum number of samplers supported.
|
Maximum number of characters in a resource name.
|
|
FFX_RING_BUFFER_DESCRIPTOR_COUNT (FFX_MAX_QUEUED_FRAMES * FFX_MAX_PASS_COUNT * FFX_MAX_RESOURCE_COUNT) |
Total number of descriptors in ring buffer needed for a single effect context.
|
UPLOAD_JOB_COUNT (16) |
Maximum number of simultaneous upload jobs.
|
Detailed description
Top level defines used by the FidelityFX SDK.
Macros
FFX_API
FidelityFX exported functions.
FFX_BUFFER_SIZE
Size of constant buffer entry in the ring buffer table.
FFX_CONSTANT_BUFFER_RING_BUFFER_SIZE
Total constant buffer ring buffer size for a single effect context.
FFX_MAX_BARRIERS
Maximum number of barriers per flush.
FFX_MAX_GPU_JOBS
Maximum number of GPU jobs per submission.
FFX_MAX_NUM_CONST_BUFFERS
Maximum number of constant buffers bound.
FFX_MAX_NUM_SRVS
Maximum supported number of simultaneously bound SRVs.
FFX_MAX_NUM_UAVS
Maximum supported number of simultaneously bound UAVs.
FFX_MAX_PASS_COUNT
Maximum number of passes per effect component.
FFX_MAX_QUEUED_FRAMES
Maximum number of queued frames in the backend.
FFX_MAX_RESOURCE_COUNT
Maximum number of resources per effect context.
FFX_MAX_SAMPLERS
Maximum number of samplers supported.
FFX_RESOURCE_NAME_SIZE
Maximum number of characters in a resource name.
FFX_RING_BUFFER_DESCRIPTOR_COUNT
Total number of descriptors in ring buffer needed for a single effect context.
UPLOAD_JOB_COUNT
Maximum number of simultaneous upload jobs.