Inherits AZ::RHI::DeviceObject.
Classes | |
struct | Descriptor |
Public Member Functions | |
AZ_CLASS_ALLOCATOR (Queue, AZ::SystemAllocator) | |
AZ_RTTI (Queue, "C3420514-4BB2-4416-A6A1-FEFFF041BCB4", Base) | |
RHI::ResultCode | Init (RHI::Device &deviceBase, const Descriptor &descriptor) |
VkQueue | GetNativeQueue () const |
Get Vulkan's native VkQueue. | |
RHI::ResultCode | SubmitCommandBuffers (const AZStd::vector< RHI::Ptr< CommandList > > &commandBuffers, const AZStd::vector< Semaphore::WaitSemaphore > &waitSemaphoresInfo, const AZStd::vector< RHI::Ptr< Semaphore > > &semaphoresToSignal, const AZStd::vector< RHI::Ptr< AZ::Vulkan::Fence > > &fencesToWaitFor, AZ::Vulkan::Fence *fenceToSignal) |
Submit commandBuffers to this queue. | |
void | WaitForIdle () |
Waits (blocks) until all fences are signaled in the fence-list. | |
const Descriptor & | GetDescriptor () const |
QueueId | GetId () const |
void | BeginDebugLabel (const char *label, const AZ::Color color=Debug::DefaultLabelColor) |
void | EndDebugLabel () |
![]() | |
AZ_RTTI (DeviceObject, "{17D34F71-944C-4AF5-9823-627474C4C0A6}", Object) | |
bool | IsInitialized () const |
Returns whether the device object is initialized. | |
Device & | GetDevice () const |
![]() | |
AZ_RTTI (Object, "{E43378F1-2331-4173-94B8-990ED20E6003}") | |
void | SetName (const Name &name) |
Sets the name of the object. | |
const Name & | GetName () const |
Returns the name set on the object by SetName. | |
uint32_t | use_count () |
Returns the current use count of the object. | |
Friends | |
class | CommandQueue |
Additional Inherited Members | |
![]() | |
void | Init (Device &device) |
The derived class should call this method to assign the device. | |
void | Shutdown () override |
Clears the current bound device to null. | |
![]() | |
void | add_ref () const |
void | release () const |
![]() | |
AZStd::atomic_int | m_useCount = 0 |