nw::gfx::SceneBuilder::BuildChildren Member Function

Syntax

void BuildChildren(
     os::MemorySizeCalculator * pSize,
     os::MemorySizeCalculator * pDeviceSize,
     SceneNode * parent,
     ResSceneObject resource,
     os::IAllocator * allocator,
     os::IAllocator * deviceAllocator,
     bool isCalculation
) const;

Arguments

Name Description
pSize Pointer to MemorySizeCalculator for getting the memory size.
pDeviceSize Pointer to MemorySizeCalculator for getting the device memory size.
in parent Parent scene node.
in resource Resource.
in allocator Allocator.
in deviceAllocator Allocator for device memory.
in isCalculation Flag that determines whether to calculate the memory size.

Return Values

None.

Description

Builds a node's child.

Specify true for the isCalculation argument to only calculate the required memory size, without generating any objects.


CONFIDENTIAL