# CardboardVulkanDistortionRendererConfig


`#include <cardboard.h>`

Struct to set Vulkan distortion renderer configuration.

## Summary

| ### Public attributes ||
|---|---|
| `https://developers.google.com/cardboard/reference/c/struct/cardboard-vulkan-distortion-renderer-config#struct_cardboard_vulkan_distortion_renderer_config_1a206067b2f16ee87d960e484c9f457347` | `uint64_t` The logical device available for the rendering. |
| `https://developers.google.com/cardboard/reference/c/struct/cardboard-vulkan-distortion-renderer-config#struct_cardboard_vulkan_distortion_renderer_config_1af14dc58f5dd3aae3d7a6a19c93eb6bf0` | `uint64_t` The physical device available for the rendering. |
| `https://developers.google.com/cardboard/reference/c/struct/cardboard-vulkan-distortion-renderer-config#struct_cardboard_vulkan_distortion_renderer_config_1a25209bfe27aa40dcbe0b9dc89472f0c8` | `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](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDevice.html). Maintained by the user.

### physical_device

```
uint64_t CardboardVulkanDistortionRendererConfig::physical_device
```
The physical device available for the rendering.

This field holds a [VkPhysicalDevice value](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevice.html). 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](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSwapchainKHR.html). Maintained by the user.