Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::CommandQueueInfo Struct Reference

Command queue properties. More...

#include <GraphicsTypes.h>

Public Member Functions

bool operator== (const CommandQueueInfo &RHS) const noexcept
 Comparison operator tests if two structures are equivalent.
 

Public Attributes

COMMAND_QUEUE_TYPE QueueType = COMMAND_QUEUE_TYPE_UNKNOWN
 Indicates which type of commands are supported by this queue, see Diligent::COMMAND_QUEUE_TYPE.
 
Uint32 MaxDeviceContexts = 0
 The maximum number of immediate contexts that may be created for this queue.
 
Uint32 TextureCopyGranularity [3] = {}
 Defines required texture offset and size alignment for copy operations in transfer queues.
 

Detailed Description

Command queue properties.

Member Function Documentation

◆ operator==()

bool Diligent::CommandQueueInfo::operator== ( const CommandQueueInfo & RHS) const
inlinenoexcept

Comparison operator tests if two structures are equivalent.

Parameters
[in]RHS- reference to the structure to perform comparison with
Returns
  • True if all members of the two structures are equal.
  • False otherwise.

Member Data Documentation

◆ TextureCopyGranularity

Uint32 Diligent::CommandQueueInfo::TextureCopyGranularity[3] = {}

Defines required texture offset and size alignment for copy operations in transfer queues.

An application should check this member before performing copy operations in transfer queues.

Graphics and compute queues don't have alignment requirements (e.g TextureCopyGranularity is always {1, 1, 1}).