Class InferredVertexView
java.lang.Object
com.jozufozu.flywheel.lib.vertex.AbstractVertexView
com.jozufozu.flywheel.impl.vertex.InferredVertexView
- All Implemented Interfaces:
MutableVertexList,VertexList,VertexView
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected final com.mojang.blaze3d.vertex.VertexFormatprotected final intprotected final intprotected final intprotected final intprotected final intprotected final intFields inherited from class com.jozufozu.flywheel.lib.vertex.AbstractVertexView
ptr, vertexCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloata(int index) voida(int index, float a) floatb(int index) voidb(int index, float b) floatg(int index) voidg(int index, float g) intlight(int index) voidlight(int index, int light) floatnormalX(int index) voidnormalX(int index, float normalX) floatnormalY(int index) voidnormalY(int index, float normalY) floatnormalZ(int index) voidnormalZ(int index, float normalZ) intoverlay(int index) voidoverlay(int index, int overlay) floatr(int index) voidr(int index, float r) longstride()floatu(int index) voidu(int index, float u) floatv(int index) voidv(int index, float v) floatx(int index) voidx(int index, float x) floaty(int index) voidy(int index, float y) floatz(int index) voidz(int index, float z) Methods inherited from class com.jozufozu.flywheel.lib.vertex.AbstractVertexView
ptr, ptr, vertexCount, vertexCount, write, write, writeAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jozufozu.flywheel.api.vertex.VertexList
getNormal, getPos, isEmpty, vertexCount, write, write, writeAllMethods inherited from interface com.jozufozu.flywheel.api.vertex.VertexView
ptr, ptr, vertexCount
-
Field Details
-
format
protected final com.mojang.blaze3d.vertex.VertexFormat format -
stride
protected final int stride -
positionOffset
protected final int positionOffset -
colorOffset
protected final int colorOffset -
textureOffset
protected final int textureOffset -
overlayOffset
protected final int overlayOffset -
lightOffset
protected final int lightOffset -
normalOffset
protected final int normalOffset
-
-
Constructor Details
-
InferredVertexView
-
-
Method Details
-
stride
public long stride()- Specified by:
stridein interfaceVertexView
-
x
public float x(int index) - Specified by:
xin interfaceVertexList
-
y
public float y(int index) - Specified by:
yin interfaceVertexList
-
z
public float z(int index) - Specified by:
zin interfaceVertexList
-
r
public float r(int index) - Specified by:
rin interfaceVertexList
-
g
public float g(int index) - Specified by:
gin interfaceVertexList
-
b
public float b(int index) - Specified by:
bin interfaceVertexList
-
a
public float a(int index) - Specified by:
ain interfaceVertexList
-
u
public float u(int index) - Specified by:
uin interfaceVertexList
-
v
public float v(int index) - Specified by:
vin interfaceVertexList
-
overlay
public int overlay(int index) - Specified by:
overlayin interfaceVertexList
-
light
public int light(int index) - Specified by:
lightin interfaceVertexList
-
normalX
public float normalX(int index) - Specified by:
normalXin interfaceVertexList
-
normalY
public float normalY(int index) - Specified by:
normalYin interfaceVertexList
-
normalZ
public float normalZ(int index) - Specified by:
normalZin interfaceVertexList
-
x
public void x(int index, float x) - Specified by:
xin interfaceMutableVertexList
-
y
public void y(int index, float y) - Specified by:
yin interfaceMutableVertexList
-
z
public void z(int index, float z) - Specified by:
zin interfaceMutableVertexList
-
r
public void r(int index, float r) - Specified by:
rin interfaceMutableVertexList
-
g
public void g(int index, float g) - Specified by:
gin interfaceMutableVertexList
-
b
public void b(int index, float b) - Specified by:
bin interfaceMutableVertexList
-
a
public void a(int index, float a) - Specified by:
ain interfaceMutableVertexList
-
u
public void u(int index, float u) - Specified by:
uin interfaceMutableVertexList
-
v
public void v(int index, float v) - Specified by:
vin interfaceMutableVertexList
-
overlay
public void overlay(int index, int overlay) - Specified by:
overlayin interfaceMutableVertexList
-
light
public void light(int index, int light) - Specified by:
lightin interfaceMutableVertexList
-
normalX
public void normalX(int index, float normalX) - Specified by:
normalXin interfaceMutableVertexList
-
normalY
public void normalY(int index, float normalY) - Specified by:
normalYin interfaceMutableVertexList
-
normalZ
public void normalZ(int index, float normalZ) - Specified by:
normalZin interfaceMutableVertexList
-