This commit is contained in:
ZY4N
2025-03-28 13:09:34 +01:00
parent 6f60cc11c8
commit d18b40a7fc
34 changed files with 393 additions and 272 deletions

View File

@@ -1,14 +1,15 @@
#pragma once
#include "assets/data/material_data.hpp"
#include "assets/components/texture_components.hpp"
#include <memory>
namespace assets
{
struct texture_view
{
std::weak_ptr<std::uint8_t[]> data;
int width, height;
std::weak_ptr<z3d::u8[]> data;
z3d::i32 width, height;
texture_components::flags component_flags;
};