Vulkan เป็น API กราฟิก 3 มิติแบบข้ามแพลตฟอร์มที่ทันสมัยซึ่งออกแบบมาเพื่อลดการแยกแยะระหว่างฮาร์ดแวร์กราฟิกของอุปกรณ์กับเกม Vulkan เป็น API กราฟิกระดับล่างหลักใน Android ซึ่งมาแทนที่ OpenGL ES Android ยังคงรองรับ OpenGL ES แต่ไม่ได้อยู่ในระหว่างการพัฒนาฟีเจอร์อย่างจริงจังอีกต่อไป Vulkan มีข้อได้เปรียบเหนือกว่า OpenGL ES ดังนี้
สถาปัตยกรรมที่มีประสิทธิภาพมากขึ้นโดยมีค่าใช้จ่ายเพิ่มเติมของ CPU ในโปรแกรมควบคุมกราฟิกน้อยลง
กลยุทธ์การเพิ่มประสิทธิภาพใหม่เพื่อปรับปรุงประสิทธิภาพของ CPU
ฟีเจอร์กราฟิกใหม่ๆ ที่ไม่พร้อมใช้งานใน OpenGL ES เช่น API แบบไม่ใช้การเชื่อมโยงและการเรย์ซิ่ง
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Use Vulkan for graphics\n\n[Vulkan](https://www.vulkan.org/) is a modern cross-platform 3D\ngraphics API designed to minimize abstraction between device graphics hardware\nand your game. Vulkan is the primary low-level graphics API on Android,\nreplacing [OpenGL ES](https://www.khronos.org/opengles/). OpenGL ES\nis still supported on Android, but is no longer under active feature\ndevelopment. Vulkan offers the following advantages over OpenGL ES:\n\n- A more efficient architecture with lower CPU overhead in the graphics driver\n- New optimization strategies to improve CPU performance\n- New graphics features not available in OpenGL ES such as bindless APIs and ray tracing\n\nVulkan is available on Android from\n[Android 7 (API level 24)](/about/versions/nougat).\nAll 64-bit Android devices from Android 10 (API level 29) and higher support\nVulkan 1.1. [Eighty-five percent](/about/dashboards) of active Android\ndevices support Vulkan. The\n[Android Baseline profile](/ndk/guides/graphics/android-baseline-profile)\ndefines a minimum feature set for Vulkan-capable devices.\n\nVulkan helps you create better looking and more performant games. Vulkan unlocks\nthe full potential of modern graphics hardware. Vulkan is used by the\n[Android UI rendering framework](https://skia.org/docs/user/special/vulkan/)\non compatible devices. Current versions of the Unity and Unreal game engines\nchoose Vulkan as their default renderer on compatible Android devices.\nThe [ANGLE](https://github.com/google/angle) project implements a\nconformant implementation of the OpenGL ES API on top of Vulkan.\n\nGet started\n-----------\n\n### C/C++\n\nTo learn how to use Vulkan in your C/C++ game engine on Android, see\n[Get started with Vulkan on Android](/games/develop/vulkan/native-engine-support#get_started_with_vulkan_on_android).\n\nFurthermore, there is a generic Vulkan section for non-game developers in the\nNative Development Kit (NDK) documentation covering the following topics:\n\n- [Shader compilers](/ndk/guides/graphics/shader-compilers) for improved performance\n- [Validation layers](/ndk/guides/graphics/validation-layer) for Vulkan code debugging\n- [Vulkan extensions](/ndk/guides/graphics/extensions) for custom functionality\n- [Android Baseline profile](/ndk/guides/graphics/android-baseline-profile) for device requirements\n\n### Game engines\n\n- [Vulkan on Unity](/games/develop/vulkan/game-engine-support#unity)\n- [Vulkan on Unreal](/games/develop/vulkan/game-engine-support#unreal)\n\nAbout ANGLE\n-----------\n\nVulkan is the preferred Android interface to the GPU.\n[Android 15](https://developer.android.com/about/versions/15/summary) and up\nincludes ANGLE as an optional layer for running OpenGL ES on top of Vulkan.\nMoving to ANGLE standardizes the Android OpenGL implementation for improved\ncompatibility, and in some cases, improved performance.\n\nTest your OpenGL ES app stability and performance with ANGLE using a wide\nvariety of Android 15+ devices by enabling ANGLE for your package with the\nfollowing two adb commands. Replace \"package-name\" with the package to test.\n\n`adb shell settings put global angle_gl_driver_selection_pkgs package-name`\n\n`adb shell settings put global angle_gl_driver_selection_values angle`\n\nThese settings persist across a device reboot.\nTo disable ANGLE use the following commands:\n\n`adb shell settings delete global angle_gl_driver_selection_pkgs`\n\n`adb shell settings delete global angle_gl_driver_selection_values`\n| **Important:** Use the adb commands to test the ANGLE driver for OpenGL ES games. For new projects, use Vulkan.\n\n### Android ANGLE on Vulkan roadmap\n\n| **Note:** As part of streamlining the Android GPU stack, we will ship ANGLE as the GL system driver on more new devices, with the expectation that ultimately OpenGL ES will be available only through ANGLE. We will however continue support for OpenGL ES on all devices.\n\n### Report issue for ANGLE\n\nIf you encountered any issue with ANGLE, report it to us by submitting it in our\n[issue tracker](https://issuetracker.google.com/issues/new?component=1765977&template=2111394).\n| **Note:** This issue tracker is not subject to any SLA."]]