nw::gfx::ParticleCollection::Create Member Function

Syntax

static ParticleCollection * Create(
     ParticleSet * parent,
     ResParticleCollection resource,
     os::IAllocator * mainAllocator,
     os::IAllocator * deviceAllocator,
     ParticleShape * shape
);

Arguments

Name Description
in parent Parent node.
in resource Resource.
in mainAllocator Main allocator.
in deviceAllocator Device allocator.
in shape Shape.

Return Values

Returns the created ParticleCollection node.

Description

Creates ParticleCollection nodes from resources.


CONFIDENTIAL