You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

127 lines
2.9 KiB

  1. /* ----------------------------------------------------------------------------
  2. * This file was automatically generated by SWIG (http://www.swig.org).
  3. * Version 2.0.8
  4. *
  5. * Do not make changes to this file unless you know what you are doing--modify
  6. * the SWIG interface file instead.
  7. * ----------------------------------------------------------------------------- */
  8. using System;
  9. using System.Runtime.InteropServices;
  10. public class aiMemoryInfo : IDisposable {
  11. private HandleRef swigCPtr;
  12. protected bool swigCMemOwn;
  13. internal aiMemoryInfo(IntPtr cPtr, bool cMemoryOwn) {
  14. swigCMemOwn = cMemoryOwn;
  15. swigCPtr = new HandleRef(this, cPtr);
  16. }
  17. internal static HandleRef getCPtr(aiMemoryInfo obj) {
  18. return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
  19. }
  20. ~aiMemoryInfo() {
  21. Dispose();
  22. }
  23. public virtual void Dispose() {
  24. lock(this) {
  25. if (swigCPtr.Handle != IntPtr.Zero) {
  26. if (swigCMemOwn) {
  27. swigCMemOwn = false;
  28. AssimpPINVOKE.delete_aiMemoryInfo(swigCPtr);
  29. }
  30. swigCPtr = new HandleRef(null, IntPtr.Zero);
  31. }
  32. GC.SuppressFinalize(this);
  33. }
  34. }
  35. public aiMemoryInfo() : this(AssimpPINVOKE.new_aiMemoryInfo(), true) {
  36. }
  37. public uint textures {
  38. set {
  39. AssimpPINVOKE.aiMemoryInfo_textures_set(swigCPtr, value);
  40. }
  41. get {
  42. uint ret = AssimpPINVOKE.aiMemoryInfo_textures_get(swigCPtr);
  43. return ret;
  44. }
  45. }
  46. public uint materials {
  47. set {
  48. AssimpPINVOKE.aiMemoryInfo_materials_set(swigCPtr, value);
  49. }
  50. get {
  51. uint ret = AssimpPINVOKE.aiMemoryInfo_materials_get(swigCPtr);
  52. return ret;
  53. }
  54. }
  55. public uint meshes {
  56. set {
  57. AssimpPINVOKE.aiMemoryInfo_meshes_set(swigCPtr, value);
  58. }
  59. get {
  60. uint ret = AssimpPINVOKE.aiMemoryInfo_meshes_get(swigCPtr);
  61. return ret;
  62. }
  63. }
  64. public uint nodes {
  65. set {
  66. AssimpPINVOKE.aiMemoryInfo_nodes_set(swigCPtr, value);
  67. }
  68. get {
  69. uint ret = AssimpPINVOKE.aiMemoryInfo_nodes_get(swigCPtr);
  70. return ret;
  71. }
  72. }
  73. public uint animations {
  74. set {
  75. AssimpPINVOKE.aiMemoryInfo_animations_set(swigCPtr, value);
  76. }
  77. get {
  78. uint ret = AssimpPINVOKE.aiMemoryInfo_animations_get(swigCPtr);
  79. return ret;
  80. }
  81. }
  82. public uint cameras {
  83. set {
  84. AssimpPINVOKE.aiMemoryInfo_cameras_set(swigCPtr, value);
  85. }
  86. get {
  87. uint ret = AssimpPINVOKE.aiMemoryInfo_cameras_get(swigCPtr);
  88. return ret;
  89. }
  90. }
  91. public uint lights {
  92. set {
  93. AssimpPINVOKE.aiMemoryInfo_lights_set(swigCPtr, value);
  94. }
  95. get {
  96. uint ret = AssimpPINVOKE.aiMemoryInfo_lights_get(swigCPtr);
  97. return ret;
  98. }
  99. }
  100. public uint total {
  101. set {
  102. AssimpPINVOKE.aiMemoryInfo_total_set(swigCPtr, value);
  103. }
  104. get {
  105. uint ret = AssimpPINVOKE.aiMemoryInfo_total_get(swigCPtr);
  106. return ret;
  107. }
  108. }
  109. }