Esempio n. 1
0
    public virtual Result Save(SWIGTYPE_p_LPD3D10BLOB datablob, SWIGTYPE_p_D3DX_IMAGE_FILEFORMAT format)
    {
        Result ret = new Result(IronSightEnginePINVOKE.ITexture_Save__SWIG_1(swigCPtr, SWIGTYPE_p_LPD3D10BLOB.getCPtr(datablob), SWIGTYPE_p_D3DX_IMAGE_FILEFORMAT.getCPtr(format)), true);

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