public final class JCGLRGBA16UByteBuffered extends Object implements JCGLRGBA16UType
ByteBuffer based implementation of the JCGLRGBA16U record type.| Modifier and Type | Method and Description |
|---|---|
short |
getA() |
short |
getB() |
short |
getG() |
short |
getR() |
int |
metaAOffsetFromCursor() |
int |
metaAOffsetFromType() |
static int |
metaAStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaAType() |
int |
metaBOffsetFromCursor() |
int |
metaBOffsetFromType() |
static int |
metaBStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaBType() |
int |
metaGOffsetFromCursor() |
int |
metaGOffsetFromType() |
static int |
metaGStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaGType() |
int |
metaROffsetFromCursor() |
int |
metaROffsetFromType() |
static int |
metaRStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaRType() |
static JCGLRGBA16UType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLRGBA16UType |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
void |
setA(short x)
Set the value of the
a field |
void |
setB(short x)
Set the value of the
b field |
void |
setG(short x)
Set the value of the
g field |
void |
setR(short x)
Set the value of the
r field |
static int |
sizeInOctets() |
int |
sizeOctets() |
public static JCGLRGBA16UType 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 JCGLRGBA16UType 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 JCGLRGBA16UReadableTyper field, from the start of the typepublic static int metaRStaticOffsetFromType()
r from the start of the typepublic int metaROffsetFromCursor()
metaROffsetFromCursor in interface JCGLRGBA16UReadableTyper field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaRType()
metaRType in interface JCGLRGBA16UReadableTyper fieldpublic short getR()
getR in interface JCGLRGBA16UReadableTyper fieldpublic void setR(short x)
JCGLRGBA16UWritableTyper fieldsetR in interface JCGLRGBA16UWritableTypex - The new valuepublic int metaGOffsetFromType()
metaGOffsetFromType in interface JCGLRGBA16UReadableTypeg field, from the start of the typepublic static int metaGStaticOffsetFromType()
g from the start of the typepublic int metaGOffsetFromCursor()
metaGOffsetFromCursor in interface JCGLRGBA16UReadableTypeg field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaGType()
metaGType in interface JCGLRGBA16UReadableTypeg fieldpublic short getG()
getG in interface JCGLRGBA16UReadableTypeg fieldpublic void setG(short x)
JCGLRGBA16UWritableTypeg fieldsetG in interface JCGLRGBA16UWritableTypex - The new valuepublic int metaBOffsetFromType()
metaBOffsetFromType in interface JCGLRGBA16UReadableTypeb field, from the start of the typepublic static int metaBStaticOffsetFromType()
b from the start of the typepublic int metaBOffsetFromCursor()
metaBOffsetFromCursor in interface JCGLRGBA16UReadableTypeb field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaBType()
metaBType in interface JCGLRGBA16UReadableTypeb fieldpublic short getB()
getB in interface JCGLRGBA16UReadableTypeb fieldpublic void setB(short x)
JCGLRGBA16UWritableTypeb fieldsetB in interface JCGLRGBA16UWritableTypex - The new valuepublic int metaAOffsetFromType()
metaAOffsetFromType in interface JCGLRGBA16UReadableTypea field, from the start of the typepublic static int metaAStaticOffsetFromType()
a from the start of the typepublic int metaAOffsetFromCursor()
metaAOffsetFromCursor in interface JCGLRGBA16UReadableTypea field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaAType()
metaAType in interface JCGLRGBA16UReadableTypea fieldpublic short getA()
getA in interface JCGLRGBA16UReadableTypea fieldpublic void setA(short x)
JCGLRGBA16UWritableTypea fieldsetA in interface JCGLRGBA16UWritableTypex - The new valueCopyright © 2016 <code@io7m.com> http://io7m.com