Stay organized with collections
Save and categorize content based on your preferences.
CardboardVulkanDistortionRendererConfig
#include <cardboard.h>
Struct to set Vulkan distortion renderer configuration.
Summary
Public attributes
|
logical_device
|
uint64_t
The logical device available for the rendering.
|
physical_device
|
uint64_t
The physical device available for the rendering.
|
vk_swapchain
|
uint64_t
The swapchain that owns the buffers into which the scene is rendered.
|
Public attributes
logical_device
uint64_t CardboardVulkanDistortionRendererConfig::logical_device
The logical device available for the rendering.
This field holds a VkDevice value. Maintained by the user.
physical_device
uint64_t CardboardVulkanDistortionRendererConfig::physical_device
The physical device available for the rendering.
This field holds a VkPhysicalDevice value. Maintained by the user.
vk_swapchain
uint64_t CardboardVulkanDistortionRendererConfig::vk_swapchain
The swapchain that owns the buffers into which the scene is rendered.
This field holds a VkSwapchainKHR value. Maintained by the user.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eCardboardVulkanDistortionRendererConfig\u003c/code\u003e is a struct used to configure the Vulkan distortion renderer in Cardboard.\u003c/p\u003e\n"],["\u003cp\u003eIt contains three public attributes: \u003ccode\u003elogical_device\u003c/code\u003e, \u003ccode\u003ephysical_device\u003c/code\u003e, and \u003ccode\u003evk_swapchain\u003c/code\u003e, which are maintained by the user and hold respective Vulkan object handles.\u003c/p\u003e\n"],["\u003cp\u003eThese attributes provide the necessary Vulkan resources for the distortion renderer to operate, including the logical and physical device handles and the swapchain for rendering.\u003c/p\u003e\n"]]],[],null,["# CardboardVulkanDistortionRendererConfig Struct Reference\n\nCardboardVulkanDistortionRendererConfig\n=======================================\n\n`#include \u003ccardboard.h\u003e`\n\nStruct to set Vulkan distortion renderer configuration.\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|\n| [logical_device](#struct_cardboard_vulkan_distortion_renderer_config_1a206067b2f16ee87d960e484c9f457347) | `uint64_t` The logical device available for the rendering. |\n| [physical_device](#struct_cardboard_vulkan_distortion_renderer_config_1af14dc58f5dd3aae3d7a6a19c93eb6bf0) | `uint64_t` The physical device available for the rendering. |\n| [vk_swapchain](#struct_cardboard_vulkan_distortion_renderer_config_1a25209bfe27aa40dcbe0b9dc89472f0c8) | `uint64_t` The swapchain that owns the buffers into which the scene is rendered. |\n\nPublic attributes\n-----------------\n\n### logical_device\n\n```scdoc\nuint64_t CardboardVulkanDistortionRendererConfig::logical_device\n``` \nThe logical device available for the rendering.\n\nThis field holds a [VkDevice value](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDevice.html). Maintained by the user. \n\n### physical_device\n\n```scdoc\nuint64_t CardboardVulkanDistortionRendererConfig::physical_device\n``` \nThe physical device available for the rendering.\n\nThis field holds a [VkPhysicalDevice value](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevice.html). Maintained by the user. \n\n### vk_swapchain\n\n```scdoc\nuint64_t CardboardVulkanDistortionRendererConfig::vk_swapchain\n``` \nThe swapchain that owns the buffers into which the scene is rendered.\n\nThis field holds a [VkSwapchainKHR value](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSwapchainKHR.html). Maintained by the user."]]