nw::gfx::ParticleModel::Create Member Function

Syntax

static ParticleModel * Create(
     SceneNode * parent,
     ResSceneObject resource,
     const ParticleModel::Description & modelDescription,
     os::IAllocator * mainAllocator,
     os::IAllocator * deviceAllocator
);

Arguments

Name Description
in parent Parent node.
in resource Resource.
in modelDescription Content to configure.
in mainAllocator Allocator for main memory.
in deviceAllocator Allocator for device memory.

Return Values

Model that was created.

Description

Creates a model.


CONFIDENTIAL