class SwapChainRenderTarget
The FidelityFX Cauldron Framework
api/platform-agnostic representation of a swap chain render target resource.
File location: framework/cauldron/framework/inc/render/texture.h
Methods
Return type |
Description |
---|---|
bool |
IsSwapChain () const
Returns true to indicate the resource is a swapchain.
|
uint32_t |
GetBackBufferCount () const
Returns the number of back buffers held by the resource.
|
GetResource (uint32_t index) const
Returns the specified back buffer backing GPUResource.
|
|
GetCurrentResource () const
Returns the current back buffer.
|
Detailed description
The FidelityFX Cauldron Framework
api/platform-agnostic representation of a swap chain render target resource.
Methods
IsSwapChain
Returns true to indicate the resource is a swapchain.
GetBackBufferCount
Returns the number of back buffers held by the resource.
GetResource
GPUResource * GetResource (uint32_t index) const
Returns the specified back buffer backing GPUResource.
GetCurrentResource
GPUResource * GetCurrentResource () const
Returns the current back buffer.