| Flutter Impeller |

Public Member Functions | List of all members
impeller::DeviceHolderVK Class Referenceabstract

Holds a strong reference to the underlying logical Vulkan device. This comes in handy when the context is being torn down and the various components on different threads may need to orchestrate safe shutdown. More...

`#include <device_holder_vk.h>`

## Public Member Functions
virtual | ~DeviceHolderVK ()=default
virtual const vk::Device & | GetDevice () const =0
virtual const vk::PhysicalDevice & | GetPhysicalDevice () const =0

## Detailed Description

Holds a strong reference to the underlying logical Vulkan device. This comes in handy when the context is being torn down and the various components on different threads may need to orchestrate safe shutdown.

Definition at line 18 of file device_holder_vk.h.

## Constructor & Destructor Documentation

## ◆ ~DeviceHolderVK()

virtual impeller::DeviceHolderVK::~DeviceHolderVK | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ GetDevice()

virtual const vk::Device& impeller::DeviceHolderVK::GetDevice | ( |  | ) | const
| pure virtual

## ◆ GetPhysicalDevice()

virtual const vk::PhysicalDevice& impeller::DeviceHolderVK::GetPhysicalDevice | ( |  | ) | const
| pure virtual

The documentation for this class was generated from the following file:

- impeller/renderer/backend/vulkan/device_holder_vk.h