nw::gfx::SceneBuilder::GetMemorySize Member Function

Syntax

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

Arguments

Name Description
in alignment Memory alignment.

Return Values

Description

Gets the memory size required at time of creation.

Returns the memory size required when calling CreateObject.

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


CONFIDENTIAL