Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BannerPatternRenderer Class Reference
Inheritance diagram for BannerPatternRenderer:

Classes

struct  BannerPatternTextureInfo

Public Member Functions

virtual ::std::shared_ptr<::UICustomRenderer > clone () const
virtual bool update (::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene)
virtual void render (::MinecraftUIRenderContext &renderContext, ::IClientInstance &, ::UIControl &owner, int)
MCAPI ::std::shared_ptr<::UICustomRenderer > $clone () const
MCAPI bool $update (::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene)
MCAPI void $render (::MinecraftUIRenderContext &renderContext, ::IClientInstance &, ::UIControl &owner, int)
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)
MCAPI void $frameUpdate (::MinecraftUIFrameUpdateContext &, ::UIControl &)
MCAPI void $render (::UIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int pass)
MCAPI void $preRenderSetup (::UIRenderContext &renderContext)
MCAPI 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
MCAPI::UIBatchType $getBatchType () const
MCAPI int $getCustomId () const
MCAPI int $getNumRenderPasses () const
MCAPI::ResourceLocation $getResourceLocation (int textureSlot, int pass) const
MCAPI::UIMaterialType $getUIMaterialType (int pass) const
MCAPI bool $getRequiresPreRenderSetup (int pass) const
MCAPI void $onVisibilityChanged (bool visible)
MCAPI void $collectScreenEvents (::std::queue<::ScreenEvent, ::std::deque<::ScreenEvent > > &screenEvents)
MCAPI::UIItemRenderInfo $getItemRenderInfo () const
virtual::mce::Color _getOverlayColor (::Actor &actor, float a) const
MCAPI::mce::MaterialPtr & getEntityMaterial ()
MCAPI::mce::MaterialPtr & getStaticMaterial ()
MCAPI::mce::MaterialPtr & getTransparentEntityMaterial ()
MCAPI void setupFoilShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &entity, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::Vec2 const &uvScale, float a, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor, bool allowOverlay) const
MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &actor, float a) const
MCAPI void $dtor ()
MCAPI::mce::Color $_getOverlayColor (::Actor &actor, float a) const

Static Public Member Functions

static MCAPI void ** $vftableForActorShaderManager ()
static MCAPI void ** $vftableForMinecraftUICustomRenderer ()
static MCAPI void ** $vftable ()
static MCAPI void setupFoilShaderParameters (::ScreenContext &screenContext, ::TextureUVCoordinateSet const &icon)
static MCAPI void setupFoilShaderParameters (::ScreenContext &screenContext, ::mce::Color const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::Vec2 const &uvScale)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::mce::Color const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &actor, ::mce::Color const &overlay, float, ::Vec4 const &uvAnim)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &actor, ::mce::Color const &overlay, float, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &entity, ::mce::Color const &overlay, ::mce::Color const &tintColor, ::mce::Color const &tintColor2, float, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BlockSource &source, ::BrightnessPair const &lightColorUV, ::glm::vec4 const &blockLightColor, float, bool ignoreLighting, ::LightTexture &lightTexture, ::Vec2 const &uvScale, ::Vec4 const &uvAnim)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &entity, ::mce::Color const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::Vec4 const &uvAnim, float br, float, bool isEnchanted)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BlockSource &source, ::BlockPos const &pos, float a, bool ignoreLighting, ::LightTexture &lightTexture, ::std::weak_ptr<::LightPropagation::LightVolumeManager > const &lightVolumeManager, ::Vec2 const &uvScale, ::Vec4 const &uvAnim, ::shaderpacking::BlockLightingFlags flags)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::mce::Color const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::mce::Color const &glintColor, float uvOffset1, float uvOffset2, float uvRot1, float uvRot2, ::Vec2 const &glintUVScale, ::Vec4 const &uvAnim, float)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BlockSource &source, ::BlockPos const &pos, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, float, ::LightTexture &lightTexture, ::std::weak_ptr<::LightPropagation::LightVolumeManager > const &lightVolumeManager, ::Vec2 const &uvScale, bool ignoreLighting, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &entity, ::mce::Color const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::mce::Color const &glintColor, float uvOffset1, float uvOffset2, float uvRot1, float uvRot2, ::Vec2 const &glintUVScale, ::Vec4 const &uvAnim, float br, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor)
static MCAPI void setEntityConstants (::mce::ActorConstants &entityConstants, ::mce::RenderContext &renderContext, ::mce::Color const &tileLightColor, ::Vec2 const &tileLightColorUV, ::glm::vec4 const &blockLightColor, ::mce::Color const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::mce::Color const &glintColor, ::Vec2 const &glintUVScale, ::Vec4 const &uvAnim, float uvOffset1, float uvOffset2, float uvRot1, float uvRot2)
static MCAPI ::ResourceLocation const & GLINT_ACTOR_TEXTURE_LOCATION ()
static MCAPI ::ResourceLocation const & GLINT_ITEM_TEXTURE_LOCATION ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mHasLoadedTextures
::ll::TypedStorage< 8, 24, ::std::vector<::BannerPatternRenderer::BannerPatternTextureInfo > > mTextures
::ll::TypedStorage< 8, 24, ::std::vector<::mce::Color > > mColors
::ll::TypedStorage< 4, 4, float > mPropagatedAlpha
::ll::TypedStorage< 8, 16, ::mce::MaterialPtr > mEntityMaterial
::ll::TypedStorage< 8, 16, ::mce::MaterialPtr > mTransparentEntityMaterial
::ll::TypedStorage< 8, 16, ::mce::MaterialPtr > mStaticMaterial

Member Function Documentation

◆ clone()

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

Implements UICustomRenderer.

