示例、Codelab、开发者故事和视频
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
示例
你好,Vulkan
Hello Vulkan 示例演示了如何设置 Android 应用以使用 Vulkan。最终结果只是屏幕上的一个彩色三角形,但它详细显示了所需的所有设置过程。
如需深入了解每个步骤,请查看基于此示例并扩展为渲染带纹理的旋转三角形的 Codelab。
AGDK 隧道
AGDK 隧道示例演示了一个同时支持 Vulkan 和 OpenGL ES 的简单无尽游戏。该示例展示了如何检查设备是否支持 Vulkan,并在支持不足时回退到 OpenGL ES。
Unity Boat Attack
Unity Boat Attack 是一个开源示例项目,专门用于帮助测试和开发 Unity 的通用渲染管线。本教程旨在让您了解部分 URP 功能的运作方式,并提供一些技巧的学习资源。
如需了解详情,请查看开源代码库!
UE4 太阳神庙
Sun Temple 是专为 Unreal Engine 4.x 打造的示例,旨在展示该引擎在移动游戏领域的强大实力。使用它来了解 Vulkan 可以为您的移动游戏带来哪些好处!
UE5 Lyra 入门游戏
Lyra 入门游戏是随 UE5 发布的一个全新游戏大本营示例项目,旨在演示在 UE5 中制作游戏的最新最佳实践。它旨在成为游戏开发者创建新项目的起点,并可用作可自定义的学习资源。使用 Android 上的 Vulkan 导出该应用,了解 Vulkan 在 Android 移动设备上的功能!
灯丝
Filament 是一款适用于 Android、Linux、iOS、macOS、Windows 和 WebGL 的实时基于物理的渲染引擎。它旨在尽可能小巧高效。
Codelab
开始在 Android 上使用 Vulkan Codelab 将引导您完成 Vulkan 渲染流水线的设置,然后在屏幕上渲染带纹理的旋转三角形。然后,您可以继续使用该项目来渲染游戏图形。
开发者故事
越来越多的全球游戏开发者开始发布仅支持 Vulkan 的游戏。这样一来,他们就可以专注于游戏开发,而无需为旧版技术提供支持。发布仅限 Vulkan 的游戏有助于他们充分利用为现代移动芯片提供的改进。
了解这些开发者如何使用 Vulkan 提升图形效果!
视频
如需详细了解 Android 上的图形开发和 Vulkan,请观看以下视频:
Vulkanised 2024
Vulkanised 是面向使用 Vulkan API 的开发者的最大活动。它将 Vulkan 开发者社区聚集在一起,大家可以交流想法、解决问题,并帮助引导 Vulkan API 和生态系统的未来发展。
最新一届大会于 2024 年 2 月 5 日至 7 日在加利福尼亚州森尼韦尔的 Google 园区举行。如需查看完整的日程和所有演讲者的演示文稿,请参阅 Vulkanised 2024 日程。
大多数会话都会录制,您可以在 YouTube 上观看重放。
Vulkanised 2023
2023 版 Vulkanised 还介绍了移动芯片上 Vulkan 的许多有趣进展。您可以在 Vulkanised 2023 议程中找到包含视频和幻灯片的完整议程,录制的会议则收录在此 YouTube 播放列表中。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Sample, Codelab, Developer Stories and Videos\n\nSamples\n-------\n\n### Hello Vulkan\n\nThe [Hello Vulkan](https://github.com/android/ndk-samples/tree/main/hello-vulkan)\nsample demonstrates how to set up your Android application to use Vulkan. The\nend result is just a colored triangle on screen but it shows in detail all the\nsetup process needed.\n\nFor in depth understanding of each step, check out the codelab which is based on\nthis sample and expanded to render a textured, rotating triangle instead.\n\n### AGDK Tunnel\n\nThe [AGDK Tunnel](https://github.com/android/games-samples/tree/main/agdk/agdktunnel)\nsample demonstrates a simple endless game supporting both Vulkan and OpenGL ES.\nIt shows how to check the device for Vulkan support and fallback to OpenGL ES\nif support is inadequate.\n\n### Unity Boat Attack\n\n[Unity Boat Attack](https://github.com/Unity-Technologies/BoatAttack) is an open\nsource sample project specifically created to aid the testing and development of\nUnity's [Universal Render Pipeline](https://unity.com/srp/universal-render-pipeline).\nIt is meant for discovery of how some of the URP features work and a learning\nresource for some tricks.\n\nCheck out the open source [repository](https://github.com/Unity-Technologies/BoatAttack)\nto learn more!\n\n### UE4 Sun Temple\n\n[Sun Temple](https://www.unrealengine.com/marketplace/en-US/product/sun-temple)\nis specifically built sample for Unreal Engine 4.x to demonstrate the power of\nthe engine in the mobile gaming world. Use it to check out what Vulkan can bring\nto your mobile game!\n\n### UE5 Lyra Starter Game\n\n[Lyra Starter Game](https://www.unrealengine.com/marketplace/en-US/product/lyra)\nis a new sample gameplay project released with UE5 to demonstrate the latest\nbest practices for making games in UE5. It is intended to be the starting point\nfor game developers to create new projects and to serve as customizable learning\nresources. Export it with Vulkan on Android to check out the capabilities of\nVulkan on Android mobile devices!\n\n### Filament\n\n[Filament](https://github.com/google/filament/tree/main/android/samples) is a\nreal-time physically based rendering engine for Android, Linux, iOS, macOS,\nWindows and WebGL. It is designed to be as small and efficient as possible.\n\nCodelab\n-------\n\nThe [Getting started with Vulkan on Android](/codelabs/beginning-vulkan-on-android)\ncodelab guides you through setting up your Vulkan rendering pipeline and then\nrendering a textured, rotating triangle on the screen. You can then continue to\nuse the project to render your game graphics.\n\nDeveloper Stories\n-----------------\n\nIncreasingly, game developers around the world are releasing Vulkan only titles.\nThis enables them to focus on their game instead of having to work on supporting\nlegacy technology. Releasing Vulkan only titles enables them to make full use of\nimprovements made available to modern mobile chips.\n\nCheck out how these developers use Vulkan for better graphics!\n\n- [Com2uS uses Vulkan for better graphics](/stories/games/com2us-vulkan)\n- [Call of Duty Warzone Mobile uses Vulkan for better graphics](/stories/games/codwzm-vulkan)\n- [Godot Engine Vulkan optimization for Android](/stories/games/godot-vulkan)\n- [Pokémon TCG Pocket: Adopting Vulkan only development for casual games](/stories/games/pokemon-tcg-pocket-vulkan)\n\nVideos\n------\n\nTo learn more about graphics development and Vulkan on Android, check out these\nvideos:\n\n- [Making high fidelity Android games possible with Vulkan (Google I/O'19)](https://www.youtube.com/watch?v=2Cf8RHEAPLM)\n- [Optimizing Vulkan games performance (GGDS 2023)](https://www.youtube.com/watch?v=QXZ0_gkeltU)\n- [Android game graphics - OpenGL ES versus Vulkan case study (GDC 2023)](https://www.youtube.com/watch?v=C7OjI7CpjLw&list=PLWz5rJ2EKKc8VK6goaP4eh8NsB9Fa5090&index=13)\n\n### Vulkanised 2024\n\nVulkanised is the largest event dedicated to developers using the Vulkan API.\nIt brings the Vulkan developer community together to exchange ideas, solve\nproblems and help steer the future development of the Vulkan API and ecosystem.\n\nThe latest edition was hosted on February 5 - 7, 2024 in Google Campus in\nSunnyvale. The full agenda with all the presenters' decks can be found in\n[Vulkanised 2024 Agenda](https://vulkan.org/events/vulkanised-2024#agenda).\n\nMost of the sessions are recorded and the replay can be viewed on\n[YouTube](https://www.youtube.com/playlist?list=PLMLurvdlOpWOh_nXIbXbBewWuERe-8xVW).\n\n### Vulkanised 2023\n\nThe 2023 edition of the Vulkanised covers plenty of interesting progress for\nVulkan on mobile chips as well. The full agenda with the videos and decks can be\nfound in [Vulkanised 2023 Agenda](https://vulkan.org/events/vulkanised-2023#agenda),\nand the recorded sessions are on this [YouTube Playlist](https://www.youtube.com/watch?v=lOKIeIr77Ow&list=PLMLurvdlOpWOluO2PqfGO7XBU8FBlpDug)."]]