nw::gfx::ParticleShape::GetMemorySize Member Function
static size_t GetMemorySize(
int capacity,
size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
);
| Name | Description | |
|---|---|---|
| in | capacity | Maximum number of vertices. |
| in | alignment | Alignment used in calculation. Must be a power of two. |
Gets the memory size required at time of creation.
CONFIDENTIAL