isMSAASwapChainSupported

actual fun isMSAASwapChainSupported(engine: Engine, samples: Int): Boolean

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

MSAA can be configured when creating a SwapChain on supported platforms (EGL on Android, Metal). Other GL platforms (GLX, WGL, etc.) don't support swap chain MSAA because the settings must be configured before window creation.

Return

true if MSAA with the specified sample count is supported, false otherwise

Parameters

engine

The engine

samples

Number of samples (e.g., 2, 4, 8)

expect fun isMSAASwapChainSupported(engine: Engine, samples: Int): Boolean

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

MSAA can be configured when creating a SwapChain on supported platforms (EGL on Android, Metal). Other GL platforms (GLX, WGL, etc.) don't support swap chain MSAA because the settings must be configured before window creation.

Return

true if MSAA with the specified sample count is supported, false otherwise

Parameters

engine

The engine

samples

Number of samples (e.g., 2, 4, 8)

actual fun isMSAASwapChainSupported(engine: Engine, samples: Int): Boolean

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

MSAA can be configured when creating a SwapChain on supported platforms (EGL on Android, Metal). Other GL platforms (GLX, WGL, etc.) don't support swap chain MSAA because the settings must be configured before window creation.

Return

true if MSAA with the specified sample count is supported, false otherwise

Parameters

engine

The engine

samples

Number of samples (e.g., 2, 4, 8)

actual fun isMSAASwapChainSupported(engine: Engine, samples: Int): Boolean

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

MSAA can be configured when creating a SwapChain on supported platforms (EGL on Android, Metal). Other GL platforms (GLX, WGL, etc.) don't support swap chain MSAA because the settings must be configured before window creation.

Return

true if MSAA with the specified sample count is supported, false otherwise

Parameters

engine

The engine

samples

Number of samples (e.g., 2, 4, 8)

actual fun isMSAASwapChainSupported(engine: Engine, samples: Int): Boolean

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

MSAA can be configured when creating a SwapChain on supported platforms (EGL on Android, Metal). Other GL platforms (GLX, WGL, etc.) don't support swap chain MSAA because the settings must be configured before window creation.

Return

true if MSAA with the specified sample count is supported, false otherwise

Parameters

engine

The engine

samples

Number of samples (e.g., 2, 4, 8)