public final class JCGLRGBA32FByteBuffered extends Object implements JCGLRGBA32FType
ByteBuffer based implementation of the JCGLRGBA32F record type.| Modifier and Type | Method and Description |
|---|---|
float |
getA() |
float |
getB() |
float |
getG() |
float |
getR() |
int |
metaAOffsetFromCursor() |
int |
metaAOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat |
metaAType() |
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 JCGLRGBA32FType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLRGBA32FType |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
void |
setA(float x)
Set the value of the
a field |
void |
setB(float x)
Set the value of the
b field |
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 JCGLRGBA32FType 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 JCGLRGBA32FType 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 JCGLRGBA32FReadableTyper field, from the start of the typepublic int metaROffsetFromCursor()
metaROffsetFromCursor in interface JCGLRGBA32FReadableTyper field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat metaRType()
metaRType in interface JCGLRGBA32FReadableTyper fieldpublic float getR()
getR in interface JCGLRGBA32FReadableTyper fieldpublic void setR(float x)
JCGLRGBA32FWritableTyper fieldsetR in interface JCGLRGBA32FWritableTypex - The new valuepublic int metaGOffsetFromType()
metaGOffsetFromType in interface JCGLRGBA32FReadableTypeg field, from the start of the typepublic int metaGOffsetFromCursor()
metaGOffsetFromCursor in interface JCGLRGBA32FReadableTypeg field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat metaGType()
metaGType in interface JCGLRGBA32FReadableTypeg fieldpublic float getG()
getG in interface JCGLRGBA32FReadableTypeg fieldpublic void setG(float x)
JCGLRGBA32FWritableTypeg fieldsetG in interface JCGLRGBA32FWritableTypex - The new valuepublic int metaBOffsetFromType()
metaBOffsetFromType in interface JCGLRGBA32FReadableTypeb field, from the start of the typepublic int metaBOffsetFromCursor()
metaBOffsetFromCursor in interface JCGLRGBA32FReadableTypeb field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat metaBType()
metaBType in interface JCGLRGBA32FReadableTypeb fieldpublic float getB()
getB in interface JCGLRGBA32FReadableTypeb fieldpublic void setB(float x)
JCGLRGBA32FWritableTypeb fieldsetB in interface JCGLRGBA32FWritableTypex - The new valuepublic int metaAOffsetFromType()
metaAOffsetFromType in interface JCGLRGBA32FReadableTypea field, from the start of the typepublic int metaAOffsetFromCursor()
metaAOffsetFromCursor in interface JCGLRGBA32FReadableTypea field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat metaAType()
metaAType in interface JCGLRGBA32FReadableTypea fieldpublic float getA()
getA in interface JCGLRGBA32FReadableTypea fieldpublic void setA(float x)
JCGLRGBA32FWritableTypea fieldsetA in interface JCGLRGBA32FWritableTypex - The new valueCopyright © 2016 <code@io7m.com> http://io7m.com