LeviLamina
Loading...
Searching...
No Matches
HudCameraRenderer Class Reference
Inheritance diagram for HudCameraRenderer:

Public Types

enum class  State : int { None = 0 , ShowBlackBars = 1 , ShowShutter = 2 , ShowPicture = 3 }
enum class  State : int { None = 0 , ShowBlackBars = 1 , ShowShutter = 2 , ShowPicture = 3 }

Public Member Functions

virtual ::std::shared_ptr<::UICustomRendererclone () const
virtual void render (::MinecraftUIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &, int)
virtual bool update (::IClientInstance &client, ::UIControl &, ::UIScene const &)
virtual void onTakePictureNow (::Player &player, ::Actor *camera, ::Actor *target)
virtual void onStartTakingPicture (::Player &player)
virtual void onEndTakingPicture (::Player &player, ::Actor *camera, ::Actor *target)
MCAPI void _drawBlackBars (::ScreenContext &screenContext, float barToScreenRatio, int screenWidth, int screenHeight)
MCAPI void _drawPicture (::ScreenContext &screenContext, float slideOffScreenRatio, int screenWidth, int screenHeight)
MCAPI::ResourceLocation _getOverlayResourceLocation () const
MCAPI void * $ctor ()
MCAPI void $dtor ()
MCAPI ::std::shared_ptr<::UICustomRenderer$clone () const
MCAPI void $render (::MinecraftUIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &, int)
MCAPI bool $update (::IClientInstance &client, ::UIControl &, ::UIScene const &)
MCAPI void $onTakePictureNow (::Player &player, ::Actor *camera, ::Actor *target)
MCAPI void $onStartTakingPicture (::Player &player)
MCAPI void $onEndTakingPicture (::Player &player, ::Actor *camera, ::Actor *target)
virtual void frameUpdate (::UIFrameUpdateContext &frameUpdateContext, ::UIControl &owner)
virtual void frameUpdate (::MinecraftUIFrameUpdateContext &, ::UIControl &)
virtual void render (::UIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int pass)
virtual void preRenderSetup (::UIRenderContext &renderContext)
virtual void preRenderSetup (::MinecraftUIRenderContext &renderContext)
MCAPI void $frameUpdate (::UIFrameUpdateContext &frameUpdateContext, ::UIControl &owner)
MCFOLD void $frameUpdate (::MinecraftUIFrameUpdateContext &, ::UIControl &)
MCAPI void $render (::UIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int pass)
MCAPI void $preRenderSetup (::UIRenderContext &renderContext)
MCFOLD void $preRenderSetup (::MinecraftUIRenderContext &renderContext)
virtual::UIBatchType getBatchType () const
virtual int getCustomId () const
virtual int getNumRenderPasses () const
virtual::ResourceLocation getResourceLocation (int textureSlot, int pass) const
virtual::UIMaterialType getUIMaterialType (int pass) const
virtual bool getRequiresPreRenderSetup (int pass) const
virtual void onVisibilityChanged (bool visible)
virtual void collectScreenEvents (::std::queue<::ScreenEvent, ::std::deque<::ScreenEvent > > &screenEvents)
virtual::UIItemRenderInfo getItemRenderInfo () const
MCFOLD::UIBatchType $getBatchType () const
MCFOLD int $getCustomId () const
MCFOLD int $getNumRenderPasses () const
MCAPI::ResourceLocation $getResourceLocation (int textureSlot, int pass) const
MCFOLD::UIMaterialType $getUIMaterialType (int pass) const
MCFOLD bool $getRequiresPreRenderSetup (int pass) const
MCFOLD void $onVisibilityChanged (bool visible)
MCFOLD void $collectScreenEvents (::std::queue<::ScreenEvent, ::std::deque<::ScreenEvent > > &screenEvents)
MCFOLD::UIItemRenderInfo $getItemRenderInfo () const

Static Public Member Functions

static MCAPI void ** $vftableForMinecraftUICustomRenderer ()
static MCAPI void ** $vftableForCameraCallbacks ()
static MCAPI void ** $vftable ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, ::HudCameraRenderer::State > mState
::ll::TypedStorage< 4, 4, float > mShowTime
::ll::TypedStorage< 8, 32, ::mce::TexturePtrmPhotoTexture
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmColorMaterial
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmTexMaterial
::ll::TypedStorage< 1, 1, bool > mImmediatePicture
::ll::TypedStorage< 4, 4, float > mPropagatedAlpha

Member Function Documentation

◆ clone()

virtual ::std::shared_ptr<::UICustomRenderer > HudCameraRenderer::clone ( ) const
virtual

Implements UICustomRenderer.

◆ render() [1/2]

virtual void HudCameraRenderer::render ( ::MinecraftUIRenderContext & renderContext,
::IClientInstance & client,
::UIControl & ,
int  )
virtual

◆ update()

virtual bool HudCameraRenderer::update ( ::IClientInstance & client,
::UIControl & ,
::UIScene const &  )
virtual

Reimplemented from UICustomRenderer.

◆ onTakePictureNow()

virtual void HudCameraRenderer::onTakePictureNow ( ::Player & player,
::Actor * camera,
::Actor * target )
virtual

Implements CameraCallbacks.

◆ onStartTakingPicture()

virtual void HudCameraRenderer::onStartTakingPicture ( ::Player & player)
virtual

Implements CameraCallbacks.

◆ onEndTakingPicture()

virtual void HudCameraRenderer::onEndTakingPicture ( ::Player & player,
::Actor * camera,
::Actor * target )
virtual

Implements CameraCallbacks.

◆ $vftableForMinecraftUICustomRenderer()

MCAPI void ** HudCameraRenderer::$vftableForMinecraftUICustomRenderer ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForCameraCallbacks()

MCAPI void ** HudCameraRenderer::$vftableForCameraCallbacks ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ frameUpdate()

virtual void MinecraftUICustomRenderer::frameUpdate ( ::UIFrameUpdateContext & frameUpdateContext,
::UIControl & owner )
virtualinherited

Implements UICustomRenderer.

◆ render() [2/2]

virtual void MinecraftUICustomRenderer::render ( ::UIRenderContext & renderContext,
::IClientInstance & client,
::UIControl & owner,
int pass )
virtualinherited

Implements UICustomRenderer.

◆ preRenderSetup()

virtual void MinecraftUICustomRenderer::preRenderSetup ( ::UIRenderContext & renderContext)
virtualinherited

Reimplemented from UICustomRenderer.

◆ $vftable() [1/2]

MCAPI void ** UICustomRenderer::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable() [2/2]

MCAPI void ** CameraCallbacks::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: