3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/minecraft_renderer/renderer/MaterialPtr.h"
22namespace mce {
class Color; }
31 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mEntityMaterial;
32 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mTransparentEntityMaterial;
33 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mStaticMaterial;
39 virtual ~ActorShaderManager();
41 virtual ::mce::Color _getOverlayColor(::Actor& actor,
float a)
const;
47 MCAPI ::mce::MaterialPtr& getEntityMaterial();
49 MCAPI ::mce::MaterialPtr& getStaticMaterial();
51 MCAPI ::mce::MaterialPtr& getTransparentEntityMaterial();
53 MCAPI
void setupFoilShaderParameters(
54 ::ScreenContext& screenContext,
55 ::BaseActorRenderContext& entityContext,
57 ::mce::Color
const& changeColor,
58 ::mce::Color
const& changeColor2,
59 ::Vec2
const& uvScale,
61 ::Brightness lightEmission,
65 MCAPI
void setupFoilShaderParameters(
66 ::ScreenContext& screenContext,
67 ::BaseActorRenderContext& entityContext,
69 ::mce::Color
const& overlayColor,
70 ::mce::Color
const& changeColor,
71 ::mce::Color
const& changeColor2,
72 ::Vec2
const& uvScale,
75 ::Brightness lightEmission,
79 MCAPI
void setupShaderParameters(
80 ::ScreenContext& screenContext,
81 ::BaseActorRenderContext& entityContext,
90 MCAPI static ::mce::Color getOverlayColor(::Actor& actor,
float);
92 MCAPI
static void setEntityConstants(
93 ::mce::ActorConstants& entityConstants,
94 ::mce::RenderContext& renderContext,
95 ::mce::Color
const& blockLightColor,
96 ::Vec2
const& tileLightColorUV,
97 ::mce::Color
const& overlay,
98 ::mce::Color
const& changeColor,
99 ::mce::Color
const& changeColor2,
100 ::mce::Color
const& glintColor,
101 ::Vec2
const& glintUVScale,
102 ::Vec4
const& uvAnim,
109 MCAPI
static void setupFoilShaderParameters(::ScreenContext& screenContext, ::TextureUVCoordinateSet
const& icon);
111 MCAPI
static void setupFoilShaderParameters(
112 ::ScreenContext& screenContext,
113 ::mce::Color
const& overlay,
114 ::mce::Color
const& changeColor,
115 ::mce::Color
const& changeColor2,
116 ::Vec2
const& uvScale
119 MCAPI
static void setupShaderParameters(
120 ::ScreenContext& screenContext,
122 ::mce::Color
const& overlayColor,
123 bool dimensionHasCeiling
126 MCAPI
static void setupShaderParameters(
127 ::ScreenContext& screenContext,
128 ::mce::Color
const& overlay,
129 ::mce::Color
const& changeColor,
130 ::mce::Color
const& changeColor2
133 MCAPI
static void setupShaderParameters(
134 ::ScreenContext& screenContext,
135 ::BaseActorRenderContext& entityContext,
137 ::mce::Color
const& overlay,
139 ::Brightness lightEmission
142 MCAPI
static void setupShaderParameters(
143 ::ScreenContext& screenContext,
144 ::BaseActorRenderContext& entityContext,
146 ::mce::Color
const& overlay,
151 MCAPI
static void setupShaderParameters(
152 ::ScreenContext& screenContext,
153 ::BlockSource& source,
154 ::BrightnessPair
const& lightColorUV,
157 ::LightTexture& lightTexture,
158 ::Vec2
const& uvScale,
162 MCAPI
static void setupShaderParameters(
163 ::ScreenContext& screenContext,
164 ::BlockSource& source,
165 ::BlockPos
const& pos,
168 ::LightTexture& lightTexture,
169 ::Vec2
const& uvScale,
173 MCAPI
static void setupShaderParameters(
174 ::ScreenContext& screenContext,
175 ::BaseActorRenderContext& entityContext,
177 ::mce::Color
const& overlay,
178 ::mce::Color
const& changeColor,
179 ::mce::Color
const& changeColor2,
180 ::Vec4
const& uvAnim,
186 MCAPI
static void setupShaderParameters(
187 ::ScreenContext& screenContext,
188 ::BlockSource& source,
189 ::BlockPos
const& pos,
190 ::mce::Color
const& changeColor,
191 ::mce::Color
const& changeColor2,
193 ::LightTexture& lightTexture,
194 ::Vec2
const& uvScale,
196 ::Brightness lightEmission
199 MCAPI
static void setupShaderParameters(
200 ::ScreenContext& screenContext,
201 ::mce::Color
const& overlay,
202 ::mce::Color
const& changeColor,
203 ::mce::Color
const& changeColor2,
204 ::mce::Color
const& glintColor,
209 ::Vec2
const& glintUVScale,
210 ::Vec4
const& uvAnim,
214 MCAPI
static void setupShaderParameters(
215 ::ScreenContext& screenContext,
216 ::BaseActorRenderContext& entityContext,
218 ::mce::Color
const& overlay,
219 ::mce::Color
const& changeColor,
220 ::mce::Color
const& changeColor2,
221 ::mce::Color
const& glintColor,
226 ::Vec2
const& glintUVScale,
227 ::Vec4
const& uvAnim,
229 ::Brightness lightEmission
236 MCAPI static ::ResourceLocation
const& GLINT_ACTOR_TEXTURE_LOCATION();
238 MCAPI static ::ResourceLocation
const& GLINT_ITEM_TEXTURE_LOCATION();
250 MCAPI ::mce::Color $_getOverlayColor(::Actor& actor,
float a)
const;
Definition ActorShaderManager.h:5
Definition BaseActorRenderContext.h:34
Definition BlockSource.h:68
Definition LightTexture.h:5
Definition ResourceLocation.h:15
Definition ScreenContext.h:5
Definition RenderContext.h:7
Definition BrightnessPair.h:8
Definition Brightness.h:8
Definition TextureUVCoordinateSet.h:5
Definition ActorConstants.h:7