Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RenderController Class Reference

Public Member Functions

RenderController & operator= (RenderController const &)
MCAPI RenderController (::RenderController const &)
MCAPI ::std::shared_ptr<::DataDrivenGeometry > getGeometry (::RenderParams &renderParams) const
MCAPI::mce::Color getOnFireColor (::RenderParams &renderParams) const
MCAPI::mce::Color getOverlayColor (::RenderParams &renderParams) const
MCAPI::mce::Color getTintColor (::RenderParams &renderParams) const
MCAPI::Vec4 getUVAnim (::RenderParams &renderParams, ::Vec4 const &defaultUVAnim) const
MCAPI bool init (::DataDrivenModel &model)
MCAPI bool parse (::Json::Value const &root, ::MolangVersion molangVersion)
MCAPI bool parseArray (::Json::Value const &root, ::RenderControllerArrayType arrayType, ::MolangVersion const molangVersion)
MCAPI void render (::RenderParams &renderParams, ::DataDrivenGeometry &geo)
MCAPI bool replaceVariables (::DataDrivenModel &model)
MCAPI bool updatePartMaterials ()
MCAPI bool updatePartVisibility ()
MCAPI ~RenderController ()
MCAPI void * $ctor (::RenderController const &)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI bool _parseColor (::Json::Value const &root, ::ExpressionNode *colorNode, ::MolangVersion const molangVersion, float const defaultAlpha)
static MCAPI ::std::string nameToRegExStr (::std::string const &sourceName)

Public Attributes

::ll::TypedStorage< 8, 48, ::HashedString const > mName
::ll::TypedStorage< 8, 192, ::std::unordered_map<::HashedString, ::ExpressionNode >[3]> mArrays
::ll::TypedStorage< 8, 16, ::ExpressionNode > mGeometry
::ll::TypedStorage< 8, 64, ::ExpressionNode[4]> mTintColor
::ll::TypedStorage< 8, 64, ::ExpressionNode[4]> mOverlayColor
::ll::TypedStorage< 8, 64, ::ExpressionNode[4]> mOnFireColor
::ll::TypedStorage< 8, 64, ::ExpressionNode[4]> mIsHurtColor
::ll::TypedStorage< 8, 64, ::ExpressionNode[4]> mUVAnim
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair<::std::string, ::ExpressionNode > > > mPartVisibility
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair<::std::string, ::ExpressionNode > > > mMaterials
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::DataDrivenGeometry > > > mReferencedGeometries
::ll::TypedStorage< 8, 24, ::std::vector<::ExpressionNode > > mTextures
::ll::TypedStorage< 1, 1, bool > mShouldRebuildAnimationMatrices
::ll::TypedStorage< 1, 1, bool > mIgnoreLighting
::ll::TypedStorage< 1, 1, bool > mFilterLighting
::ll::TypedStorage< 1, 1, bool > mMaterialsNeedVertexColor
::ll::TypedStorage< 8, 16, ::ExpressionNode > mLightColorMultiplier
::ll::TypedStorage< 8, 8, int64 const > mResourceLoadTimeStamp

Constructor & Destructor Documentation

◆ RenderController()

MCAPI RenderController::RenderController ( ::RenderController 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.

◆ ~RenderController()

MCAPI RenderController::~RenderController ( )
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.

Member Function Documentation

◆ getOnFireColor()

MCAPI::mce::Color RenderController::getOnFireColor ( ::RenderParams & renderParams) 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.

◆ getOverlayColor()

MCAPI::mce::Color RenderController::getOverlayColor ( ::RenderParams & renderParams) 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.

◆ getTintColor()

MCAPI::mce::Color RenderController::getTintColor ( ::RenderParams & renderParams) 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.

◆ init()

MCAPI bool RenderController::init ( ::DataDrivenModel & model)
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.

◆ parse()

MCAPI bool RenderController::parse ( ::Json::Value const & root,
::MolangVersion molangVersion )
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.

◆ parseArray()

MCAPI bool RenderController::parseArray ( ::Json::Value const & root,
::RenderControllerArrayType arrayType,
::MolangVersion const molangVersion )
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()

MCAPI void RenderController::render ( ::RenderParams & renderParams,
::DataDrivenGeometry & geo )
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.

◆ replaceVariables()

MCAPI bool RenderController::replaceVariables ( ::DataDrivenModel & model)
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.

◆ updatePartMaterials()

MCAPI bool RenderController::updatePartMaterials ( )
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.

◆ updatePartVisibility()

MCAPI bool RenderController::updatePartVisibility ( )
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.

◆ _parseColor()

MCAPI bool RenderController::_parseColor ( ::Json::Value const & root,
::ExpressionNode * colorNode,
::MolangVersion const molangVersion,
float const defaultAlpha )
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.

◆ nameToRegExStr()

MCAPI ::std::string RenderController::nameToRegExStr ( ::std::string const & sourceName)
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.

◆ $ctor()

MCAPI void * RenderController::$ctor ( ::RenderController 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.

◆ $dtor()

MCAPI void RenderController::$dtor ( )
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: