3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/controls/renderers/MinecraftUICustomRenderer.h"
7#include "mc/deps/core/math/Vec2.h"
8#include "mc/deps/minecraft_renderer/renderer/TexturePtr.h"
18namespace mce {
class Mesh; }
34 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::mce::Mesh>> mMesh;
35 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mTexture;
43 ::ll::TypedStorage<4, 4, int> mElectrons;
44 ::ll::TypedStorage<4, 4, int> mProtons;
45 ::ll::TypedStorage<4, 4, int> mNeutrons;
46 ::ll::TypedStorage<4, 4, int> mRings;
47 ::ll::TypedStorage<4, 4, float> mScale;
48 ::ll::TypedStorage<4, 8, ::Vec2> mTopLeft;
49 ::ll::TypedStorage<4, 8, ::Vec2> mBottomRight;
56 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Stopwatch>> mStopwatch;
57 ::ll::TypedStorage<4, 36, ::BohrModelRenderer::State> mCurState;
58 ::ll::TypedStorage<4, 36, ::BohrModelRenderer::State> mLastState;
59 ::ll::TypedStorage<4, 4, float> mCenterRadius;
60 ::ll::TypedStorage<4, 4, float> mRingDistance;
61 ::ll::TypedStorage<4, 4, float> mRingThickness;
62 ::ll::TypedStorage<4, 4, float> mMargin;
63 ::ll::TypedStorage<4, 4, float> mElectronSize;
64 ::ll::TypedStorage<4, 4, float> mClumpRadius;
65 ::ll::TypedStorage<4, 4, uint> mProtonSeed;
66 ::ll::TypedStorage<4, 4, uint> mNeutronSeed;
67 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mRingTexture;
68 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mProtonTexture;
69 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mElectronTexture;
70 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mNeutronTexture;
71 ::ll::TypedStorage<8, 24, ::std::vector<::BohrModelRenderer::Renderable>> mRenderables;
77 virtual ~BohrModelRenderer() =
default;
79 virtual ::std::shared_ptr<::UICustomRenderer> clone() const ;
81 virtual
void render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl&,
int) ;
83 virtual
bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const&) ;
89 MCAPI BohrModelRenderer();
101 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
103 MCAPI
void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl&,
int);
105 MCAPI
bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const&);
Definition BohrModelRenderer.h:14
Definition BohrModelRenderer.h:5
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition UICustomRenderer.h:5
Definition BohrModelRenderer.h:16