ID3D12MetaCommand::GetRequiredParameterResourceSize method (d3d12.h)

Retrieves the amount of memory required for the specified runtime parameter resource for a meta command, for the specified stage.

Syntax

UINT64 GetRequiredParameterResourceSize(
  [in] D3D12_META_COMMAND_PARAMETER_STAGE Stage,
  [in] UINT                               ParameterIndex
);

Parameters

[in] Stage

Type: D3D12_META_COMMAND_PARAMETER_STAGE

A D3D12_META_COMMAND_PARAMETER_STAGE specifying the stage to which the parameter belongs.

[in] ParameterIndex

Type: UINT

The zero-based index of the parameter within the stage.

Return value

Type: UINT64

The number of bytes required for the specified runtime parameter resource.

Requirements

Requirement Value
Target Platform Windows
Header d3d12.h

See also

ID3D12MetaCommand