public HardwareBufferPtr(HardwareBufferPtr r) : this(OgrePINVOKE.new_HardwareBufferPtr__SWIG_2(HardwareBufferPtr.getCPtr(r)), true) { if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
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); }