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.
 
 
 
 
 
 

99 lines
2.4 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 aiTexel : IDisposable {
  11. private HandleRef swigCPtr;
  12. protected bool swigCMemOwn;
  13. internal aiTexel(IntPtr cPtr, bool cMemoryOwn) {
  14. swigCMemOwn = cMemoryOwn;
  15. swigCPtr = new HandleRef(this, cPtr);
  16. }
  17. internal static HandleRef getCPtr(aiTexel obj) {
  18. return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
  19. }
  20. ~aiTexel() {
  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_aiTexel(swigCPtr);
  29. }
  30. swigCPtr = new HandleRef(null, IntPtr.Zero);
  31. }
  32. GC.SuppressFinalize(this);
  33. }
  34. }
  35. public byte b {
  36. set {
  37. AssimpPINVOKE.aiTexel_b_set(swigCPtr, value);
  38. }
  39. get {
  40. byte ret = AssimpPINVOKE.aiTexel_b_get(swigCPtr);
  41. return ret;
  42. }
  43. }
  44. public byte g {
  45. set {
  46. AssimpPINVOKE.aiTexel_g_set(swigCPtr, value);
  47. }
  48. get {
  49. byte ret = AssimpPINVOKE.aiTexel_g_get(swigCPtr);
  50. return ret;
  51. }
  52. }
  53. public byte r {
  54. set {
  55. AssimpPINVOKE.aiTexel_r_set(swigCPtr, value);
  56. }
  57. get {
  58. byte ret = AssimpPINVOKE.aiTexel_r_get(swigCPtr);
  59. return ret;
  60. }
  61. }
  62. public byte a {
  63. set {
  64. AssimpPINVOKE.aiTexel_a_set(swigCPtr, value);
  65. }
  66. get {
  67. byte ret = AssimpPINVOKE.aiTexel_a_get(swigCPtr);
  68. return ret;
  69. }
  70. }
  71. public bool __equal__(aiTexel other) {
  72. bool ret = AssimpPINVOKE.aiTexel___equal__(swigCPtr, aiTexel.getCPtr(other));
  73. if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve();
  74. return ret;
  75. }
  76. public bool __nequal__(aiTexel other) {
  77. bool ret = AssimpPINVOKE.aiTexel___nequal__(swigCPtr, aiTexel.getCPtr(other));
  78. if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve();
  79. return ret;
  80. }
  81. public aiTexel() : this(AssimpPINVOKE.new_aiTexel(), true) {
  82. }
  83. }