Implementing basic asset serialization
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user