Swapchain
A swap chain on a window: its buffers are render targets, presented in turn.
Static methods
function hxnAdopt(hxnRaw:Handle):SwapchainAn object for a value the library returned.
Properties
var hxnRaw:HandleMethods
function currentIndex():IntThe buffer to render into next.
function buffer(index:Int):TextureBuffer index as a render target texture. It is in the common (present) state.
function present(interval:Int):VoidPresents the current buffer, after interval vertical blanks (0 presents at once).
function close():VoidReleases the native value now. The collector does it otherwise. Using this object afterwards throws.