示例#1
0
 public void loadMicrocodeCache(DataStreamPtr stream)
 {
     OgrePINVOKE.GpuProgramManager_loadMicrocodeCache(swigCPtr, DataStreamPtr.getCPtr(stream));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public virtual void parseScript(DataStreamPtr stream, string groupName)
 {
     OgrePINVOKE.ScriptLoader_parseScript(swigCPtr, DataStreamPtr.getCPtr(stream), groupName);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public void importNamedConstants(DataStreamPtr stream, GpuNamedConstants pDest)
 {
     OgrePINVOKE.GpuNamedConstantsSerializer_importNamedConstants(swigCPtr, DataStreamPtr.getCPtr(stream), GpuNamedConstants.getCPtr(pDest));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public void importMesh(DataStreamPtr stream, Mesh pDest)
 {
     OgrePINVOKE.MeshSerializer_importMesh(swigCPtr, DataStreamPtr.getCPtr(stream), Mesh.getCPtr(pDest));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
 public void loadRawData(DataStreamPtr stream, ushort uWidth, ushort uHeight, PixelFormat eFormat)
 {
     OgrePINVOKE.TexturePtr_loadRawData(swigCPtr, DataStreamPtr.getCPtr(stream), uWidth, uHeight, (int)eFormat);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public override void parseScript(DataStreamPtr stream, string groupName)
 {
     OgrePINVOKE.ParticleSystemManager_parseScript(swigCPtr, DataStreamPtr.getCPtr(stream), groupName);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void load(DataStreamPtr stream)
 {
     OgrePINVOKE.GpuNamedConstants_load(swigCPtr, DataStreamPtr.getCPtr(stream));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#8
0
        public Image loadRawData(DataStreamPtr stream, uint width, uint height, PixelFormat format)
        {
            Image ret = new Image(OgrePINVOKE.Image_loadRawData__SWIG_3(swigCPtr, DataStreamPtr.getCPtr(stream), width, height, (int)format), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#9
0
        public Image load(DataStreamPtr stream)
        {
            Image ret = new Image(OgrePINVOKE.Image_load__SWIG_2(swigCPtr, DataStreamPtr.getCPtr(stream)), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#10
0
        public static string getFileExtFromMagic(DataStreamPtr stream)
        {
            string ret = OgrePINVOKE.Image_getFileExtFromMagic(DataStreamPtr.getCPtr(stream));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#11
0
 public MemoryDataStream(string name, DataStreamPtr sourceStream) : this(OgrePINVOKE.new_MemoryDataStream__SWIG_11(name, DataStreamPtr.getCPtr(sourceStream)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#12
0
        public virtual SWIGTYPE_p_std__pairT_Ogre__SharedPtrT_Ogre__MemoryDataStream_t_Ogre__SharedPtrT_Ogre__Codec__CodecData_t_t decode(DataStreamPtr input)
        {
            SWIGTYPE_p_std__pairT_Ogre__SharedPtrT_Ogre__MemoryDataStream_t_Ogre__SharedPtrT_Ogre__Codec__CodecData_t_t ret = new SWIGTYPE_p_std__pairT_Ogre__SharedPtrT_Ogre__MemoryDataStream_t_Ogre__SharedPtrT_Ogre__Codec__CodecData_t_t(OgrePINVOKE.Codec_decode(swigCPtr, DataStreamPtr.getCPtr(input)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#13
0
 public DataStreamPtr(DataStreamPtr r) : this(OgrePINVOKE.new_DataStreamPtr__SWIG_2(DataStreamPtr.getCPtr(r)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#14
0
 public void exportMesh(Mesh pMesh, DataStreamPtr stream)
 {
     OgrePINVOKE.MeshSerializer_exportMesh__SWIG_5(swigCPtr, Mesh.getCPtr(pMesh), DataStreamPtr.getCPtr(stream));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#15
0
 public virtual void resourceStreamOpened(string name, string group, Resource resource, DataStreamPtr dataStream)
 {
     OgrePINVOKE.ResourceLoadingListener_resourceStreamOpened(swigCPtr, name, group, Resource.getCPtr(resource), DataStreamPtr.getCPtr(dataStream));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#16
0
        public virtual TexturePtr loadRawData(string name, string group, DataStreamPtr stream, ushort width, ushort height, PixelFormat format, TextureType texType, int numMipmaps, float gamma, bool hwGammaCorrection)
        {
            TexturePtr ret = new TexturePtr(OgrePINVOKE.TextureManager_loadRawData__SWIG_0(swigCPtr, name, group, DataStreamPtr.getCPtr(stream), width, height, (int)format, (int)texType, numMipmaps, gamma, hwGammaCorrection), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#17
0
 public void exportMesh(Mesh pMesh, DataStreamPtr stream, MeshVersion version, Serializer.Endian endianMode)
 {
     OgrePINVOKE.MeshSerializer_exportMesh__SWIG_6(swigCPtr, Mesh.getCPtr(pMesh), DataStreamPtr.getCPtr(stream), (int)version, (int)endianMode);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#18
0
        public virtual TexturePtr loadRawData(string name, string group, DataStreamPtr stream, ushort width, ushort height, PixelFormat format)
        {
            TexturePtr ret = new TexturePtr(OgrePINVOKE.TextureManager_loadRawData__SWIG_4(swigCPtr, name, group, DataStreamPtr.getCPtr(stream), width, height, (int)format), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#19
0
 public MemoryDataStream(DataStreamPtr sourceStream, bool freeOnClose, bool readOnly) : this(OgrePINVOKE.new_MemoryDataStream__SWIG_6(DataStreamPtr.getCPtr(sourceStream), freeOnClose, readOnly), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#20
0
        public Image loadTwoImagesAsRGBA(DataStreamPtr rgbStream, DataStreamPtr alphaStream, PixelFormat format, string rgbType)
        {
            Image ret = new Image(OgrePINVOKE.Image_loadTwoImagesAsRGBA__SWIG_3(swigCPtr, DataStreamPtr.getCPtr(rgbStream), DataStreamPtr.getCPtr(alphaStream), (int)format, rgbType), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#21
0
        public Image loadTwoImagesAsRGBA(DataStreamPtr rgbStream, DataStreamPtr alphaStream)
        {
            Image ret = new Image(OgrePINVOKE.Image_loadTwoImagesAsRGBA__SWIG_5(swigCPtr, DataStreamPtr.getCPtr(rgbStream), DataStreamPtr.getCPtr(alphaStream)), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#22
0
 public void exportNamedConstants(GpuNamedConstants pConsts, DataStreamPtr stream)
 {
     OgrePINVOKE.GpuNamedConstantsSerializer_exportNamedConstants__SWIG_3(swigCPtr, GpuNamedConstants.getCPtr(pConsts), DataStreamPtr.getCPtr(stream));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }