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 : uint {};
20
22
23public:
24 // member variables
25 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 TextureTessellator& operator=(TextureTessellator const&);
34
35public:
36 // member functions
37 // NOLINTBEGIN
39 ::Tessellator& tessellator,
41 ::std::array<bool, 8> const& adjacency,
42 bool isVertexOnNegXSide,
43 bool isVertexOnNegZSide
44 );
45
46 MCNAPI void _addLighting(
47 ::Tessellator& tessellator,
48 uchar const* const imageData,
49 ::Vec3 const& normal,
50 ::glm::vec4 const& mers,
51 bool deferredEnabled,
52 bool cloudLighting
53 );
54
55 MCNAPI void tessellate(
56 ::Tessellator& tessellator,
57 uchar const* const colorData,
58 uchar const* const mersData,
59 uchar const* const normalsData,
60 ushort width,
61 ushort height,
63 );
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCNAPI static void
70 validateImageTesselationForCreatorFeedback(ushort width, ushort height, ::std::string const& objectName);
71 // NOLINTEND
72};
Definition Tessellator.h:19
Definition TextureTessellator.h:11
MCAPI void _addAdjacencytoTEXCOORD4(::Tessellator &tessellator, ::TextureTessellator::TessellationParameters const &parameters, ::std::array< bool, 8 > const &adjacency, bool isVertexOnNegXSide, bool isVertexOnNegZSide)
MCAPI void _addLighting(::Tessellator &tessellator, uchar const *const imageData, ::Vec3 const &normal, ::glm::vec4 const &mers, bool deferredEnabled, bool cloudLighting)
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 validateImageTesselationForCreatorFeedback(ushort width, ushort height, ::std::string const &objectName)
Definition Vec3.h:10
Definition TextureTessellator.h:21
Definition _HeaderOutputPredefine.h:273