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.

Methods

@:has_untypedgetNextTexture():SwapChainOutput

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

@:has_untypedpresent():Void

Present the texture acquired from getNextTexture to the associated Surface.