3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/application/AppPlatformListener.h"
7#include "mc/deps/core/math/Vec3.h"
8#include "mc/deps/core/string/HashedString.h"
9#include "mc/deps/minecraft_renderer/renderer/MaterialVariants.h"
10#include "mc/world/phys/AABB.h"
36 ::ll::TypedStorage<4, 12, ::Vec3> mLeashOffset;
37 ::ll::TypedStorage<4, 4, float> mAttackTime;
38 ::ll::TypedStorage<1, 1, bool> mYoung;
39 ::ll::TypedStorage<1, 1, bool> mRiding;
40 ::ll::TypedStorage<8, 24, ::std::vector<::ModelPart*>> mAllParts;
41 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::HashedString>> mParticleEffectsMap;
42 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::ModelPartLocator>> mLocators;
43 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::std::shared_ptr<::RenderController>, ::ExpressionNode>>>
45 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::DataDrivenGeometry>>> mGeometries;
46 ::ll::TypedStorage<8, 8, uint64> mQueryableGeometryIndex;
47 ::ll::TypedStorage<4, 24, ::AABB> mAABB;
48 ::ll::TypedStorage<8, 32, ::MaterialVariants> mMaterialVariants;
58 virtual void onAppSuspended() ;
60 virtual void preDraw(::ScreenContext&);
62 virtual void postDraw(::ScreenContext&);
64 virtual void render(::ScreenContext& screenContext);
67 ::ScreenContext& screenContext,
77 virtual void render(::BaseActorRenderContext&);
80 render(::BaseActorRenderContext& baseActorRenderContext, ::Actor&,
float,
float,
float,
float,
float,
float);
82 virtual void setupAnim(
float time,
float r,
float bob,
float yRot,
float xRot,
float scale);
84 virtual void setupAnim();
86 virtual void prepareMobModel(::Mob&,
float,
float,
float);
88 virtual float getHeightAdjustment()
const;
90 virtual ::AABB buildAABB()
const;
98 MCAPI
void assignPartToGroup(
100 bool forceToUniqueGroup,
101 int skinnedMeshGroupIdentifier,
102 ::DataDrivenGeometry* owningGeometry
105 MCAPI
void dataDrivenDraw(
106 ::RenderParams& renderParams,
107 ::dragon::RenderMetadata
const& renderMetadata,
108 ::gsl::not_null<::RenderController const*> renderController,
109 ::DataDrivenGeometry& geo,
110 ::ClientPBRTextureData
const& textureData,
111 ::std::optional<::MERSUniformData>
const& mersUniforms
115 ::ScreenContext& screenContext,
116 ::dragon::RenderMetadata
const& renderMetadata,
117 ::mce::ClientTexture
const& texture
121 ::ScreenContext& screenContext,
122 ::dragon::RenderMetadata
const& renderMetadata,
123 ::ActorTextureInfo
const& textureInfo
127 ::ScreenContext& screenContext,
128 ::dragon::RenderMetadata
const& renderMetadata,
129 ::ClientPBRTextureData
const& textureData,
130 ::std::optional<::MERSUniformData>
const& mersUniforms
133 MCAPI
void prepareSkinning();
135 MCAPI
void setModelMaterial(::mce::MaterialPtr
const& materialPtr);
155 MCFOLD
void $onAppSuspended();
157 MCFOLD
void $preDraw(::ScreenContext&);
159 MCFOLD
void $postDraw(::ScreenContext&);
161 MCFOLD
void $render(::ScreenContext& screenContext);
164 ::ScreenContext& screenContext,
174 MCFOLD
void $render(::BaseActorRenderContext&);
177 $render(::BaseActorRenderContext& baseActorRenderContext, ::Actor&,
float,
float,
float,
float,
float,
float);
179 MCFOLD
void $setupAnim(
float time,
float r,
float bob,
float yRot,
float xRot,
float scale);
181 MCFOLD
void $setupAnim();
183 MCFOLD
void $prepareMobModel(::Mob&,
float,
float,
float);
185 MCAPI
float $getHeightAdjustment()
const;
187 MCAPI ::AABB $buildAABB()
const;
Definition BaseActorRenderContext.h:5
Definition ClientPBRTextureData.h:5
Definition DataDrivenGeometry.h:5
Definition ExpressionNode.h:34
Definition ModelPartLocator.h:11
static MCAPI void ** $vftable()
Definition RenderController.h:5
Definition RenderParams.h:30
Definition ScreenContext.h:5
Definition MaterialPtr.h:15
Definition ActorTextureInfo.h:5
Definition ClientTexture.h:7