FeatureLevel


class FeatureLevel


Specifies a feature level for adapter requests. @see RequestAdapterOptions.featureLevel.

Summary

Constants

const Int

Compatibility profile, supportable on older APIs like OpenGL ES 3.1 and Direct3D 11.

const Int
Core = 2

Core profile, requiring modern APIs like Vulkan, Metal, or Direct3D 12.

const Int

Indicates no specific feature level is requested.

Public companion functions

String
toString(value: Int)

Constants

Compatibility

const val Compatibility = 1: Int

Compatibility profile, supportable on older APIs like OpenGL ES 3.1 and Direct3D 11.

Core

const val Core = 2: Int

Core profile, requiring modern APIs like Vulkan, Metal, or Direct3D 12.

Undefined

const val Undefined = 0: Int

Indicates no specific feature level is requested.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String