nw::gfx::StandardSkeleton::GetMemorySize Member Function

Syntax

static size_t GetMemorySize(
     ResSkeleton resource,
     int maxCallbacks,
     size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
);

Arguments

Name Description
in resource Resource.
in maxCallbacks Maximum number of callbacks.
in alignment Alignment used in calculation. Must be a power of two.

Return Values

Description

Gets the memory size required at time of creation.


CONFIDENTIAL