Skip to content

LiteFX::Rendering::Backends::DirectX12Queue::create

Creates the DirectX 12 command queue.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] static SharedPtr<DirectX12Queue> create(
    DirectX12Device const& device,
    QueueType type,
    QueuePriority priority);

Return Value

A pointer to the command queue instance.

Parameters

NameDescription
deviceThe device, commands get send to.
typeThe type of the command queue.
priorityThe priority, of which commands are issued on the device.