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.
UINT64 GetRequiredParameterResourceSize(
[in] D3D12_META_COMMAND_PARAMETER_STAGE Stage,
[in] UINT ParameterIndex
);
[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.
Type: UINT64
The number of bytes required for the specified runtime parameter resource.
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d12.h |