Skip to content
LeviMC
English
AutoLightDark
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 MCNAPI TextureContainer(::std::shared_ptr<::cg::ImageResource>&& rhs, ::mce::AllowDroppingMips allowDroppingMips);
36
37 MCNAPI
38 TextureContainer(::std::vector<::cg::ImageBuffer>&& rhs, ::mce::TextureDescription const& textureDescription);
39
40 MCNAPI ::mce::TextureContainer& operator=(::cg::ImageBuffer&& rhs);
41
42 MCAPI ~TextureContainer();
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void* $ctor(::cg::ImageBuffer&& rhs, ::mce::AllowDroppingMips allowDroppingMips);
49
50 MCNAPI void* $ctor(::std::shared_ptr<::cg::ImageResource>&& rhs, ::mce::AllowDroppingMips allowDroppingMips);
51
52 MCNAPI void* $ctor(::std::vector<::cg::ImageBuffer>&& rhs, ::mce::TextureDescription const& textureDescription);
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCFOLD void $dtor();
59 // NOLINTEND
60};
61
62} // namespace mce
Definition ImageBuffer.h:16
Definition ImageResource.h:15
Definition TextureContainer.h:7
MCAPI void * $ctor(::std::vector<::cg::ImageBuffer > &&rhs, ::mce::TextureDescription const &textureDescription)
MCAPI TextureContainer(::std::vector<::cg::ImageBuffer > &&rhs, ::mce::TextureDescription const &textureDescription)
MCAPI TextureContainer(::std::shared_ptr<::cg::ImageResource > &&rhs, ::mce::AllowDroppingMips allowDroppingMips)
MCAPI::mce::TextureContainer & operator=(::cg::ImageBuffer &&rhs)
MCAPI void * $ctor(::std::shared_ptr<::cg::ImageResource > &&rhs, ::mce::AllowDroppingMips allowDroppingMips)
Definition TextureDescription.h:7