public final class R2MBVertexByteBuffered extends Object implements R2MBVertexType
ByteBuffer based implementation of the R2MBVertex record type.| Modifier and Type | Method and Description |
|---|---|
com.io7m.jtensors.VectorReadable3FType |
getNormalReadable() |
com.io7m.jtensors.Vector3FType |
getNormalWritable() |
com.io7m.jtensors.VectorReadable3FType |
getPositionReadable() |
com.io7m.jtensors.Vector3FType |
getPositionWritable() |
com.io7m.jtensors.VectorReadable4FType |
getTangentReadable() |
com.io7m.jtensors.Vector4FType |
getTangentWritable() |
com.io7m.jtensors.VectorReadable2FType |
getUvReadable() |
com.io7m.jtensors.Vector2FType |
getUvWritable() |
int |
metaNormalOffsetFromCursor() |
int |
metaNormalOffsetFromType() |
static int |
metaNormalStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector |
metaNormalType() |
int |
metaPositionOffsetFromCursor() |
int |
metaPositionOffsetFromType() |
static int |
metaPositionStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector |
metaPositionType() |
int |
metaTangentOffsetFromCursor() |
int |
metaTangentOffsetFromType() |
static int |
metaTangentStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector |
metaTangentType() |
int |
metaUvOffsetFromCursor() |
int |
metaUvOffsetFromType() |
static int |
metaUvStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector |
metaUvType() |
static R2MBVertexType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static R2MBVertexType |
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 R2MBVertexType 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 R2MBVertexType 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 R2MBVertexReadableTypeposition field, from the start of the typepublic static int metaPositionStaticOffsetFromType()
position from the start of the typepublic int metaPositionOffsetFromCursor()
metaPositionOffsetFromCursor in interface R2MBVertexReadableTypeposition field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector metaPositionType()
metaPositionType in interface R2MBVertexReadableTypeposition fieldpublic com.io7m.jtensors.VectorReadable3FType getPositionReadable()
getPositionReadable in interface R2MBVertexReadableTypeposition fieldpublic com.io7m.jtensors.Vector3FType getPositionWritable()
getPositionWritable in interface R2MBVertexWritableTypeposition fieldpublic int metaNormalOffsetFromType()
metaNormalOffsetFromType in interface R2MBVertexReadableTypenormal field, from the start of the typepublic static int metaNormalStaticOffsetFromType()
normal from the start of the typepublic int metaNormalOffsetFromCursor()
metaNormalOffsetFromCursor in interface R2MBVertexReadableTypenormal field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector metaNormalType()
metaNormalType in interface R2MBVertexReadableTypenormal fieldpublic com.io7m.jtensors.VectorReadable3FType getNormalReadable()
getNormalReadable in interface R2MBVertexReadableTypenormal fieldpublic com.io7m.jtensors.Vector3FType getNormalWritable()
getNormalWritable in interface R2MBVertexWritableTypenormal fieldpublic int metaTangentOffsetFromType()
metaTangentOffsetFromType in interface R2MBVertexReadableTypetangent field, from the start of the typepublic static int metaTangentStaticOffsetFromType()
tangent from the start of the typepublic int metaTangentOffsetFromCursor()
metaTangentOffsetFromCursor in interface R2MBVertexReadableTypetangent field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector metaTangentType()
metaTangentType in interface R2MBVertexReadableTypetangent fieldpublic com.io7m.jtensors.VectorReadable4FType getTangentReadable()
getTangentReadable in interface R2MBVertexReadableTypetangent fieldpublic com.io7m.jtensors.Vector4FType getTangentWritable()
getTangentWritable in interface R2MBVertexWritableTypetangent fieldpublic int metaUvOffsetFromType()
metaUvOffsetFromType in interface R2MBVertexReadableTypeuv field, from the start of the typepublic static int metaUvStaticOffsetFromType()
uv from the start of the typepublic int metaUvOffsetFromCursor()
metaUvOffsetFromCursor in interface R2MBVertexReadableTypeuv field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector metaUvType()
metaUvType in interface R2MBVertexReadableTypeuv fieldpublic com.io7m.jtensors.VectorReadable2FType getUvReadable()
getUvReadable in interface R2MBVertexReadableTypeuv fieldpublic com.io7m.jtensors.Vector2FType getUvWritable()
getUvWritable in interface R2MBVertexWritableTypeuv fieldCopyright © 2017 <code@io7m.com> http://io7m.com