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

Returns the number of back buffers held by the resource.

GPUResource *

GetResource (uint32_t index) const
Returns the specified back buffer backing GPUResource.

GPUResource *

Returns the current back buffer.

Detailed description

The FidelityFX Cauldron Framework api/platform-agnostic representation of a swap chain render target resource.

Methods

IsSwapChain

Copied!

virtual bool IsSwapChain () const

Returns true to indicate the resource is a swapchain.


GetBackBufferCount

Copied!

uint32_t GetBackBufferCount () const

Returns the number of back buffers held by the resource.


GetResource

Copied!

GPUResource * GetResource (uint32_t index) const

Returns the specified back buffer backing GPUResource.


GetCurrentResource

Copied!

GPUResource * GetCurrentResource () const

Returns the current back buffer.