LeviLamina
Loading...
Searching...
No Matches
TextureTessellator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Tessellator;
8class Vec3;
9// clang-format on
10
12public:
13 // TextureTessellator inner types declare
14 // clang-format off
16 // clang-format on
17
18 // TextureTessellator inner types define
19 enum class VerticalSide : int {};
20
21 struct TessellationParameters {};
22
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::UntypedStorage<1, 1> mUnkea97b2;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 TextureTessellator& operator=(TextureTessellator const&);
32 TextureTessellator(TextureTessellator const&);
33 TextureTessellator();
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCNAPI void tessellate(
39 ::Tessellator& tessellator,
40 uchar const* const colorData,
41 uchar const* const mersData,
42 uchar const* const normalsData,
43 ushort width,
44 ushort height,
46 );
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCNAPI static void _addLighting(
53 ::Tessellator& tessellator,
54 uchar const* const imageData,
55 ::Vec3 const& normal,
56 ::glm::vec4 const& mers,
57 bool deferredEnabled,
58 bool cloudLighting
59 );
60
61 MCNAPI static void
62 validateImageTesselationForCreatorFeedback(ushort width, ushort height, ::std::string const& objectName);
63 // NOLINTEND
64};
Definition Tessellator.h:5
Definition TextureTessellator.h:5
MCAPI void tessellate(::Tessellator &tessellator, uchar const *const colorData, uchar const *const mersData, uchar const *const normalsData, ushort width, ushort height, ::TextureTessellator::TessellationParameters const &parameters)
static MCAPI void _addLighting(::Tessellator &tessellator, uchar const *const imageData, ::Vec3 const &normal, ::glm::vec4 const &mers, bool deferredEnabled, bool cloudLighting)
static MCAPI void validateImageTesselationForCreatorFeedback(ushort width, ushort height, ::std::string const &objectName)
Definition Vec3.h:10
Definition TextureTessellator.h:15