DSTORAGE_DESTINATION_TEXTURE_REGION structure (dstorage.h)

Describes the destination for a request with DSTORAGE_REQUEST_OPTIONS::DestinationType set to DSTORAGE_REQUEST_DESTINATION_TEXTURE_REGION.

Syntax

struct DSTORAGE_DESTINATION_TEXTURE_REGION {
  ID3D12Resource *Resource;
  UINT           SubresourceIndex;
  D3D12_BOX      Region;
};

Members

Resource

Address of the resource to receive the final result of this request.

SubresourceIndex

Describes the destination texture copy location. The subresource referred to must be in the D3D12_RESOURCE_STATE_COMMON state.

Region

Coordinates and size of the destination region to copy, in pixels.

Requirements

   
Header dstorage.h