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(
  D3D12_META_COMMAND_PARAMETER_STAGE Stage,
  UINT                               ParameterIndex
);

Parameters

Stage

Type: D3D12_META_COMMAND_PARAMETER_STAGE

A D3D12_META_COMMAND_PARAMETER_STAGE specifying the stage to which the parameter belongs.

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

   
Target Platform Windows
Header d3d12.h

See also

ID3D12MetaCommand