Exemple #1
0
        private void DeleteTexture(ImageHandler cachedImage)
        {
            TextureDeleted?.Invoke(this, cachedImage.Handle);

            GL.DeleteTexture(cachedImage.Handle);
        }
Exemple #2
0
 private static ClearBufferMask GetClearMask(ImageHandler CachedImage)
 {
     return((CachedImage.HasColor   ? ClearBufferMask.ColorBufferBit   : 0) |
            (CachedImage.HasDepth   ? ClearBufferMask.DepthBufferBit   : 0) |
            (CachedImage.HasStencil ? ClearBufferMask.StencilBufferBit : 0));
 }
Exemple #3
0
 private static void DeleteTexture(ImageHandler CachedImage)
 {
     GL.DeleteTexture(CachedImage.Handle);
 }