LeviLamina
Loading...
Searching...
No Matches
GeometryAtlasOffscreenPaperDollRenderer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/geometry_atlas/IOffscreenPaperDollRenderer.h"
7#include "mc/deps/core/threading/Async.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace GeometryAtlas { class GeometryAtlasCapture; }
12namespace GeometryAtlas { class IGeometryAtlas; }
13namespace GeometryAtlas { class IGeometryAtlasCaptureService; }
14namespace GeometryAtlas { class IPaperDollHandleFactory; }
15namespace GeometryAtlas { struct PaperdollCaptureFrame; }
16namespace cg { class ImageBuffer; }
17// clang-format on
18
19namespace GeometryAtlas {
20
21class GeometryAtlasOffscreenPaperDollRenderer : public ::GeometryAtlas::IOffscreenPaperDollRenderer {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::GeometryAtlas::IGeometryAtlas>> mAtlas;
26 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::GeometryAtlas::IGeometryAtlasCaptureService>> mCaptureService;
27 ::ll::TypedStorage<8, 24, ::std::optional<::Bedrock::Threading::Async<::GeometryAtlas::GeometryAtlasCapture>>>
28 mCapture;
29 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GeometryAtlas::IPaperDollHandleFactory>> mFactory;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual void beginCapturePaperDollImage(
36 uint screenshotWidth,
37 uint screenshotHeight,
38 ::std::string const& skinName,
39 ::std::vector<::GeometryAtlas::PaperdollCaptureFrame> const& frames
40 ) /*override*/;
41
42 virtual bool isCaptureReady() const /*override*/;
43
44 virtual ::cg::ImageBuffer retrieveCaptureAsImageBuffer() const /*override*/;
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCAPI void $beginCapturePaperDollImage(
51 uint screenshotWidth,
52 uint screenshotHeight,
53 ::std::string const& skinName,
54 ::std::vector<::GeometryAtlas::PaperdollCaptureFrame> const& frames
55 );
56
57 MCAPI bool $isCaptureReady() const;
58
59 MCAPI ::cg::ImageBuffer $retrieveCaptureAsImageBuffer() const;
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
68
69} // namespace GeometryAtlas
Definition GeometryAtlasCapture.h:7
Definition GeometryAtlasOffscreenPaperDollRenderer.h:7
Definition IGeometryAtlasCaptureService.h:7
Definition IGeometryAtlas.h:7
Definition IPaperDollHandleFactory.h:7
Definition ImageBuffer.h:16
Definition PaperdollCaptureFrame.h:7