nw::gfx::ParticleShape::GetMemorySize Member Function

Syntax

static size_t GetMemorySize(
     int capacity,
     size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
);

Arguments

Name Description
in capacity Maximum number of vertices.
in alignment Allocator memory alignment.

Return Values

Required memory size.

Description

Gets the memory size required at time of creation.


CONFIDENTIAL