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 offsetHeightPixel(float pixels, float startHeight) const;
50
51 MCAPI float offsetWidthPixel(float pixels, float startWidth) const;
52
53 MCFOLD ::TextureUVCoordinateSet& operator=(::TextureUVCoordinateSet const&);
54
55 MCAPI ::TextureUVCoordinateSet& operator=(::TextureUVCoordinateSet&&);
56
57 MCAPI bool operator==(::TextureUVCoordinateSet const& other) const;
58
59 MCAPI ushort pixelWidth() const;
60
61 MCAPI ::TextureUVCoordinateSet subTexture(float u0ffset, float v0ffset, int sizeW, int sizeH) const;
62
63 MCAPI ~TextureUVCoordinateSet();
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCAPI static ::TextureUVCoordinateSet fromOldSystem(int tex);
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor();
76
77 MCAPI void* $ctor(::TextureUVCoordinateSet const&);
78
79 MCAPI void* $ctor(
80 float u0,
81 float v0,
82 float u1,
83 float v1,
84 ushort texWidth,
85 ushort texHeight,
86 ::ResourceLocation file,
87 float w,
88 ushort pbrTextureDataHandle
89 );
90 // NOLINTEND
91
92public:
93 // destructor thunk
94 // NOLINTBEGIN
95 MCFOLD void $dtor();
96 // NOLINTEND
97};
Definition TextureUVCoordinateSet.h:5