internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_DXGI_FORMAT obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public virtual Result CreateTexture(uint width, uint height, ITexture.Usage usage, bool deviceindependent, SWIGTYPE_p_DXGI_FORMAT format, SWIGTYPE_p_void data, SWIGTYPE_p_p_ITexture tex) { Result ret = new Result(IronSightEnginePINVOKE.IOutputWindow_CreateTexture__SWIG_2(swigCPtr, width, height, (int)usage, deviceindependent, SWIGTYPE_p_DXGI_FORMAT.getCPtr(format), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_p_ITexture.getCPtr(tex)), true); // if (IronSightEnginePINVOKE.SWIGPendingException.Pending) { throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve(); } if (IronSightEnginePINVOKE.SWIGPendingException.Pending) { throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }