Esempio n. 1
0
        public Effect LoadEffect(System.IntPtr data, int size, string path)
        {
            global::System.IntPtr cPtr = EffekseerNativePINVOKE.EffectFactory_LoadEffect(swigCPtr, data, size, path);
            Effect ret = (cPtr == global::System.IntPtr.Zero) ? null : new Effect(cPtr, true);

            if (EffekseerNativePINVOKE.SWIGPendingException.Pending)
            {
                throw EffekseerNativePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }