DSTORAGE_REQUEST_SOURCE_TYPE

Source types of a DirectStorage request.

Syntax

enum DSTORAGE_REQUEST_SOURCE_TYPE  : UINT64  
{  
    DSTORAGE_REQUEST_SOURCE_FILE = 0,  
    DSTORAGE_REQUEST_SOURCE_MEMORY = 1  
}  

Constants

Constant Description
DSTORAGE_REQUEST_SOURCE_FILE The source of the DirectStorage request is a file.
DSTORAGE_REQUEST_SOURCE_MEMORY The source of the DirectStorage request is a block of memory.

Remarks

This enumeration is used in the following structures:

A file-sourced queue accepts only file-sourced requests. A memory-sourced queue accepts only memory-sourced requests. For more information, see the "Memory-to-memory decompression" section of DirectStorage Overview.

Requirements

Header: dstorage_xs.h

Supported platforms: Xbox Series consoles

See also

IDStorageFactoryX::CreateQueue
DStorage