SwapChain

A handle to a swap chain.

A SwapChain represents the image or series of images that will be presented to a Surface. A SwapChain may be created with Device.createSwapChain.

Members

Functions

getNextTexture
SwapChainOutput getNextTexture()

Returns the next texture to be presented by the swapchain for drawing.

Variables

descriptor
SwapChainDescriptor descriptor;

Describes this SwapChain.

id
WgpuId id;

Handle identifier.

See Also

Meta