LeviLamina
Loading...
Searching...
No Matches
LightTexture.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/SubClientId.h"
7
8// auto generated forward declare list
9// clang-format off
10class BaseLightData;
12class Dimension;
14class IClientInstance;
16class Vec2;
17struct BrightnessPair;
18namespace mce { class Color; }
19namespace mce { struct ClientTexture; }
20// clang-format on
21
22class LightTexture {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::UntypedStorage<8, 16> mUnk6fbdad;
27 ::ll::UntypedStorage<1, 1> mUnkd27bbb;
28 ::ll::UntypedStorage<8, 16> mUnk815074;
29 ::ll::UntypedStorage<1, 1> mUnk4bdd8d;
30 ::ll::UntypedStorage<1, 1> mUnkf5db3e;
31 ::ll::UntypedStorage<1, 1> mUnkddd289;
32 ::ll::UntypedStorage<4, 64> mUnk3dfec9;
33 ::ll::UntypedStorage<8, 16> mUnkd3656a;
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
38 LightTexture& operator=(LightTexture const&);
39 LightTexture(LightTexture const&);
40 LightTexture();
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCNAPI
46 LightTexture(::MinecraftGameplayGraphicsResources& minecraftGameplayGraphicsResources, ::SubClientId subClientId);
47
48 MCNAPI void frameUpdate(::FrameUpdateContext& frameUpdateContext);
49
50 MCNAPI ::mce::ClientTexture const& getClientHandle() const;
51
52 MCNAPI ::mce::Color getColorForUV(::glm::vec2 const& lightColor) const;
53
54 MCNAPI ::mce::Color getColorForUV(::BrightnessPair lightColor) const;
55
56 MCNAPI ::BaseLightData const& getLightData() const;
57
58 MCNAPI void refresh(
59 ::Dimension const&,
61 ::IClientInstance* client,
62 float a,
63 float ambientBoost,
64 bool clampToMinimum
65 );
66 // NOLINTEND
67
68public:
69 // static functions
70 // NOLINTBEGIN
71 MCNAPI static ::Vec2 brightnessToUV(::BrightnessPair brightness);
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCNAPI void*
78 $ctor(::MinecraftGameplayGraphicsResources& minecraftGameplayGraphicsResources, ::SubClientId subClientId);
79 // NOLINTEND
80};
Definition BaseLightData.h:5
Definition BaseLightTextureImageBuilder.h:5
Definition Dimension.h:88
Definition FrameUpdateContext.h:5
Definition IClientInstance.h:5
Definition LightTexture.h:5
MCAPI LightTexture(::MinecraftGameplayGraphicsResources &minecraftGameplayGraphicsResources, ::SubClientId subClientId)
MCAPI void frameUpdate(::FrameUpdateContext &frameUpdateContext)
MCAPI void * $ctor(::MinecraftGameplayGraphicsResources &minecraftGameplayGraphicsResources, ::SubClientId subClientId)
MCAPI::mce::Color getColorForUV(::glm::vec2 const &lightColor) const
static MCAPI ::Vec2 brightnessToUV(::BrightnessPair brightness)
MCAPI::BaseLightData const & getLightData() const
MCAPI::mce::Color getColorForUV(::BrightnessPair lightColor) const
MCAPI void refresh(::Dimension const &, ::BaseLightTextureImageBuilder *imageBuilder, ::IClientInstance *client, float a, float ambientBoost, bool clampToMinimum)
MCAPI::mce::ClientTexture const & getClientHandle() const
Definition MinecraftGameplayGraphicsResources.h:5
Definition Vec2.h:5
Definition Color.h:13
Definition BrightnessPair.h:8
Definition ClientTexture.h:7