แสดงผลแอป AR โดยใช้ Vulkan
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คู่มือเฉพาะแพลตฟอร์ม
แอปที่ใช้ ARCore สามารถแสดงผลพื้นผิวของกล้องบนหน้าจอได้โดยใช้ Vulkan Graphics API
การแสดงผลแอปโดยใช้ Vulkan ช่วยให้คุณลดค่าใช้จ่ายเพิ่มเติมของ CPU ได้
เมื่อเปิดใช้การแสดงผล Vulkan แล้ว ARCore จะอัปเดตบัฟเฟอร์ฮาร์ดแวร์ของ Android บัฟเฟอร์ฮาร์ดแวร์นี้สามารถเชื่อมโยงกับ VkImage
ของ Vulkan ได้
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eARCore apps can utilize the Vulkan graphics API for rendering, leading to decreased CPU load.\u003c/p\u003e\n"],["\u003cp\u003eWhen using Vulkan, ARCore updates a hardware buffer that can be linked to a Vulkan VkImage.\u003c/p\u003e\n"],["\u003cp\u003ePlatform-specific guides are available for Android using Kotlin/Java and Android NDK using C to implement Vulkan rendering in AR apps.\u003c/p\u003e\n"]]],[],null,["# Render your AR app using Vulkan\n\n**Platform-specific guides** \n\n### Android (Kotlin/Java)\n\n- [Render your AR app using Vulkan on Android SDK (Kotlin/Java)](/ar/develop/java/vulkan)\n\n### Android NDK (C)\n\n- [Render your AR app using Vulkan on Android NDK (C)](/ar/develop/c/vulkan)\n\n### Unity (AR Foundation)\n\n- [Developer guide](/ar/develop/unity-arf/vulkan/developer-guide)\n\nApps using ARCore can render the camera texture onto the screen using the\n[Vulkan graphics API](https://developer.android.com/ndk/guides/graphics).\nRendering your app using Vulkan lets you reduce CPU overhead.\n\nWhen Vulkan rendering is enabled, ARCore updates an Android [hardware buffer](https://developer.android.com/ndk/reference/group/a-hardware-buffer). This hardware buffer can be bound to a Vulkan [`VkImage`](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImage.html)."]]