public HardwareBufferLockGuard(HardwareBuffer p, uint offset, uint length, HardwareBuffer.LockOptions options) : this(OgrePINVOKE.new_HardwareBufferLockGuard__SWIG_2(HardwareBuffer.getCPtr(p), offset, length, (int)options), true) { if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public void lock_(HardwareBuffer p, uint offset, uint length, HardwareBuffer.LockOptions options) { OgrePINVOKE.HardwareBufferLockGuard_lock___SWIG_1(swigCPtr, HardwareBuffer.getCPtr(p), offset, length, (int)options); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public PixelBox lock_(Box lockBox, HardwareBuffer.LockOptions options) { PixelBox ret = new PixelBox(OgrePINVOKE.HardwarePixelBufferPtr_lock___SWIG_0(swigCPtr, Box.getCPtr(lockBox), (int)options), false); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SWIGTYPE_p_void lock_(HardwareBuffer.LockOptions options) { global::System.IntPtr cPtr = OgrePINVOKE.HardwareBuffer_lock___SWIG_1(swigCPtr, (int)options); SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }