Skip to main content
Queries reflection metadata about available meta commands.

Syntax

Parameters

pNumMetaCommands
Type: UINT *
A pointer to a UINT containing the number of meta commands to query for. This field determines the size of the pDescs array, unless pDescs is nullptr. pDescs
Type: D3D12_META_COMMAND_DESC *
An optional pointer to an array of D3D12_META_COMMAND_DESC containing the descriptions of the available meta commands. Pass nullptr to have the number of available meta commands returned in pNumMetaCommands.

Return value

Type: HRESULT If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header: d3d12_xs.h
Library: d3d12_xs.lib
Supported Platforms: XBOX Series consoles

See Also

ID3D12Device5
Last modified on August 20, 2026