PixelBullet
0.0.1
A C++ game engine
Loading...
Searching...
No Matches
engine
src
assets
material_texture_dependencies_internal.h
1
#pragma once
2
3
#include "pixelbullet/filesystem/virtual_path.h"
4
5
#include <string>
6
#include <vector>
7
8
namespace
pixelbullet
9
{
10
class
Filesystem
;
11
}
// namespace pixelbullet
12
13
namespace
pixelbullet::assets_internal
14
{
15
struct
MaterialTextureDependencyLoadResult
16
{
17
bool
loaded =
false
;
18
std::string error_message;
19
std::vector<VirtualPath> texture_paths;
20
};
21
22
[[nodiscard]]
MaterialTextureDependencyLoadResult
LoadMaterialTextureDependencies(
const
Filesystem
& filesystem,
23
const
VirtualPath
& material_asset_path);
24
}
// namespace pixelbullet::assets_internal
pixelbullet::Filesystem
Definition
filesystem.h:20
pixelbullet::VirtualPath
Definition
virtual_path.h:10
pixelbullet::assets_internal::MaterialTextureDependencyLoadResult
Definition
material_texture_dependencies_internal.h:16
Generated by
1.16.1