nw::gfx::SceneBuilder::BuildSceneObject Member Function

Syntax

SceneObject * BuildSceneObject(
     SceneNode * parent,
     ResSceneObject resource,
     os::IAllocator * allocator,
     os::IAllocator * deviceAllocator,
     bool isRecursive
);

Arguments

Name Description
in parent The SceneNode that will be the parent.
in resource Resource.
in allocator Allocator.
in deviceAllocator Allocator for device memory.
in isRecursive Flag for whether or not to recursively create child hierarchy.

Return Values

Returns the object that was created.

Description

Creates a scene object.


CONFIDENTIAL