Пример #1
0
        private void DeleteTexture(ImageHandler cachedImage)
        {
            TextureDeleted?.Invoke(this, cachedImage.Handle);

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