public final class JCGLRGB16FByteBuffered extends Object implements JCGLRGB16FType
ByteBuffer based implementation of the JCGLRGB16F record type.| Modifier and Type | Method and Description |
|---|---|
double |
getB() |
double |
getG() |
double |
getR() |
int |
metaBOffsetFromCursor() |
int |
metaBOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat |
metaBType() |
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 JCGLRGB16FType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLRGB16FType |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
void |
setB(double x)
Set the value of the
b field |
void |
setG(double x)
Set the value of the
g field |
void |
setR(double x)
Set the value of the
r field |
int |
sizeOctets() |
public static JCGLRGB16FType 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 JCGLRGB16FType 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 JCGLRGB16FReadableTyper field, from the start of the typepublic int metaROffsetFromCursor()
metaROffsetFromCursor in interface JCGLRGB16FReadableTyper field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat metaRType()
metaRType in interface JCGLRGB16FReadableTyper fieldpublic double getR()
getR in interface JCGLRGB16FReadableTyper fieldpublic void setR(double x)
JCGLRGB16FWritableTyper fieldsetR in interface JCGLRGB16FWritableTypex - The new valuepublic int metaGOffsetFromType()
metaGOffsetFromType in interface JCGLRGB16FReadableTypeg field, from the start of the typepublic int metaGOffsetFromCursor()
metaGOffsetFromCursor in interface JCGLRGB16FReadableTypeg field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat metaGType()
metaGType in interface JCGLRGB16FReadableTypeg fieldpublic double getG()
getG in interface JCGLRGB16FReadableTypeg fieldpublic void setG(double x)
JCGLRGB16FWritableTypeg fieldsetG in interface JCGLRGB16FWritableTypex - The new valuepublic int metaBOffsetFromType()
metaBOffsetFromType in interface JCGLRGB16FReadableTypeb field, from the start of the typepublic int metaBOffsetFromCursor()
metaBOffsetFromCursor in interface JCGLRGB16FReadableTypeb field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat metaBType()
metaBType in interface JCGLRGB16FReadableTypeb fieldpublic double getB()
getB in interface JCGLRGB16FReadableTypeb fieldpublic void setB(double x)
JCGLRGB16FWritableTypeb fieldsetB in interface JCGLRGB16FWritableTypex - The new valueCopyright © 2016 <code@io7m.com> http://io7m.com