コード例 #1
0
ファイル: AssimpMethods.cs プロジェクト: dkushner/Assimp-Net
 private static extern void GetMemoryRequirements(IntPtr scene, ref AiMemoryInfo memoryInfo);
コード例 #2
0
ファイル: AssimpMethods.cs プロジェクト: dkushner/Assimp-Net
 /// <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;
 }