nw::gfx::ParticleEmitter::GetMemorySize Member Function

Syntax

static size_t GetMemorySize(
     ResParticleEmitter resource,
     const ParticleEmitter::Description & description,
     size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
);

Arguments

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

Return Values

Required device memory size.

Description

Gets the device memory size required at time of creation.


CONFIDENTIAL