Not
Bu sayfaya erişim yetkilendirme gerektiriyor. Oturum açmayı veya dizinleri değiştirmeyi deneyebilirsiniz.
Bu sayfaya erişim yetkilendirme gerektiriyor. Dizinleri değiştirmeyi deneyebilirsiniz.
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 |