public final class R2VertexP16ByteBuffered extends Object implements R2VertexP16Type
ByteBuffer based implementation of the R2VertexP16 record type.| Modifier and Type | Method and Description |
|---|---|
com.io7m.jtensors.ieee754b16.VectorReadable3Db16Type |
getPositionReadable() |
com.io7m.jtensors.ieee754b16.Vector3Db16Type |
getPositionWritable() |
int |
metaPositionOffsetFromCursor() |
int |
metaPositionOffsetFromType() |
static int |
metaPositionStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector |
metaPositionType() |
static R2VertexP16Type |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static R2VertexP16Type |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
static int |
sizeInOctets() |
int |
sizeOctets() |
public static R2VertexP16Type newValueWithOffset(ByteBuffer in_buffer, com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer, int in_base_offset)
in_buffer - A byte bufferin_pointer - A cursorin_base_offset - The base offset from the cursorpublic static R2VertexP16Type newValue(ByteBuffer in_buffer, com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
in_buffer - A byte bufferin_pointer - A cursorpublic int sizeOctets()
sizeOctets in interface com.io7m.jpra.runtime.java.JPRAValueTypepublic static int sizeInOctets()
public int metaPositionOffsetFromType()
metaPositionOffsetFromType in interface R2VertexP16ReadableTypeposition field, from the start of the typepublic static int metaPositionStaticOffsetFromType()
position from the start of the typepublic int metaPositionOffsetFromCursor()
metaPositionOffsetFromCursor in interface R2VertexP16ReadableTypeposition field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector metaPositionType()
metaPositionType in interface R2VertexP16ReadableTypeposition fieldpublic com.io7m.jtensors.ieee754b16.VectorReadable3Db16Type getPositionReadable()
getPositionReadable in interface R2VertexP16ReadableTypeposition fieldpublic com.io7m.jtensors.ieee754b16.Vector3Db16Type getPositionWritable()
getPositionWritable in interface R2VertexP16WritableTypeposition fieldCopyright © 2017 <code@io7m.com> http://io7m.com