]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pixelformat.h
Implement automatic unloading when a total size limit is exceeded
[libs/gl.git] / source / pixelformat.h
index 590ab97eb62cd1e48821e27b9ddda71352149d48..4da1a1517ae60b45b85aea8d41b7452744326f19 100644 (file)
@@ -56,6 +56,8 @@ PixelFormat storage_pixelformat_from_graphics(Graphics::PixelFormat);
 PixelFormat get_base_pixelformat(PixelFormat);
 PixelFormat get_srgb_pixelformat(PixelFormat);
 unsigned get_component_count(PixelFormat);
+unsigned get_component_size(PixelFormat);
+unsigned get_pixel_size(PixelFormat);
 
 void require_pixelformat(PixelFormat);