ID3D12GraphicsCommandList::GetExecutionCommandSizeX Method

Query a bundle command list for its required allocation size.

Syntax

public:
UINT GetExecutionCommandSizeX()  

Return value

Type: UINT 

The method returns the bundle command list allocation size that would be required to store all bundle commands if a Close were to be performed immediately after the GetExecutionCommandSizeX query. This is useful for the creation of bundles that may be maintained and executed independently of the command list object used in their construction.

Remarks

For typical usage of this method, refer to CloseBundleX.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

ID3D12GraphicsCommandList Interface

ID3D12GraphicsCommandList Members