public final class JCGLRG32FByteBuffered extends Object implements JCGLRG32FType
ByteBuffer based implementation of the JCGLRG32F record type.| Modifier and Type | Method and Description |
|---|---|
float |
getG() |
float |
getR() |
int |
metaGOffsetFromCursor() |
int |
metaGOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat |
metaGType() |
int |
metaROffsetFromCursor() |
int |
metaROffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat |
metaRType() |
static JCGLRG32FType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLRG32FType |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
void |
setG(float x)
Set the value of the
g field |
void |
setR(float x)
Set the value of the
r field |
int |
sizeOctets() |
public static JCGLRG32FType 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 JCGLRG32FType 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 int metaROffsetFromType()
metaROffsetFromType in interface JCGLRG32FReadableTyper field, from the start of the typepublic int metaROffsetFromCursor()
metaROffsetFromCursor in interface JCGLRG32FReadableTyper field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat metaRType()
metaRType in interface JCGLRG32FReadableTyper fieldpublic float getR()
getR in interface JCGLRG32FReadableTyper fieldpublic void setR(float x)
JCGLRG32FWritableTyper fieldsetR in interface JCGLRG32FWritableTypex - The new valuepublic int metaGOffsetFromType()
metaGOffsetFromType in interface JCGLRG32FReadableTypeg field, from the start of the typepublic int metaGOffsetFromCursor()
metaGOffsetFromCursor in interface JCGLRG32FReadableTypeg field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat metaGType()
metaGType in interface JCGLRG32FReadableTypeg fieldpublic float getG()
getG in interface JCGLRG32FReadableTypeg fieldpublic void setG(float x)
JCGLRG32FWritableTypeg fieldsetG in interface JCGLRG32FWritableTypex - The new valueCopyright © 2016 <code@io7m.com> http://io7m.com