Interface VertexView

All Superinterfaces:
MutableVertexList, VertexList
All Known Implementing Classes:
AbstractVertexView, FullVertexView, NoOverlayVertexView, PosTexNormalVertexView, PosVertexView

public interface VertexView extends MutableVertexList
  • Method Details

    • ptr

      long ptr()
    • ptr

      void ptr(long ptr)
    • vertexCount

      void vertexCount(int vertexCount)
    • stride

      long stride()
    • nativeMemoryOwner

      @Nullable @Nullable Object nativeMemoryOwner()
    • nativeMemoryOwner

      void nativeMemoryOwner(@Nullable @Nullable Object owner)
      The memory referenced by this vertex view's pointer may be owned by another object, such that the memory is automatically freed when the other object becomes phantom reachable or is garbage collected. Use this method to ensure this vertex view retains a strong reference to the memory owner so this vertex view's pointer remains valid even when no other references to the memory owner are retained.
    • load

      default void load(MemoryBlock data)
    • write

      default void write(MutableVertexList dst, int srcIndex, int dstIndex)
      Specified by:
      write in interface VertexList
    • write

      default void write(MutableVertexList dst, int srcStartIndex, int dstStartIndex, int vertexCount)
      Specified by:
      write in interface VertexList
    • writeAll

      default void writeAll(MutableVertexList dst)
      Specified by:
      writeAll in interface VertexList