com.io7m.smfj.bytebuffer

## Interface SMFByteBufferPackedTrianglesType

- All Known Implementing Classes:
    SMFByteBufferPackedTriangles

      public interface SMFByteBufferPackedTrianglesType

  A set of triangles packed into a byte buffer.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `ByteBuffer` | `byteBuffer()`
    `default void` | `checkPreconditions()` Check preconditions for the type.
    `default com.io7m.jpra.runtime.java.JPRACursor1DType<SMFByteBufferIntegerUnsigned3Type>` | `cursor()`
    `long` | `triangleCount()`
    `int` | `triangleIndexSizeBits()`
    `default int` | `triangleIndexSizeOctets()`
    `default int` | `triangleSizeBits()`
    `default int` | `triangleSizeOctets()`

- - ### Method Detail

    - #### byteBuffer

          ByteBuffer byteBuffer()

      Returns:
        The byte buffer

    - #### triangleCount

          long triangleCount()

      Returns:
        The number of triangles present

    - #### triangleIndexSizeBits

          int triangleIndexSizeBits()

      Returns:
        The size in bits of a single triangle index

    - #### triangleIndexSizeOctets

          default int triangleIndexSizeOctets()

      Returns:
        The size in octets of a single triangle index

    - #### triangleSizeBits

          default int triangleSizeBits()

      Returns:
        The size in bits of a single triangle

    - #### triangleSizeOctets

          default int triangleSizeOctets()

      Returns:
        The size in octets of a single triangle

    - #### cursor

          default com.io7m.jpra.runtime.java.JPRACursor1DType<SMFByteBufferIntegerUnsigned3Type> cursor()

      Returns:
        A cursor that can access individual triangles

    - #### checkPreconditions

          default void checkPreconditions()

      Check preconditions for the type.

Copyright © 2017 <code@io7m.com> http://io7m.com