Skip to content

LiteFX::Rendering::Backends::VulkanGraphicsAdapter::create

Creates a graphics adapter instance with a physical device.

Synopsis

Declared in <litefx/backends/vulkan_api.hpp>

[[dllimport, dllexport]] static auto create(VkPhysicalDevice adapter);

Return Value

A shared pointer to the newly created graphics adapter instance.

Parameters

NameDescription
adapterThe physical device to initialize the instance with.