Description of nw::gfx::ParticleEmitter::Initialize

Syntax

protected:
virtual Result Initialize(
     os::IAllocator * allocator
);

Arguments

Name Description
allocator

Return Values

Description

Allocates memory for and initialized members.

Memory is allocated by this function without having it allocated by the constructor. If memory allocation fails, an error code is returned in Result, and Destroy is called to destroy the class.


CONFIDENTIAL