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 Type
    Method
    Description
    float
    a(int index)
     
    float
    b(int index)
     
    float
    g(int index)
     
    default boolean
     
    int
    light(int index)
     
    float
    normalX(int index)
     
    float
    normalY(int index)
     
    float
    normalZ(int index)
     
    int
    overlay(int index)
     
    float
    r(int index)
     
    float
    u(int index)
     
    float
    v(int index)
     
    int
     
    default void
    write(MutableVertexList dst, int srcIndex, int dstIndex)
     
    default void
    write(MutableVertexList dst, int srcStartIndex, int dstStartIndex, int vertexCount)
     
    default void
     
    float
    x(int index)
     
    float
    y(int index)
     
    float
    z(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

      default void write(MutableVertexList dst, int srcIndex, int dstIndex)
    • write

      default void write(MutableVertexList dst, int srcStartIndex, int dstStartIndex, int vertexCount)
    • writeAll

      default void writeAll(MutableVertexList dst)
    • vertexCount

      int vertexCount()
    • isEmpty

      default boolean isEmpty()