private static extern void GetMemoryRequirements(IntPtr scene, ref AiMemoryInfo memoryInfo);
/// <summary> /// Gets the memory requirements of the scene. /// </summary> /// <param name="scene">Pointer to the unmanaged scene data structure.</param> /// <returns>The memory information about the scene.</returns> public static AiMemoryInfo GetMemoryRequirements(IntPtr scene) { AiMemoryInfo info = new AiMemoryInfo(); if(scene != IntPtr.Zero) { GetMemoryRequirements(scene, ref info); } return info; }