3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/controls/renderers/MinecraftUICustomRenderer.h"
7#include "mc/deps/minecraft_renderer/renderer/MaterialPtr.h"
8#include "mc/deps/minecraft_renderer/renderer/TexturePtr.h"
9#include "mc/world/item/components/CameraCallbacks.h"
26 enum class State :
int {
36 ::ll::TypedStorage<4, 4, ::HudCameraRenderer::State> mState;
37 ::ll::TypedStorage<4, 4, float> mShowTime;
38 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mPhotoTexture;
39 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mColorMaterial;
40 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mTexMaterial;
41 ::ll::TypedStorage<1, 1, bool> mImmediatePicture;
49 virtual ::std::shared_ptr<::UICustomRenderer> clone() const ;
52 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl&,
int) ;
54 virtual
bool update(::IClientInstance& client, ::UIControl&, ::UIScene const&) ;
56 virtual
void onTakePictureNow(::Player& player, ::Actor* camera, ::Actor* target) ;
58 virtual
void onStartTakingPicture(::Player& player) ;
60 virtual
void onEndTakingPicture(::Player& player, ::Actor* camera, ::Actor* target) ;
Definition CameraCallbacks.h:5
Definition HudCameraRenderer.h:5
MCAPI void $onEndTakingPicture(::Player &player, ::Actor *camera, ::Actor *target)
MCAPI ::std::shared_ptr<::UICustomRenderer > $clone() const
static MCAPI void ** $vftableForCameraCallbacks()
static MCAPI void ** $vftableForMinecraftUICustomRenderer()
MCAPI void $onStartTakingPicture(::Player &player)
MCAPI void $render(::MinecraftUIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &, int)
MCAPI HudCameraRenderer()
MCAPI void $onTakePictureNow(::Player &player, ::Actor *camera, ::Actor *target)
MCAPI bool $update(::IClientInstance &client, ::UIControl &, ::UIScene const &)
MCAPI void _drawBlackBars(::ScreenContext &screenContext, float barToScreenRatio, int screenWidth, int screenHeight)
MCAPI void _drawPicture(::ScreenContext &screenContext, float slideOffScreenRatio, int screenWidth, int screenHeight)
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition ScreenContext.h:5
Definition UICustomRenderer.h:5