Swapchain
A window's images to render into and present, made for one size.
Static methods
function hxnAdopt(hxnRaw:Handle):SwapchainAn object for a value the library returned.
Properties
var hxnRaw:HandleMethods
function width():Intfunction height():Intfunction acquire():ImageWaits for the window system's next image, and returns it to render into. It stays this swapchain's: present shows it, and closing the returned image frees only its view.
function present():BoolShows the image acquire gave, once the work submitted before has finished; it must be in Layout.Present. Returns false when the window changed and the swapchain needs resize.
function resize(width:Int, height:Int):VoidMakes the swapchain again for the window's new size.
function close():VoidReleases the native value now. The collector does it otherwise. Using this object afterwards throws.