Ejemplo n.º 1
0
        private void startTextureLoad()
        {
            waterFramesTextures = createTexture();
            //waterTexture.setContent(newContent, new Point((int)size.X/reduceFactor, (int)size.Y/reduceFactor), AssetTextureStrip.StripOrientation.TopToBottom);
            texture      = new DrawableTextureArrayAsStrip(waterFramesTextures, this);
            texture.size = size;

            texture.layer = 0.99f;


            lock (textureLoadedLock)
            {
                lock (loadingLock)
                {
                    textureLoaded  = true;
                    loadingTexture = false;
                }
            }
        }
Ejemplo n.º 2
0
        private void startTextureLoad()
        {
            waterFramesTextures = createTexture();
            //waterTexture.setContent(newContent, new Point((int)size.X/reduceFactor, (int)size.Y/reduceFactor), AssetTextureStrip.StripOrientation.TopToBottom);
            texture = new DrawableTextureArrayAsStrip(waterFramesTextures, this);
            texture.size = size;

            texture.layer = 0.99f;

            lock (textureLoadedLock)
            {
                lock (loadingLock)
                {
                    textureLoaded = true;
                    loadingTexture = false;
                }
            }
        }