nw::gfx::SceneBuilder::CreateObject Member Function

Syntax

SceneObject * CreateObject(
     os::IAllocator * allocator,
     os::IAllocator * deviceAllocator
);

Arguments

Name Description
in allocator Allocator.
in deviceAllocator Allocator for device memory.

Return Values

Returns the scene object that was created.

Description

Creates one scene object from the created resource. Objects below the child hierarchy included in the resource are not created at this time and must be created individually.


CONFIDENTIAL