nw::gfx::AmbientLight::DynamicBuilder::GetMemorySize Member Function

Syntax

size_t GetMemorySize(
     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 memory size required at time of creation.

Memory size varies depending on Builder settings. Call this function after all settings are done.


CONFIDENTIAL