◆ update()

virtual bool BannerPatternRenderer::update ( ::IClientInstance & client,
::UIControl & owner,
::UIScene const & scene )
virtual

Reimplemented from UICustomRenderer.

◆ render() [1/2]

virtual void BannerPatternRenderer::render ( ::MinecraftUIRenderContext & renderContext,
::IClientInstance & ,
::UIControl & owner,
int  )
virtual

◆ $clone()

MCAPI ::std::shared_ptr<::UICustomRenderer > BannerPatternRenderer::$clone ( ) const
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.

◆ $update()

MCAPI bool BannerPatternRenderer::$update ( ::IClientInstance & client,
::UIControl & owner,
::UIScene const & scene )
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.

◆ $render() [1/2]

MCAPI void BannerPatternRenderer::$render ( ::MinecraftUIRenderContext & renderContext,
::IClientInstance & ,
::UIControl & owner,
int  )
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.

◆ $vftableForActorShaderManager()

MCAPI void ** BannerPatternRenderer::$vftableForActorShaderManager ( )
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.

◆ $vftableForMinecraftUICustomRenderer()

MCAPI void ** BannerPatternRenderer::$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.

◆ 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.

◆ $frameUpdate() [1/2]

MCAPI void MinecraftUICustomRenderer::$frameUpdate ( ::UIFrameUpdateContext & frameUpdateContext,
::UIControl & owner )
inherited
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() [2/2]

MCAPI void MinecraftUICustomRenderer::$frameUpdate ( ::MinecraftUIFrameUpdateContext & ,
::UIControl &  )
inherited
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.

◆ $render() [2/2]

MCAPI void MinecraftUICustomRenderer::$render ( ::UIRenderContext & renderContext,
::IClientInstance & client,
::UIControl & owner,
int pass )
inherited
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.

◆ $preRenderSetup() [1/2]

MCAPI void MinecraftUICustomRenderer::$preRenderSetup ( ::UIRenderContext & renderContext)
inherited
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.

◆ $preRenderSetup() [2/2]

MCAPI void MinecraftUICustomRenderer::$preRenderSetup ( ::MinecraftUIRenderContext & renderContext)
inherited
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() [1/2]

MCAPI void ** MinecraftUICustomRenderer::$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.

◆ $getBatchType()

MCAPI::UIBatchType UICustomRenderer::$getBatchType ( ) const
inherited
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.

◆ $getCustomId()

MCAPI int UICustomRenderer::$getCustomId ( ) const
inherited
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.

◆ $getNumRenderPasses()

MCAPI int UICustomRenderer::$getNumRenderPasses ( ) const
inherited
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.

◆ $getResourceLocation()

MCAPI::ResourceLocation UICustomRenderer::$getResourceLocation ( int textureSlot,
int pass ) const
inherited
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.

◆ $getUIMaterialType()

MCAPI::UIMaterialType UICustomRenderer::$getUIMaterialType ( int pass) const
inherited
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.

◆ $getRequiresPreRenderSetup()

MCAPI bool UICustomRenderer::$getRequiresPreRenderSetup ( int pass) const
inherited
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.

◆ $onVisibilityChanged()

MCAPI void UICustomRenderer::$onVisibilityChanged ( bool visible)
inherited
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.

◆ $collectScreenEvents()

MCAPI void UICustomRenderer::$collectScreenEvents ( ::std::queue<::ScreenEvent, ::std::deque<::ScreenEvent > > & screenEvents)
inherited
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.

◆ $getItemRenderInfo()

MCAPI::UIItemRenderInfo UICustomRenderer::$getItemRenderInfo ( ) const
inherited
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.

◆ getEntityMaterial()

MCAPI::mce::MaterialPtr & ActorShaderManager::getEntityMaterial ( )
inherited
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.

◆ getStaticMaterial()

MCAPI::mce::MaterialPtr & ActorShaderManager::getStaticMaterial ( )
inherited
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.

◆ getTransparentEntityMaterial()

MCAPI::mce::MaterialPtr & ActorShaderManager::getTransparentEntityMaterial ( )
inherited
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.

◆ setupFoilShaderParameters() [1/3]

MCAPI void ActorShaderManager::setupFoilShaderParameters ( ::ScreenContext & screenContext,
::BaseActorRenderContext & entityContext,
::Actor & entity,
::mce::Color const & changeColor,
::mce::Color const & changeColor2,
::Vec2 const & uvScale,
float a,
::Brightness lightEmission,
::std::optional<::glm::vec3 > const & lightEmissionColor,
bool allowOverlay ) const
inherited
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.

◆ setupFoilShaderParameters() [2/3]

MCAPI void ActorShaderManager::setupFoilShaderParameters ( ::ScreenContext & screenContext,
::TextureUVCoordinateSet const & icon )
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.

◆ setupFoilShaderParameters() [3/3]

MCAPI void ActorShaderManager::setupFoilShaderParameters ( ::ScreenContext & screenContext,
::mce::Color const & overlay,
::mce::Color const & changeColor,
::mce::Color const & changeColor2,
::Vec2 const & uvScale )
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.

◆ GLINT_ACTOR_TEXTURE_LOCATION()

MCAPI ::ResourceLocation const & ActorShaderManager::GLINT_ACTOR_TEXTURE_LOCATION ( )
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.

◆ GLINT_ITEM_TEXTURE_LOCATION()

MCAPI ::ResourceLocation const & ActorShaderManager::GLINT_ITEM_TEXTURE_LOCATION ( )
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.

◆ $dtor()

MCAPI void ActorShaderManager::$dtor ( )
inherited
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 ** ActorShaderManager::$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: