public final class R2VertexPU32ByteBuffered extends Object implements R2VertexPU32Type
ByteBuffer based implementation of the R2VertexPU32 record type.| Modifier and Type | Method and Description |
|---|---|
com.io7m.jtensors.VectorReadable3FType |
getPositionReadable() |
com.io7m.jtensors.Vector3FType |
getPositionWritable() |
com.io7m.jtensors.VectorReadable2FType |
getUvReadable() |
com.io7m.jtensors.Vector2FType |
getUvWritable() |
int |
metaPositionOffsetFromCursor() |
int |
metaPositionOffsetFromType() |
static int |
metaPositionStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector |
metaPositionType() |
int |
metaUvOffsetFromCursor() |
int |
metaUvOffsetFromType() |
static int |
metaUvStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector |
metaUvType() |
static R2VertexPU32Type |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static R2VertexPU32Type |
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 R2VertexPU32Type 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 R2VertexPU32Type 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 R2VertexPU32ReadableTypeposition field, from the start of the typepublic static int metaPositionStaticOffsetFromType()
position from the start of the typepublic int metaPositionOffsetFromCursor()
metaPositionOffsetFromCursor in interface R2VertexPU32ReadableTypeposition field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector metaPositionType()
metaPositionType in interface R2VertexPU32ReadableTypeposition fieldpublic com.io7m.jtensors.VectorReadable3FType getPositionReadable()
getPositionReadable in interface R2VertexPU32ReadableTypeposition fieldpublic com.io7m.jtensors.Vector3FType getPositionWritable()
getPositionWritable in interface R2VertexPU32WritableTypeposition fieldpublic int metaUvOffsetFromType()
metaUvOffsetFromType in interface R2VertexPU32ReadableTypeuv field, from the start of the typepublic static int metaUvStaticOffsetFromType()
uv from the start of the typepublic int metaUvOffsetFromCursor()
metaUvOffsetFromCursor in interface R2VertexPU32ReadableTypeuv field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector metaUvType()
metaUvType in interface R2VertexPU32ReadableTypeuv fieldpublic com.io7m.jtensors.VectorReadable2FType getUvReadable()
getUvReadable in interface R2VertexPU32ReadableTypeuv fieldpublic com.io7m.jtensors.Vector2FType getUvWritable()
getUvWritable in interface R2VertexPU32WritableTypeuv fieldCopyright © 2017 <code@io7m.com> http://io7m.com