Пример #1
0
		private List<Image> loadedImages; //Used to hold images between calls to prepare and load.

		public GLES2Texture( ResourceManager creator, string name, ulong handle, string group, bool isManual, IManualResourceLoader loader, GLES2Support support )
			: base( creator, name, handle, group, isManual, loader )
		{
			this.textureID = 0;
			this.glSupport = support;
			this.surfaceList = new List<HardwarePixelBuffer>();
		}
Пример #2
0
        private List <Image> loadedImages;        //Used to hold images between calls to prepare and load.

        public GLES2Texture(ResourceManager creator, string name, ulong handle, string group, bool isManual, IManualResourceLoader loader, GLES2Support support)
            : base(creator, name, handle, group, isManual, loader)
        {
            this.textureID   = 0;
            this.glSupport   = support;
            this.surfaceList = new List <HardwarePixelBuffer>();
        }
Пример #3
0
		public GLES2TextureManager( GLES2Support support )
		{
			this.glSupport = support;
			this.warningTextureID = 0;
			//Register with group manager
			ResourceGroupManager.Instance.RegisterResourceManager( ResourceType, this );

			this.CreateWarningTexture();
		}
Пример #4
0
        public GLES2TextureManager(GLES2Support support)
        {
            this.glSupport        = support;
            this.warningTextureID = 0;
            //Register with group manager
            ResourceGroupManager.Instance.RegisterResourceManager(ResourceType, this);

            this.CreateWarningTexture();
        }