nw::gfx::ParticleShape::Create Member Function

Syntax

static ParticleShape * Create(
     ResSceneObject resource,
     int capacity,
     os::IAllocator * mainAllocator,
     os::IAllocator * deviceAllocator
);

Arguments

Name Description
in resource Resource.
in capacity Maximum number of vertices.
in mainAllocator Allocator for main memory.
in deviceAllocator Allocator for device memory.

Return Values

Transfrom node that was created.

Description

Creates a particle shape node from a resource.


CONFIDENTIAL