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& operator=(TextureContainer const&);
29 TextureContainer(TextureContainer const&);
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI TextureContainer();
35
36 MCAPI TextureContainer(::mce::TextureContainer&& rhs);
37
38 MCAPI TextureContainer(::cg::ImageBuffer&& rhs, ::mce::AllowDroppingMips allowDroppingMips);
39
40 MCAPI TextureContainer(::std::shared_ptr<::cg::ImageResource>&& rhs, ::mce::AllowDroppingMips allowDroppingMips);
41
42 MCAPI TextureContainer(::std::vector<::cg::ImageBuffer>&& rhs, ::mce::TextureDescription const& textureDescription);
43
44 MCAPI ::cg::ImageBuffer const& getImage(uint mipLevel) const;
45
46 MCFOLD ::mce::TextureDescription const& getTextureDescription() const;
47
48 MCAPI bool isValid() const;
49
50 MCAPI ::mce::TextureContainer& operator=(::cg::ImageBuffer&& rhs);
51
52 MCAPI ~TextureContainer();
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor();
59
60 MCAPI void* $ctor(::mce::TextureContainer&& rhs);
61
62 MCAPI void* $ctor(::cg::ImageBuffer&& rhs, ::mce::AllowDroppingMips allowDroppingMips);
63
64 MCAPI void* $ctor(::std::shared_ptr<::cg::ImageResource>&& rhs, ::mce::AllowDroppingMips allowDroppingMips);
65
66 MCAPI void* $ctor(::std::vector<::cg::ImageBuffer>&& rhs, ::mce::TextureDescription const& textureDescription);
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCFOLD void $dtor();
73 // NOLINTEND
74};
75
76} // namespace mce
Definition ImageBuffer.h:16
Definition ImageResource.h:12
Definition TextureContainer.h:7