Skip to main content
Describes subresource data.

Syntax

Members

pData
Type: const void *
A pointer to a memory block that contains the subresource data. RowPitch
Type: LONG_PTR
The row pitch, or width, or physical size, in bytes, of the subresource data. SlicePitch
Type: LONG_PTR
The depth pitch, or width, or physical size, in bytes, of the subresource data.

Remarks

This structure is used by a number of the helper functions, refer to Helper Structures and Functions for D3D12.

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

Core Structures
Last modified on August 20, 2026