LeviLamina
Loading...
Searching...
No Matches
TextureUVCoordinateSet.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/renderer/texture/IsotropicFaceData.h"
7#include "mc/deps/core/resource/ResourceLocation.h"
8
10public:
11 // member variables
12 // NOLINTBEGIN
13 ::ll::TypedStorage<4, 4, float> weight;
14 ::ll::TypedStorage<4, 4, float> _u0;
15 ::ll::TypedStorage<4, 4, float> _v0;
16 ::ll::TypedStorage<4, 4, float> _u1;
17 ::ll::TypedStorage<4, 4, float> _v1;
18 ::ll::TypedStorage<2, 2, ushort> _texSizeW;
19 ::ll::TypedStorage<2, 2, ushort> _texSizeH;
20 ::ll::TypedStorage<8, 56, ::ResourceLocation> sourceFileLocation;
21 ::ll::TypedStorage<1, 1, ::IsotropicFaceData> mIsotropicFaceData;
22 ::ll::TypedStorage<2, 2, short> textureSetTranslationIndex;
23 ::ll::TypedStorage<2, 2, ushort> mPBRTextureDataHandle;
24 // NOLINTEND
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI TextureUVCoordinateSet();
30
31 MCAPI TextureUVCoordinateSet(::TextureUVCoordinateSet const&);
32
33 MCAPI TextureUVCoordinateSet(
34 float u0,
35 float v0,
36 float u1,
37 float v1,
38 ushort texWidth,
39 ushort texHeight,
40 ::ResourceLocation file,
41 float w,
42 ushort pbrTextureDataHandle
43 );
44
45 MCAPI ::TextureUVCoordinateSet getFlippedHorizontal() const;
46
47 MCAPI ::TextureUVCoordinateSet getFlippedVertically() const;
48
49 MCAPI float offsetHeight(float percent, float startHeight) const;
50
51 MCAPI float offsetHeightPixel(float pixels, float startHeight) const;
52
53 MCAPI float offsetWidthPixel(float pixels, float startWidth) const;
54
55 MCFOLD ::TextureUVCoordinateSet& operator=(::TextureUVCoordinateSet const&);
56
57 MCFOLD ::TextureUVCoordinateSet& operator=(::TextureUVCoordinateSet&&);
58
59 MCAPI bool operator==(::TextureUVCoordinateSet const& other) const;
60
61 MCAPI void setTextureFrom(::TextureUVCoordinateSet const& source, float u0, float u1, float v0, float v1);
62
63 MCAPI ::TextureUVCoordinateSet subTexture(float u0ffset, float v0ffset, int sizeW, int sizeH) const;
64
65 MCAPI ~TextureUVCoordinateSet();
66 // NOLINTEND
67
68public:
69 // static functions
70 // NOLINTBEGIN
71 MCAPI static ::TextureUVCoordinateSet fromOldSystem(int tex);
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor();
78
79 MCAPI void* $ctor(::TextureUVCoordinateSet const&);
80
81 MCAPI void* $ctor(
82 float u0,
83 float v0,
84 float u1,
85 float v1,
86 ushort texWidth,
87 ushort texHeight,
88 ::ResourceLocation file,
89 float w,
90 ushort pbrTextureDataHandle
91 );
92 // NOLINTEND
93
94public:
95 // destructor thunk
96 // NOLINTBEGIN
97 MCFOLD void $dtor();
98 // NOLINTEND
99};
Definition TextureUVCoordinateSet.h:5