Exemple #1
0
        public HardwareVertexBufferPtr allocateVertexBufferCopy(HardwareVertexBufferPtr sourceBuffer, HardwareBufferManagerBase.BufferLicenseType licenseType, HardwareBufferLicensee licensee)
        {
            HardwareVertexBufferPtr ret = new HardwareVertexBufferPtr(OgrePINVOKE.HardwareBufferManagerBase_allocateVertexBufferCopy__SWIG_1(swigCPtr, HardwareVertexBufferPtr.getCPtr(sourceBuffer), (int)licenseType, HardwareBufferLicensee.getCPtr(licensee)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HardwareBufferLicensee obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }