ID3D12GraphicsCommandList4::InitializeMetaCommand method (d3d12.h)
Initializes the specified meta command.
You must initialize a meta command at least once prior (on the GPU's timeline) to executing it. Initializing gives the implementation the chance to perform any work necessary to accelerate the invocation of the meta command. You must supply the sufficient resource parameters, including the persistent cache resource.
Syntax
void InitializeMetaCommand(
[in] ID3D12MetaCommand *pMetaCommand,
[in, optional] const void *pInitializationParametersData,
[in] SIZE_T InitializationParametersDataSizeInBytes
);
Parameters
[in] pMetaCommand
A pointer to an ID3D12MetaCommand representing the meta command to initialize.
[in, optional] pInitializationParametersData
An optional pointer to a constant structure containing the values of the parameters for initializing the meta command.
[in] InitializationParametersDataSizeInBytes
A SIZE_T containing the size of the structure pointed to by pInitializationParametersData, if set, otherwise 0.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d12.h |