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.core.unparameterized.vectors.VectorReadable3DType |
getPositionReadable() |
com.io7m.jtensors.storage.api.unparameterized.vectors.VectorStorageFloating3Type |
getPositionWritable() |
com.io7m.jtensors.core.unparameterized.vectors.VectorReadable2DType |
getUvReadable() |
com.io7m.jtensors.storage.api.unparameterized.vectors.VectorStorageFloating2Type |
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.JPRAValueType
public static int sizeInOctets()
public int metaPositionOffsetFromType()
metaPositionOffsetFromType
in interface R2VertexPU32ReadableType
position
field, from the start of the typepublic static int metaPositionStaticOffsetFromType()
position
from the start of the typepublic int metaPositionOffsetFromCursor()
metaPositionOffsetFromCursor
in interface R2VertexPU32ReadableType
position
field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector metaPositionType()
metaPositionType
in interface R2VertexPU32ReadableType
position
fieldpublic com.io7m.jtensors.core.unparameterized.vectors.VectorReadable3DType getPositionReadable()
getPositionReadable
in interface R2VertexPU32ReadableType
position
fieldpublic com.io7m.jtensors.storage.api.unparameterized.vectors.VectorStorageFloating3Type getPositionWritable()
getPositionWritable
in interface R2VertexPU32WritableType
position
fieldpublic int metaUvOffsetFromType()
metaUvOffsetFromType
in interface R2VertexPU32ReadableType
uv
field, from the start of the typepublic static int metaUvStaticOffsetFromType()
uv
from the start of the typepublic int metaUvOffsetFromCursor()
metaUvOffsetFromCursor
in interface R2VertexPU32ReadableType
uv
field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAVector metaUvType()
metaUvType
in interface R2VertexPU32ReadableType
uv
fieldpublic com.io7m.jtensors.core.unparameterized.vectors.VectorReadable2DType getUvReadable()
getUvReadable
in interface R2VertexPU32ReadableType
uv
fieldpublic com.io7m.jtensors.storage.api.unparameterized.vectors.VectorStorageFloating2Type getUvWritable()
getUvWritable
in interface R2VertexPU32WritableType
uv
fieldCopyright © 2017 <code@io7m.com> http://io7m.com