nw::gfx::SceneBuilder::GetDeviceMemorySize Member Function
size_t GetDeviceMemorySize(
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 at time of creation.
Returns the device memory size required when calling CreateObject.
Memory size varies depending on SceneBuilder configuration. Call this function after completing all configuration.
CONFIDENTIAL