DeleteTextures() 개인적인 메소드

private DeleteTextures ( Int32 n, UInt32 textures ) : void
n System.Int32
textures System.UInt32
리턴 void
예제 #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();
        }