Files
2024-12-06 17:24:48 +02:00

30 lines
521 B
C++

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#pragma once
#include "Data/Containers/Array.hpp"
#include "Math/Math.hpp"
#include "Scene/DataFormat.hpp"
namespace OpenVulkano::Image
{
enum class ImageFileType
{
JPEG,
PNG,
BMP,
KTX,
DDS,
};
struct Image
{
Math::Vector3ui resolution;
DataFormat dataFormat;
Array<uint8_t> data;
};
}