public final class JCGLRGBA32UByteBuffered extends Object implements JCGLRGBA32UType
ByteBuffer based implementation of the JCGLRGBA32U record type.| Modifier and Type | Method and Description |
|---|---|
int |
getA() |
int |
getB() |
int |
getG() |
int |
getR() |
int |
metaAOffsetFromCursor() |
int |
metaAOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaAType() |
int |
metaBOffsetFromCursor() |
int |
metaBOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaBType() |
int |
metaGOffsetFromCursor() |
int |
metaGOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaGType() |
int |
metaROffsetFromCursor() |
int |
metaROffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaRType() |
static JCGLRGBA32UType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLRGBA32UType |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
void |
setA(int x)
Set the value of the
a field |
void |
setB(int x)
Set the value of the
b field |
void |
setG(int x)
Set the value of the
g field |
void |
setR(int x)
Set the value of the
r field |
int |
sizeOctets() |
public static JCGLRGBA32UType 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 JCGLRGBA32UType 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 JCGLRGBA32UReadableTyper field, from the start of the typepublic int metaROffsetFromCursor()
metaROffsetFromCursor in interface JCGLRGBA32UReadableTyper field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaRType()
metaRType in interface JCGLRGBA32UReadableTyper fieldpublic int getR()
getR in interface JCGLRGBA32UReadableTyper fieldpublic void setR(int x)
JCGLRGBA32UWritableTyper fieldsetR in interface JCGLRGBA32UWritableTypex - The new valuepublic int metaGOffsetFromType()
metaGOffsetFromType in interface JCGLRGBA32UReadableTypeg field, from the start of the typepublic int metaGOffsetFromCursor()
metaGOffsetFromCursor in interface JCGLRGBA32UReadableTypeg field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaGType()
metaGType in interface JCGLRGBA32UReadableTypeg fieldpublic int getG()
getG in interface JCGLRGBA32UReadableTypeg fieldpublic void setG(int x)
JCGLRGBA32UWritableTypeg fieldsetG in interface JCGLRGBA32UWritableTypex - The new valuepublic int metaBOffsetFromType()
metaBOffsetFromType in interface JCGLRGBA32UReadableTypeb field, from the start of the typepublic int metaBOffsetFromCursor()
metaBOffsetFromCursor in interface JCGLRGBA32UReadableTypeb field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaBType()
metaBType in interface JCGLRGBA32UReadableTypeb fieldpublic int getB()
getB in interface JCGLRGBA32UReadableTypeb fieldpublic void setB(int x)
JCGLRGBA32UWritableTypeb fieldsetB in interface JCGLRGBA32UWritableTypex - The new valuepublic int metaAOffsetFromType()
metaAOffsetFromType in interface JCGLRGBA32UReadableTypea field, from the start of the typepublic int metaAOffsetFromCursor()
metaAOffsetFromCursor in interface JCGLRGBA32UReadableTypea field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaAType()
metaAType in interface JCGLRGBA32UReadableTypea fieldpublic int getA()
getA in interface JCGLRGBA32UReadableTypea fieldpublic void setA(int x)
JCGLRGBA32UWritableTypea fieldsetA in interface JCGLRGBA32UWritableTypex - The new valueCopyright © 2016 <code@io7m.com> http://io7m.com