LeviLamina
Loading...
Searching...
No Matches
TextureSetImageContainer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/core_graphics/TextureSetLayerType.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cg { class CompressedImageBuffer; }
12namespace cg { class ImageBuffer; }
13namespace cg { class ImageResource; }
14namespace cg { class TextureSetLayerImageMipList; }
15namespace cg { struct ImageDescription; }
16// clang-format on
17
18namespace cg {
19
21public:
22 // TextureSetImageContainer inner types define
23 using TextureSetCompressedLayer = ::std::pair<::cg::TextureSetLayerType, ::cg::CompressedImageBuffer>;
24
25 using TextureSetImageContainerList = ::std::vector<::cg::TextureSetLayerImageMipList>;
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 24, ::std::vector<::cg::TextureSetLayerImageMipList>> mLayerImageList;
31 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::cg::TextureSetLayerType, ::cg::CompressedImageBuffer>>>
32 mCompressedLayers;
33 // NOLINTEND
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~TextureSetImageContainer() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI_C void addImage(::cg::TextureSetLayerType const& layerType, ::cg::ImageBuffer imageBuffer);
45
46 MCAPI_C void
47 addImage(::cg::TextureSetLayerType const& layerType, ::std::shared_ptr<::cg::ImageResource> imageResource);
48
49 MCAPI_C ::cg::ImageDescription
50 getImageDescription(::cg::TextureSetLayerType const& layerType, uint64 mipLevel) const;
51 // NOLINTEND
52
53public:
54 // vftables
55 // NOLINTBEGIN
56 MCNAPI static void** $vftable();
57 // NOLINTEND
58};
59
60} // namespace cg
Definition EnableNonOwnerReferences.h:7
Definition CompressedImageBuffer.h:11
Definition ImageBuffer.h:16
Definition ImageResource.h:12
Definition TextureSetImageContainer.h:20
static MCAPI void ** $vftable()
Definition TextureSetLayerImageMipList.h:16
Definition ImageDescription.h:20