LeviLamina
Loading...
Searching...
No Matches
TextureContainer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/minecraft_renderer/renderer/AllowDroppingMips.h"
7#include "mc/deps/renderer/hal/TextureDescription.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cg { class ImageBuffer; }
12namespace cg { class ImageResource; }
13// clang-format on
14
15namespace mce {
16
17class TextureContainer {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::cg::ImageResource>> mStorage;
22 ::ll::TypedStorage<4, 64, ::mce::TextureDescription> mDescription;
23 ::ll::TypedStorage<1, 1, ::mce::AllowDroppingMips> mAllowDroppingMips;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 TextureContainer();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI TextureContainer(::cg::ImageBuffer&& rhs, ::mce::AllowDroppingMips allowDroppingMips);
34
35 MCAPI TextureContainer(::std::shared_ptr<::cg::ImageResource>&& rhs, ::mce::AllowDroppingMips allowDroppingMips);
36
37 MCAPI TextureContainer(::std::vector<::cg::ImageBuffer>&& rhs, ::mce::TextureDescription const& textureDescription);
38
39 MCAPI ::mce::TextureContainer& operator=(::cg::ImageBuffer&& rhs);
40
41 MCAPI ~TextureContainer();
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor(::cg::ImageBuffer&& rhs, ::mce::AllowDroppingMips allowDroppingMips);
48
49 MCAPI void* $ctor(::std::shared_ptr<::cg::ImageResource>&& rhs, ::mce::AllowDroppingMips allowDroppingMips);
50
51 MCAPI void* $ctor(::std::vector<::cg::ImageBuffer>&& rhs, ::mce::TextureDescription const& textureDescription);
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCFOLD void $dtor();
58 // NOLINTEND
59};
60
61} // namespace mce
Definition ImageBuffer.h:16
Definition ImageResource.h:15
Definition TextureContainer.h:7