Stay organized with collections
Save and categorize content based on your preferences.
public final class FeatureLevel
Specifies a feature level for adapter requests. @see RequestAdapterOptions.featureLevel.
Summary
Constants |
static final int |
Compatibility profile, supportable on older APIs like OpenGL ES 3.1 and Direct3D 11.
|
static final int |
Core profile, requiring modern APIs like Vulkan, Metal, or Direct3D 12.
|
static final int |
Indicates no specific feature level is requested.
|
Constants
public static final int Compatibility = 1
Compatibility profile, supportable on older APIs like OpenGL ES 3.1 and Direct3D 11.
public static final int Core = 2
Core profile, requiring modern APIs like Vulkan, Metal, or Direct3D 12.
public static final int Undefined = 0
Indicates no specific feature level is requested.
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-04-22 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-04-22 UTC."],[],[]]