> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_SUBRESOURCE_DATA

> Describes subresource data. (D3D12_SUBRESOURCE_DATA)

Describes subresource data.

## Syntax

```cpp theme={null}
typedef struct D3D12_SUBRESOURCE_DATA
{
    const void  pData;
    LONG_PTR RowPitch;
    LONG_PTR SlicePitch;
} D3D12_SUBRESOURCE_DATA
```

### 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](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/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](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [D3D12_SUBRESOURCE_INFO](/reference/graphics/d3d12/structs/d3d12_subresource_info_public.md)
- [D3D12_SUBRESOURCE_FOOTPRINT](/reference/graphics/d3d12/structs/d3d12_subresource_footprint_public.md)
- [D3D12_PLACED_SUBRESOURCE_FOOTPRINT](/reference/graphics/d3d12/structs/d3d12_placed_subresource_footprint_public.md)
- [D3D12_SUBRESOURCE_TILING](/reference/graphics/d3d12/structs/d3d12_subresource_tiling_public.md)
- [D3D12_MEMCPY_DEST](/reference/graphics/d3d12/structs/d3d12_memcpy_dest_public.md)
