DSTORAGE_QUEUE_DESC structure (dstorage.h)

Contains the properties of a DirectStorage queue for the queue's creation.

Syntax

struct DSTORAGE_QUEUE_DESC {
  DSTORAGE_REQUEST_SOURCE_TYPE SourceType;
  UINT16                       Capacity;
  DSTORAGE_PRIORITY            Priority;
  const CHAR                   *Name;
  ID3D12Device                 *Device;
};

Members

SourceType

The source type of requests that this DirectStorage queue can accept.

Capacity

The maximum number of requests that the queue can hold.

Priority

The priority of the requests in this queue.

Name

Optional name of the queue. Used for debugging.

Device

Optional device to use for writing to destination resources, and performing GPU decompression. The destination resource's device must match this device.

This member may be null. If you specify a null device, then the destination type must be DSTORAGE_REQUEST_DESTINATION_MEMORY.

Requirements

   
Header dstorage.h