mirror of
https://onedev.site.tesses.net/tesses-framework/tessesframework-gfx
synced 2026-02-08 16:35:45 +00:00
Initial commit
This commit is contained in:
15
include/TessesFrameworkGFX/ImageFormats/Formats.hpp
Normal file
15
include/TessesFrameworkGFX/ImageFormats/Formats.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include "BitmapFormat.hpp"
|
||||
#include "PngFormat.hpp"
|
||||
#include "JpegFormat.hpp"
|
||||
namespace Tesses::Framework::Graphics::ImageFormats {
|
||||
class Formats {
|
||||
public:
|
||||
static BitmapFormat Bitmap;
|
||||
static PngFormat Png;
|
||||
static JpegFormat Jpeg;
|
||||
//Don't free the ImageFormat (may return null)
|
||||
static ImageFormat* FromExtension(std::string ext);
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user