Skip to content

LiteFX::Rendering::Backends::VulkanBackend::device

Looks up a device and returns a pointer to it, or nullptr, if no device with the provided name could be found.

Synopses

Declared in <litefx/backends/vulkan.hpp>

Looks up a device and returns a pointer to it, or nullptr, if no device with the provided name could be found.

[[dllimport, dllexport]] virtual VulkanDevice* device(String const& name) override;

» more...

Looks up a device and returns a pointer to it, or nullptr, if no device with the provided name could be found.

[[dllimport, dllexport]] virtual VulkanDevice const* device(String const& name) const override;

» more...

Return Value

A pointer to the device or nullptr, if no device could be found.

Parameters

NameDescription
nameThe name of the device.