Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Queries reflection metadata about available meta commands.
Syntax
HRESULT EnumerateMetaCommands(
UINT *pNumMetaCommands,
D3D12_META_COMMAND_DESC *pDescs
);
Parameters
pNumMetaCommands
Type: [in, out] 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: [out, optional] 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
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d12.h |