nw::demo::CommandListSwapper::GetReusableCommandBufferSize Member Function

Syntax

int GetReusableCommandBufferSize() const;

Arguments

None.

Return Values

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

Description

Gets the size of the 3D command buffer for a command list that has been saved for re-use.

This function gets the size (in bytes) of the 3D command buffer for a command list that has been saved for re-use.

Use the GetCommandBufferSize function to find the size of the 3D command buffer for the command list that is currently bound.

Also, use GetCommandBufferSize to get the size of commands being re-used as recorded between StartCommandSave and EndCommandSave. This is due to the fact that the command list to be re-used by StartCommandSave is bound.

See Also

GetCommandBufferSize
StartCommandSave


CONFIDENTIAL