Vulkan 图形 API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Android 平台包括来自 Khronos Group 的 Vulkan API 规范的 Android 专属实现。Vulkan 是用于高性能 3D 图形的低开销、跨平台 API。它提供用于在应用中创建高质量实时图形的工具。Vulkan 还具有诸多优势,例如降低 CPU 开销以及支持 SPIR-V 二进制文件中间语言。
本部分首先介绍如何开始在您的 Android 应用中使用 Vulkan。接下来将介绍 Android 平台上的一些 Vulkan 设计指南,这些是您需要了解的实用信息。您将通过这些信息了解如何使用 Vulkan 的着色器编译器。最后,我们将向您介绍如何使用验证层协助确保使用 Vulkan 的应用的稳定性。
如需详细了解此跨平台 API 规范的相关常规信息,请参阅 Khronos 的 Vulkan 概览。您也可以通过 Vulkan 新闻页面了解 Vulkan 相关开发工作的最新动态。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],[],null,["# Vulkan graphics API\n\nThe Android platform includes an Android-specific implementation of the\n[Vulkan](https://www.khronos.org/vulkan/) API\nspecification from the Khronos Group. Vulkan is a\nlow-overhead, cross-platform API for high-performance, 3D graphics. It provides tools\nfor creating high-quality, real-time graphics in\napplications. Vulkan also provides advantages such as reducing\nCPU overhead and providing support for the\n[SPIR-V Binary\nIntermediate language](https://www.khronos.org/spir).\n\n\nThis section begins with information on how to\n[get started](/ndk/guides/graphics/getting-started) using Vulkan in your\nAndroid app. Next, it provides useful information that you should know about\n[Vulkan design guidelines](/ndk/guides/graphics/design-notes)\non the Android platform. From there, it explains how\nto use Vulkan's [shader compilers](/ndk/guides/graphics/shader-compilers).\nLast, it teaches you how to use\n[validation layers](/ndk/guides/graphics/validation-layer)\nto help assure stability in apps using Vulkan.\n\n\nFor more general information about this cross-platform API specification, see\nKhronos's\n[Vulkan Overview](http://khr.io/vulkanlaunchoverview).\nYou can also keep up with the latest Vulkan-related developments at the\nVulkan\n[news page](https://www.khronos.org/#slider_vulkan)."]]