public final class JCGLR32FByteBuffered extends Object implements JCGLR32FType
ByteBuffer based implementation of the JCGLR32F record type.| Modifier and Type | Method and Description |
|---|---|
float |
getR() |
int |
metaROffsetFromCursor() |
int |
metaROffsetFromType() |
static int |
metaRStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat |
metaRType() |
static JCGLR32FType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLR32FType |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
void |
setR(float x)
Set the value of the
r field |
static int |
sizeInOctets() |
int |
sizeOctets() |
public static JCGLR32FType 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 JCGLR32FType 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 metaROffsetFromType()
metaROffsetFromType in interface JCGLR32FReadableTyper field, from the start of the typepublic static int metaRStaticOffsetFromType()
r from the start of the typepublic int metaROffsetFromCursor()
metaROffsetFromCursor in interface JCGLR32FReadableTyper field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat metaRType()
metaRType in interface JCGLR32FReadableTyper fieldpublic float getR()
getR in interface JCGLR32FReadableTyper fieldpublic void setR(float x)
JCGLR32FWritableTyper fieldsetR in interface JCGLR32FWritableTypex - The new valueCopyright © 2017 <code@io7m.com> http://io7m.com