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.core.unparameterized.vectors.VectorReadable3DType |
getPositionReadable() |
com.io7m.jtensors.storage.api.unparameterized.vectors.VectorStorageFloating3Type |
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.JPRAValueType
public static int sizeInOctets()
public int metaPositionOffsetFromType()
metaPositionOffsetFromType
in interface R2VertexP32RGBA8ReadableType
position
field, from the start of the typepublic static int metaPositionStaticOffsetFromType()
position
from the start of the typepublic int metaPositionOffsetFromCursor()
metaPositionOffsetFromCursor
in interface R2VertexP32RGBA8ReadableType
position
field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector metaPositionType()
metaPositionType
in interface R2VertexP32RGBA8ReadableType
position
fieldpublic com.io7m.jtensors.core.unparameterized.vectors.VectorReadable3DType getPositionReadable()
getPositionReadable
in interface R2VertexP32RGBA8ReadableType
position
fieldpublic com.io7m.jtensors.storage.api.unparameterized.vectors.VectorStorageFloating3Type getPositionWritable()
getPositionWritable
in interface R2VertexP32RGBA8WritableType
position
fieldpublic int metaColorOffsetFromType()
metaColorOffsetFromType
in interface R2VertexP32RGBA8ReadableType
color
field, from the start of the typepublic static int metaColorStaticOffsetFromType()
color
from the start of the typepublic int metaColorOffsetFromCursor()
metaColorOffsetFromCursor
in interface R2VertexP32RGBA8ReadableType
color
field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAUserDefined metaColorType()
metaColorType
in interface R2VertexP32RGBA8ReadableType
color
fieldpublic R2RGBA8ReadableType getColorReadable()
getColorReadable
in interface R2VertexP32RGBA8ReadableType
color
fieldpublic R2RGBA8Type getColorWritable()
getColorWritable
in interface R2VertexP32RGBA8WritableType
color
fieldCopyright © 2017 <code@io7m.com> http://io7m.com