Implementing basic asset serialization

This commit is contained in:
Dynamitos committed 2023-02-13 14:56:13 +01:00
1 parent 9e1e4076f0
commit 48fa098546
82 files changed
+1834 -423

No files matched your search

+11
View File
@@ -1,5 +1,6 @@
#pragma once
#include "MinimalEngine.h"
#include "Math/Vector.h"
namespace Seele
{
@@ -1003,6 +1004,16 @@ typedef enum SeFormat
SE_FORMAT_MAX_ENUM = 0x7FFFFFFF
} SeFormat;
struct FormatCompatibilityInfo
{
// std::string class
uint32 blockSize;
UVector blockExtent;
uint32 texelsPerBlock;
};
FormatCompatibilityInfo getFormatInfo(SeFormat format);
typedef enum SeImageType
{
SE_IMAGE_TYPE_1D = 0,