IDStorageFactoryX
Represents the static DirectStorage factory object.
Syntax
class IDStorageFactoryX : public IUnknown
Methods
Method | Description |
---|---|
CreateQueue | Creates a DirectStorage queue object. |
CreateStatusArray | Creates a DirectStorage status array object. |
OpenFile | Opens a file for DirectStorage access. |
SetCpuAffinity | Sets a CPU affinity mask for DirectStorage. |
SetDebugFlags | Sets flags used to control the debug layer. |
SetStagingBufferSize | Sets the size of the staging buffer. |
Remarks
Use the DirectStorage factory object to create DirectStorage queues, open files for DirectStorage access, and perform global operations.
To obtain a pointer to the IDStorageFactoryX
singleton, use DStorageGetFactory.
For more information, see the "IDStorageFactoryX" section of DirectStorage Overview.
Requirements
Header: dstorage_xs.h
Library: dstorage.lib
Supported platforms: Xbox Series consoles