DSTORAGE_REQUEST structure (dstorage.h)
Represents a DirectStorage request.
Syntax
struct DSTORAGE_REQUEST {
DSTORAGE_REQUEST_OPTIONS Options;
DSTORAGE_SOURCE Source;
DSTORAGE_DESTINATION Destination;
UINT32 UncompressedSize;
UINT64 CancellationTag;
const CHAR *Name;
};
Members
Options
Combination of decompression and other options for this request.
Source
The source for this request.
Destination
The destination for this request.
UncompressedSize
The uncompressed size in bytes for the destination for this request. If the request is not compressed, then this can be left as 0. Otherwise, this should be equal to the destination size.
If the destination is to memory or buffer, then the destination size should be specified in the corresponding struct (for example, DSTORAGE_DESTINATION_MEMORY). For textures, it's the value of pTotalBytes returned by GetCopyableFootprints. For tiles, it's 64k * number of tiles.
CancellationTag
An arbitrary UINT64 number used for cancellation matching.
Name
Optional name of the request. Used for debugging. If specified, the string should be accessible until the request completes.
Requirements
Header | dstorage.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for