nw::demo::CommandListSwapper::GetCommandBufferSize Member Function

Syntax

int GetCommandBufferSize() const;

Arguments

None.

Return Values

Returns the size of the 3D command buffer in units of bytes.

Description

Gets the size (in bytes) of data accumulated in the 3D command buffer.

This function gets the size (in bytes) of the 3D command buffer for the command list currently bound.

Use the GetReusableCommandBufferSize function to find the size of the 3D command buffer for a command list that has been saved for re-use.

See Also

GetReusableCommandBufferSize


CONFIDENTIAL