nw::gfx::SceneBuilder Class

Syntax

class SceneBuilder

Description

Class that generates objects in a scene.

Member Functions

Building Scene Objects
BuildSceneObject Creates a scene object.
BuildChildren Builds a node's child.
Other
SceneBuilder Constructor.
~SceneBuilder Destructor.
Resource Sets the resource.
IsFixedSizeMemory Sets a flag indicating whether memory is to be allocated even other than at time of creation.
MaxChildren Sets the maximum number of children.
MaxCallbacks Sets the maximum number of callbacks that can be managed.
BufferOption Sets the buffer-generation options.
SharedMaterialModel Sets the model being shared with when sharing materials.
MaxAnimObjectsPerGroup Specifies the maximum number type animation objects.
ParticleSetMarginCount Sets the number of buffers to create when creating a particle set.
IsAnimationEnabled Sets whether animation is possible.
CreateObject 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.
Create Tree Creates a scene tree with configured resource serving as the root node. Because all references below the child hierarchy contained in the resource are followed and instantiated, if you initialize or use other operations all of the models contained in the resource the objects in the child hierarchy become instantiated twice.
GetMemorySize Gets the memory size required at time of creation.
GetDeviceMemorySize Gets the device memory size required at time of creation.
GetMemorySizeTree Gets the memory size required when creating a scene tree.
GetDeviceMemorySizeTree Gets the device memory size required when creating a scene tree.

CONFIDENTIAL