DeleteTextures() private méthode

private DeleteTextures ( Int32 n, UInt32 textures ) : void
n System.Int32
textures System.UInt32
Résultat void
Exemple #1
0
        public unsafe override void Dispose()
        {
            disposeChilderen();
            if (Texture != 0)
            {
                if (!IPlatform.Singleton.AutoDisposedGL)
                {
                    video.disableActiveTextures(this);
                    uint textureTEMP = Texture;
                    GL.DeleteTextures(1, &textureTEMP);
                }
                Texture = 0;

                                #if DEBUG && !ANDROID
                Video.checkForError();
                                #endif
            }
            base.Dispose();
        }