File Tessellator.hpp

Enums

enum class PrimitiveMode : int

Values:

enumerator None
enumerator QuadList
enumerator TriangleList
enumerator TriangleStrip
enumerator LineList
enumerator LineStrip
struct TessellatorQuadInfo

Public Members

unsigned char facing
unsigned char twoFace
Vec3 centroid
class Tessellator

Public Functions

void begin(mce::PrimitiveMode mode, int maxVertices)
void beginOverride()
void vertex(float x, float y, float z)
void vertex(const Vec3&)
void vertexUV(float x, float y, float z, float uvX, float uvY)
void vertexUV(const Vec3&, float uvX, float uvY)
void color(float r, float g, float b, float a)
void setPostTransformOffset(float xo, float yo, float zo)
void setPosTransformOffset(Vec3 v)
Vec3 *getPostTransformOffset()
void addPostTransformOffset(float x, float y, float z)
void addPostTransformOffset(Vec3 v)
void resetPostTransformScale()
mce::Mesh end(uint64_t a3, std::string_view debugName, int a5)
void clear()
mce::Mesh endOverride(uint64_t a3, std::string_view debugName, int a5)

Public Members

bool mIsFormatFixed
std::byte padding1[7]
mce::MeshData mMeshData
std::byte padding248[80]
std::optional<unsigned int> mNextColor
std::byte padding336[12]
Vec3 mPostTransformOffset
Vec3 mPostTransformScale
std::byte padding372[4]
std::vector<TessellatorQuadInfo> mQuadInfoList
std::byte padding400[16]
bool mApplyTransform
std::byte padding417[67]
bool mNoColor
bool mVoidBeginEnd
std::byte padding486[46]
bool mTessellating
std::byte padding533[19]
unsigned int mCount
std::byte padding556[5]
bool mBuildFaceData
namespace mce

Enums

enum class PrimitiveMode : int

Values:

enumerator None
enumerator QuadList
enumerator TriangleList
enumerator TriangleStrip
enumerator LineList
enumerator LineStrip