nw::gfx::ParticleModel::GetMemorySize Member Function

Syntax

static size_t GetMemorySize(
     ResParticleModel resource,
     const ParticleModel::Description & modelDescription,
     size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
);

Arguments

Name Description
in resource Resource.
modelDescription
in alignment Allocator memory alignment.
in description Content to configure.

Return Values

Required memory size.

Description

Gets the memory size required at time of creation.


CONFIDENTIAL