nw::gfx::FragmentLight::GetMemorySizeForCreateClone Member Function

Syntax

static size_t GetMemorySizeForCreateClone(
     ResFragmentLight resource,
     Description description,
     size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
);

Arguments

Name Description
in resource Resource.
in description Content to configure.
in alignment Alignment used in calculation. Must be a power of two.

Return Values

Description

Gets the memory size required at time of creation using CreateClone.


CONFIDENTIAL