3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/renderer/texture/IsotropicFaceData.h"
7#include "mc/deps/core/resource/ResourceLocation.h"
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;
29 MCAPI TextureUVCoordinateSet();
31 MCAPI TextureUVCoordinateSet(::TextureUVCoordinateSet
const&);
33 MCAPI TextureUVCoordinateSet(
40 ::ResourceLocation file,
42 ushort pbrTextureDataHandle
45 MCAPI ::TextureUVCoordinateSet getFlippedHorizontal()
const;
47 MCAPI ::TextureUVCoordinateSet getFlippedVertically()
const;
49 MCAPI
float offsetHeight(
float percent,
float startHeight)
const;
51 MCAPI
float offsetHeightPixel(
float pixels,
float startHeight)
const;
53 MCAPI
float offsetWidthPixel(
float pixels,
float startWidth)
const;
55 MCFOLD ::TextureUVCoordinateSet& operator=(::TextureUVCoordinateSet
const&);
57 MCFOLD ::TextureUVCoordinateSet& operator=(::TextureUVCoordinateSet&&);
59 MCAPI
bool operator==(::TextureUVCoordinateSet
const& other)
const;
61 MCAPI
void setTextureFrom(::TextureUVCoordinateSet
const& source,
float u0,
float u1,
float v0,
float v1);
63 MCAPI ::TextureUVCoordinateSet subTexture(
float u0ffset,
float v0ffset,
int sizeW,
int sizeH)
const;
65 MCAPI ~TextureUVCoordinateSet();
71 MCAPI static ::TextureUVCoordinateSet fromOldSystem(
int tex);
79 MCAPI
void* $ctor(::TextureUVCoordinateSet
const&);
88 ::ResourceLocation file,
90 ushort pbrTextureDataHandle
Definition TextureUVCoordinateSet.h:5