nw::gfx::ParticleModel::GetDeviceMemorySize Member Function

Syntax

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

Arguments

Name Description
in resource Resource.
modelDescription
in alignment Alignment used in calculation. Must be a power of two.

Return Values

Required device memory size.

Description

Gets the device memory size required at time of creation.


CONFIDENTIAL