public final class R2VertexP32RGBA8ByteBuffered extends Object implements R2VertexP32RGBA8Type
ByteBuffer based implementation of the R2VertexP32RGBA8 record type.| Modifier and Type | Method and Description |
|---|---|
R2RGBA8ReadableType |
getColorReadable() |
R2RGBA8Type |
getColorWritable() |
com.io7m.jtensors.VectorReadable3FType |
getPositionReadable() |
com.io7m.jtensors.Vector3FType |
getPositionWritable() |
int |
metaColorOffsetFromCursor() |
int |
metaColorOffsetFromType() |
static int |
metaColorStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAUserDefined |
metaColorType() |
int |
metaPositionOffsetFromCursor() |
int |
metaPositionOffsetFromType() |
static int |
metaPositionStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector |
metaPositionType() |
static R2VertexP32RGBA8Type |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static R2VertexP32RGBA8Type |
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 R2VertexP32RGBA8Type 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 R2VertexP32RGBA8Type 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 R2VertexP32RGBA8ReadableTypeposition field, from the start of the typepublic static int metaPositionStaticOffsetFromType()
position from the start of the typepublic int metaPositionOffsetFromCursor()
metaPositionOffsetFromCursor in interface R2VertexP32RGBA8ReadableTypeposition field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector metaPositionType()
metaPositionType in interface R2VertexP32RGBA8ReadableTypeposition fieldpublic com.io7m.jtensors.VectorReadable3FType getPositionReadable()
getPositionReadable in interface R2VertexP32RGBA8ReadableTypeposition fieldpublic com.io7m.jtensors.Vector3FType getPositionWritable()
getPositionWritable in interface R2VertexP32RGBA8WritableTypeposition fieldpublic int metaColorOffsetFromType()
metaColorOffsetFromType in interface R2VertexP32RGBA8ReadableTypecolor field, from the start of the typepublic static int metaColorStaticOffsetFromType()
color from the start of the typepublic int metaColorOffsetFromCursor()
metaColorOffsetFromCursor in interface R2VertexP32RGBA8ReadableTypecolor field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAUserDefined metaColorType()
metaColorType in interface R2VertexP32RGBA8ReadableTypecolor fieldpublic R2RGBA8ReadableType getColorReadable()
getColorReadable in interface R2VertexP32RGBA8ReadableTypecolor fieldpublic R2RGBA8Type getColorWritable()
getColorWritable in interface R2VertexP32RGBA8WritableTypecolor fieldCopyright © 2017 <code@io7m.com> http://io7m.com