Mutable Quad View Impl
public abstract class MutableQuadViewImpl extends QuadViewImpl implements QuadEmitter
Content copied to clipboard
Almost-concrete implementation of a mutable quad. The only missing part is emit, because that depends on where/how it is used. (Mesh encoding vs. render-time transformation).
Functions
colorIndex
Link copied to clipboard
abstract int colorIndex()
Content copied to clipboard
final int colorIndex()
Content copied to clipboard
copyNormal
Link copied to clipboard
cullFace
Link copied to clipboard
faceNormal
Link copied to clipboard
fromVanilla
Link copied to clipboard
final MutableQuadViewImpl fromVanilla(BakedQuad quad, RenderMaterial material, Direction cullFace)
Content copied to clipboard
@Deprecated()
Content copied to clipboard
geometryFlags
Link copied to clipboard
int geometryFlags()
Content copied to clipboard
gets flags used for lighting - lazily computed via computeShapeFlags.
hasVertexNormals
Link copied to clipboard
material
Link copied to clipboard
nominalFace
Link copied to clipboard
normal
Link copied to clipboard
normalFlags
Link copied to clipboard
int normalFlags()
Content copied to clipboard
populateMissingNormals
Link copied to clipboard
pos
Link copied to clipboard
posByIndex
Link copied to clipboard
abstract float posByIndex(int p, int p1)
Content copied to clipboard
float posByIndex(int vertexIndex, int coordinateIndex)
Content copied to clipboard
sprite
Link copied to clipboard
MutableQuadViewImpl sprite(int vertexIndex, int spriteIndex, float u, float v)
Content copied to clipboard
spriteBake
Link copied to clipboard
MutableQuadViewImpl spriteBake(int spriteIndex, Sprite sprite, int bakeFlags)
Content copied to clipboard
spriteColor
Link copied to clipboard
abstract int spriteColor(int p, int p1)
Content copied to clipboard
int spriteColor(int vertexIndex, int spriteIndex)
Content copied to clipboard
MutableQuadViewImpl spriteColor(int vertexIndex, int spriteIndex, int color)
Content copied to clipboard
spriteUnitSquare
Link copied to clipboard
tag
Link copied to clipboard
toBakedQuad
Link copied to clipboard
vertexStart
Link copied to clipboard
int vertexStart()
Content copied to clipboard
Sources
jvm source
Link copied to clipboard