namespace SDKWrapper
namespace SDKWrapper {
Functions
Detailed description
Global functions
ffxGetScratchMemorySize
Query how much memory is required for the backend’s scratch buffer.
ffxGetInterface
FfxErrorCode ffxGetInterface (
FfxInterface * backendInterface,
cauldron::Device * device,
void* scratchBuffer,
size_t scratchBufferSize,
size_t maxContexts
)
Initialize the FfxInterface
with function pointers for the backend.
ffxGetCommandList
FfxCommandList ffxGetCommandList (cauldron::CommandList * cauldronCmdList)
Create a FfxCommandList
from a CommandList
.
ffxGetPipeline
FfxPipeline ffxGetPipeline (cauldron::PipelineObject * cauldronPipeline)
Create a FfxPipeline
from a PipelineObject
.
ffxGetResource
FfxResource ffxGetResource (
const cauldron::GPUResource * cauldronResource,
const wchar_t* name = nullptr,
FfxResourceStates state = FFX_RESOURCE_STATE_COMPUTE_READ ,
FfxResourceUsage additionalUsages = (FfxResourceUsage ) 0
)
Fetch a FfxResource
from a GPUResource
.
ffxReplaceSwapchainForFrameinterpolation
FfxErrorCode ffxReplaceSwapchainForFrameinterpolation (
FfxCommandQueue gameQueue,
FfxSwapchain& gameSwapChain,
const void* replacementParameters
)
Replaces the current swapchain with the provided FfxSwapchain
for FSR 3 frame interpolation support.
ffxRegisterFrameinterpolationUiResource
FfxErrorCode ffxRegisterFrameinterpolationUiResource (
FfxSwapchain gameSwapChain,
FfxResource uiResource,
uint32_t flags
)
Registers a FfxResource
to use for UI with the provided FfxSwapchain
for FSR 3 frame interpolation support.
ffxGetInterpolationCommandlist
FfxErrorCode ffxGetInterpolationCommandlist (
FfxSwapchain gameSwapChain,
FfxCommandList & gameCommandlist
)
Fetches a FfxCommandList
from the FfxSwapchain for FSR 3 frame interpolation support
for FSR 3 frame interpolation support.
ffxGetSwapchain
FfxSwapchain ffxGetSwapchain (cauldron::SwapChain * pSwapChain)
Fetch a FfxSwapchain
from a Cauldron SwapChain.
ffxGetCommandQueue
FfxCommandQueue ffxGetCommandQueue (cauldron::Device * pDevice)
Fetch a FfxCommandQueue
from a Cauldron Device.
ffxGetResourceDescription
FfxResourceDescription ffxGetResourceDescription (cauldron::GPUResource * pResource)
Fetch a FfxResourceDescription
from a Cauldron GPUResource.
ffxGetFrameinterpolationTexture
FfxResource ffxGetFrameinterpolationTexture (FfxSwapchain ffxSwapChain)
Fetches a FfxResource
representing the backbuffer from the FfxSwapchain
for FSR 3 frame interpolation support.
ffxSetupFrameInterpolationSwapChain
Configures the swap chain for FSR 3 interpolation.
ffxRestoreApplicationSwapChain
Restores previous configuration swap chain to state before FSR 3 interpolation was configured (see ffxSetupFrameInterpolationSwapChain).
ffxAllocateConstantBuffer
FfxConstantAllocation ffxAllocateConstantBuffer (
void* data,
FfxUInt64 dataSize
)
Performs constant buffer allocation using our own allocator.