mirror of
https://onedev.site.tesses.net/tesses-framework/tessesframework-gfx
synced 2026-02-08 08:25:46 +00:00
15 lines
424 B
C++
15 lines
424 B
C++
#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);
|
|
|
|
};
|
|
} |