Interface VertexList
- All Known Subinterfaces:
DefaultVertexList,MutableVertexList,VertexView
- All Known Implementing Classes:
AbstractVertexView,FullVertexView,NoOverlayVertexView,PosTexNormalVertexView,PosVertexView
public interface VertexList
A read only view of a vertex buffer.
VertexList assumes nothing about the layout of the vertices. Implementations should feel free to return constants for values that are unused in their layout.
-
Method Summary
Modifier and TypeMethodDescriptionfloata(int index) floatb(int index) floatg(int index) default booleanisEmpty()intlight(int index) floatnormalX(int index) floatnormalY(int index) floatnormalZ(int index) intoverlay(int index) floatr(int index) floatu(int index) floatv(int index) intdefault voidwrite(MutableVertexList dst, int srcIndex, int dstIndex) default voidwrite(MutableVertexList dst, int srcStartIndex, int dstStartIndex, int vertexCount) default voidfloatx(int index) floaty(int index) floatz(int index)
-
Method Details
-
x
float x(int index) -
y
float y(int index) -
z
float z(int index) -
r
float r(int index) -
g
float g(int index) -
b
float b(int index) -
a
float a(int index) -
u
float u(int index) -
v
float v(int index) -
overlay
int overlay(int index) -
light
int light(int index) -
normalX
float normalX(int index) -
normalY
float normalY(int index) -
normalZ
float normalZ(int index) -
write
-
write
-
writeAll
-
vertexCount
int vertexCount() -
isEmpty
default boolean isEmpty()
-