TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ FillTextureArray()

void Terraria.ModLoader.UndergroundBackgroundStylesLoader.FillTextureArray ( int style,
int[] textureSlots )
inline

Definition at line 33 of file UndergroundBackgroundStylesLoader.cs.

34 {
35 if (GlobalBackgroundStyleLoader.loaded)
36 {
37 Get(style)?.FillTextureArray(textureSlots);
38 Action<int, int[]>[] hookFillUndergroundTextureArray = GlobalBackgroundStyleLoader.HookFillUndergroundTextureArray;
39 for (int i = 0; i < hookFillUndergroundTextureArray.Length; i++)
40 {
42 }
43 }
44 }

References Terraria.ModLoader.Loader< ModSceneEffect >.Get(), Terraria.ModLoader.GlobalBackgroundStyleLoader.HookFillUndergroundTextureArray, and Terraria.ModLoader.GlobalBackgroundStyleLoader.loaded.

+ Here is the call graph for this function: