Companion

object Companion

Properties

Link copied to clipboard

Engine.createSwapChain flag: the native window is a CVPixelBufferRef (Metal).

Link copied to clipboard
const val CONFIG_ENABLE_XCB: Long = 4

Engine.createSwapChain flag: the native window is an XCB window, not XLIB.

Link copied to clipboard

Engine.createSwapChain flag: the swap chain has a stencil component.

Link copied to clipboard
const val CONFIG_MSAA_4_SAMPLES: Long = 128

Engine.createSwapChain flag: a 4x multisampled swap chain; see isMSAASwapChainSupported.

Link copied to clipboard

Engine.createSwapChain flag: a protected swap chain; see isProtectedContentSupported.

Link copied to clipboard
const val CONFIG_READABLE: Long = 2

Engine.createSwapChain flag: the swap chain can be read back (see Renderer.readPixels).

Link copied to clipboard

Engine.createSwapChain flag: an sRGB swap chain; see isSRGBSwapChainSupported.

Link copied to clipboard
const val CONFIG_TRANSPARENT: Long = 1

Engine.createSwapChain flag: a transparent swap chain.

Functions

Link copied to clipboard
fun isMSAASwapChainSupported(engine: Engine, samples: Int): Boolean

Checks if Multi-Sample Anti-Aliasing (MSAA) swap chain is supported.

Link copied to clipboard

Checks if protected content (DRM) rendering is supported on this platform.

Link copied to clipboard

Checks if sRGB swap chain is supported on this platform.