Stay organized with collections
Save and categorize content based on your preferences.
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 profile, requiring modern APIs like Vulkan, Metal, or Direct3D 12.
|
const Int |
Indicates no specific feature level is requested.
|
Public companion functions |
String |
|
Constants
const val Compatibility = 1: Int
Compatibility profile, supportable on older APIs like OpenGL ES 3.1 and Direct3D 11.
const val Core = 2: Int
Core profile, requiring modern APIs like Vulkan, Metal, or Direct3D 12.
const val Undefined = 0: Int
Indicates no specific feature level is requested.
Public companion functions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-06-24 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-24 UTC."],[],[]]