createSwapChain

Create a SwapChain from a native display surface.


actual fun createSwapChain(surface: NativeSurface, flags: Long): SwapChain

Create a SwapChain from a native display surface with flags.


actual fun createSwapChain(width: Int, height: Int, flags: Long): SwapChain

Create an offscreen SwapChain of specified dimensions.

Create a SwapChain from a native display surface.


expect fun createSwapChain(surface: NativeSurface, flags: Long): SwapChain

Create a SwapChain from a native display surface with flags.


expect fun createSwapChain(width: Int, height: Int, flags: Long): SwapChain

Create an offscreen SwapChain of specified dimensions.

Create a SwapChain from a native display surface.


actual fun createSwapChain(surface: NativeSurface, flags: Long): SwapChain

Create a SwapChain from a native display surface with flags.


actual fun createSwapChain(width: Int, height: Int, flags: Long): SwapChain

Create an offscreen SwapChain of specified dimensions.

Create a SwapChain from a native display surface.


actual fun createSwapChain(surface: NativeSurface, flags: Long): SwapChain

Create a SwapChain from a native display surface with flags.


actual fun createSwapChain(width: Int, height: Int, flags: Long): SwapChain

Create an offscreen SwapChain of specified dimensions.

Create a SwapChain from a native display surface.


actual fun createSwapChain(surface: NativeSurface, flags: Long): SwapChain

Create a SwapChain from a native display surface with flags.


actual fun createSwapChain(width: Int, height: Int, flags: Long): SwapChain

Create an offscreen SwapChain of specified dimensions.