示例#1
0
 public HardwareBufferPtr(HardwareBufferPtr r) : this(OgrePINVOKE.new_HardwareBufferPtr__SWIG_2(HardwareBufferPtr.getCPtr(r)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HardwareBufferPtr obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }