nw::gfx::SceneBuilder::GetDeviceMemorySizeTree Member Function

Syntax

size_t GetDeviceMemorySizeTree(
     size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
) const;

Arguments

Name Description
in alignment Alignment used in calculation. Must be a power of two.

Return Values

Description

Gets the device memory size required when creating a scene tree.

Returns the memory size required when calling CreateTree.

Memory size varies depending on SceneBuilder configuration. Call this function after completing all configuration.


CONFIDENTIAL