Skip to main content
Describes a portion of a texture for the purpose of texture copies.

Syntax

Members

pResource
Type: ID3D12Resource *
Specifies the resource which will be used for the copy operation.
When Type is D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT, pResource must point to a buffer resource.
When Type is D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX, pResource must point to a texture resource.
Type
Type: D3D12_TEXTURE_COPY_TYPE
Specifies which type of resource location this is: a subresource of a texture, or a description of a texture layout which can be applied to a buffer. This D3D12_TEXTURE_COPY_TYPE enum indicates which union member to use. PlacedFootprint
Type: D3D12_PLACED_SUBRESOURCE_FOOTPRINT
Specifies a texture layout, with offset, dimensions, and pitches, for the hardware to understand how to treat a section of a buffer resource as a multi-dimensional texture. To fill-in the correct data for a CopyTextureRegion call, see D3D12_PLACED_SUBRESOURCE_FOOTPRINT. SubresourceIndex
Type: UINT
Specifies the index of the subresource of an arrayed, mip-mapped, or planar texture should be used for the copy operation.

Remarks

Use this structure with CopyTextureRegion.

Requirements

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family

See Also

CD3DX12_TEXTURE_COPY_LOCATION Core Structures D3D12_PLACED_SUBRESOURCE_FOOTPRINT
Last modified on August 20, 2026