public virtual SWIGTYPE_p_Ogre__WorkQueue__RequestID load(string resType, string name, string group, bool isManual, ManualResourceLoader loader)
        {
            SWIGTYPE_p_Ogre__WorkQueue__RequestID ret = new SWIGTYPE_p_Ogre__WorkQueue__RequestID(OgrePINVOKE.ResourceBackgroundQueue_load__SWIG_2(swigCPtr, resType, name, group, isManual, ManualResourceLoader.getCPtr(loader)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
        public virtual Resource createImpl(string name, ulong handle, string group, bool arg3, ManualResourceLoader arg4, NameValuePairList arg5)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.DefaultTextureManager_createImpl(swigCPtr, name, handle, group, arg3, ManualResourceLoader.getCPtr(arg4), NameValuePairList.getCPtr(arg5));
            Resource ret = (cPtr == global::System.IntPtr.Zero) ? null : new Resource(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public override HighLevelGpuProgram create(ResourceManager creator, string name, ulong handle, string group, bool isManual, ManualResourceLoader loader)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.UnifiedHighLevelGpuProgramFactory_create(swigCPtr, ResourceManager.getCPtr(creator), name, handle, group, isManual, ManualResourceLoader.getCPtr(loader));
            HighLevelGpuProgram   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new HighLevelGpuProgram(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public virtual SWIGTYPE_p_Ogre__WorkQueue__RequestID prepare(string resType, string name, string group, bool isManual, ManualResourceLoader loader, NameValuePairList loadParams)
        {
            SWIGTYPE_p_Ogre__WorkQueue__RequestID ret = new SWIGTYPE_p_Ogre__WorkQueue__RequestID(OgrePINVOKE.ResourceBackgroundQueue_prepare__SWIG_1(swigCPtr, resType, name, group, isManual, ManualResourceLoader.getCPtr(loader), NameValuePairList.getCPtr(loadParams)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 5
0
        public SWIGTYPE_p_std__pairT_Ogre__SharedPtrT_Ogre__Resource_t_bool_t createOrRetrieve(string name, string group, bool isManual, ManualResourceLoader loader, NameValuePairList createParams)
        {
            SWIGTYPE_p_std__pairT_Ogre__SharedPtrT_Ogre__Resource_t_bool_t ret = new SWIGTYPE_p_std__pairT_Ogre__SharedPtrT_Ogre__Resource_t_bool_t(OgrePINVOKE.ResourceManager_createOrRetrieve__SWIG_0(swigCPtr, name, group, isManual, ManualResourceLoader.getCPtr(loader), NameValuePairList.getCPtr(createParams)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
        public MaterialPtr create(string name, string group, bool isManual, ManualResourceLoader loader)
        {
            MaterialPtr ret = new MaterialPtr(OgrePINVOKE.MaterialManager_create__SWIG_1(swigCPtr, name, group, isManual, ManualResourceLoader.getCPtr(loader)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 7
0
        public ResourcePtr load(string name, string group, bool isManual, ManualResourceLoader loader, NameValuePairList loadParams, bool backgroundThread)
        {
            ResourcePtr ret = new ResourcePtr(OgrePINVOKE.ResourceManager_load__SWIG_0(swigCPtr, name, group, isManual, ManualResourceLoader.getCPtr(loader), NameValuePairList.getCPtr(loadParams), backgroundThread), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 8
0
        public SWIGTYPE_p_Ogre__SharedPtrT_Ogre__Font_t create(string name, string group, bool isManual, ManualResourceLoader loader)
        {
            SWIGTYPE_p_Ogre__SharedPtrT_Ogre__Font_t ret = new SWIGTYPE_p_Ogre__SharedPtrT_Ogre__Font_t(OgreOverlayPINVOKE.FontManager_create__SWIG_1(swigCPtr, name, group, isManual, ManualResourceLoader.getCPtr(loader)), true);

            if (OgreOverlayPINVOKE.SWIGPendingException.Pending)
            {
                throw OgreOverlayPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public void declareResource(string name, string resourceType, string groupName, ManualResourceLoader loader)
 {
     OgrePINVOKE.ResourceGroupManager_declareResource__SWIG_4(swigCPtr, name, resourceType, groupName, ManualResourceLoader.getCPtr(loader));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 10
0
        public ResourcePtr createResource(string name, string group, bool isManual, ManualResourceLoader loader, NameValuePairList createParams)
        {
            ResourcePtr ret = new ResourcePtr(OgrePINVOKE.ResourceManager_createResource__SWIG_0(swigCPtr, name, group, isManual, ManualResourceLoader.getCPtr(loader), NameValuePairList.getCPtr(createParams)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 11
0
        public TexturePtr createManual(string name, string group, TextureType texType, uint width, uint height, int numMipmaps, PixelFormat format, int usage, ManualResourceLoader loader)
        {
            TexturePtr ret = new TexturePtr(OgrePINVOKE.TextureManager_createManual__SWIG_9(swigCPtr, name, group, (int)texType, width, height, numMipmaps, (int)format, usage, ManualResourceLoader.getCPtr(loader)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 12
0
        public virtual TexturePtr createManual(string name, string group, TextureType texType, uint width, uint height, uint depth, int numMipmaps, PixelFormat format, int usage, ManualResourceLoader loader, bool hwGammaCorrection, uint fsaa, string fsaaHint)
        {
            TexturePtr ret = new TexturePtr(OgrePINVOKE.TextureManager_createManual__SWIG_0(swigCPtr, name, group, (int)texType, width, height, depth, numMipmaps, (int)format, usage, ManualResourceLoader.getCPtr(loader), hwGammaCorrection, fsaa, fsaaHint), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 13
0
        public SWIGTYPE_p_std__pairT_Ogre__SharedPtrT_Ogre__Resource_t_bool_t createOrRetrieve(string name, string group, bool isManual, ManualResourceLoader loader, NameValuePairList createParams, TextureType texType, int numMipmaps, float gamma)
        {
            SWIGTYPE_p_std__pairT_Ogre__SharedPtrT_Ogre__Resource_t_bool_t ret = new SWIGTYPE_p_std__pairT_Ogre__SharedPtrT_Ogre__Resource_t_bool_t(OgrePINVOKE.TextureManager_createOrRetrieve__SWIG_4(swigCPtr, name, group, isManual, ManualResourceLoader.getCPtr(loader), NameValuePairList.getCPtr(createParams), (int)texType, numMipmaps, gamma), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 14
0
 public Font(ResourceManager creator, string name, ulong handle, string group, bool isManual, ManualResourceLoader loader) : this(OgreOverlayPINVOKE.new_Font__SWIG_0(ResourceManager.getCPtr(creator), name, handle, group, isManual, ManualResourceLoader.getCPtr(loader)), true)
 {
     if (OgreOverlayPINVOKE.SWIGPendingException.Pending)
     {
         throw OgreOverlayPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 15
0
        public ResourcePtr load(string name, string group, bool isManual, ManualResourceLoader loader)
        {
            ResourcePtr ret = new ResourcePtr(OgrePINVOKE.ResourceManager_load__SWIG_2(swigCPtr, name, group, isManual, ManualResourceLoader.getCPtr(loader)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 16
0
        public virtual ResourcePtr create(string name, string group, GpuProgramType gptype, string syntaxCode, bool isManual, ManualResourceLoader loader)
        {
            ResourcePtr ret = new ResourcePtr(OgrePINVOKE.GpuProgramManager_create__SWIG_0(swigCPtr, name, group, (int)gptype, syntaxCode, isManual, ManualResourceLoader.getCPtr(loader)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 17
0
 public UnifiedHighLevelGpuProgram(ResourceManager creator, string name, ulong handle, string group, bool isManual, ManualResourceLoader loader) : this(OgrePINVOKE.new_UnifiedHighLevelGpuProgram__SWIG_0(ResourceManager.getCPtr(creator), name, handle, group, isManual, ManualResourceLoader.getCPtr(loader)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }