nw::gfx::SceneBuilder::GetDeviceMemorySizeTree Member Function
size_t GetDeviceMemorySizeTree(
size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
) const;
| Name | Description | |
|---|---|---|
| in | alignment | Alignment used in calculation. Must be a power of two. |
Gets the device memory size required when creating a scene tree.
Returns the memory size required when calling CreateTree.
Memory size varies depending on SceneBuilder configuration. Call this function after completing all configuration.
CONFIDENTIAL