public final class JCGLRGB32IByteBuffered extends Object implements JCGLRGB32IType
ByteBuffer based implementation of the JCGLRGB32I record type.| Modifier and Type | Method and Description |
|---|---|
int |
getB() |
int |
getG() |
int |
getR() |
int |
metaBOffsetFromCursor() |
int |
metaBOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned |
metaBType() |
int |
metaGOffsetFromCursor() |
int |
metaGOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned |
metaGType() |
int |
metaROffsetFromCursor() |
int |
metaROffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned |
metaRType() |
static JCGLRGB32IType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLRGB32IType |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
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 JCGLRGB32IType 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 JCGLRGB32IType 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 JCGLRGB32IReadableTyper field, from the start of the typepublic int metaROffsetFromCursor()
metaROffsetFromCursor in interface JCGLRGB32IReadableTyper field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned metaRType()
metaRType in interface JCGLRGB32IReadableTyper fieldpublic int getR()
getR in interface JCGLRGB32IReadableTyper fieldpublic void setR(int x)
JCGLRGB32IWritableTyper fieldsetR in interface JCGLRGB32IWritableTypex - The new valuepublic int metaGOffsetFromType()
metaGOffsetFromType in interface JCGLRGB32IReadableTypeg field, from the start of the typepublic int metaGOffsetFromCursor()
metaGOffsetFromCursor in interface JCGLRGB32IReadableTypeg field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned metaGType()
metaGType in interface JCGLRGB32IReadableTypeg fieldpublic int getG()
getG in interface JCGLRGB32IReadableTypeg fieldpublic void setG(int x)
JCGLRGB32IWritableTypeg fieldsetG in interface JCGLRGB32IWritableTypex - The new valuepublic int metaBOffsetFromType()
metaBOffsetFromType in interface JCGLRGB32IReadableTypeb field, from the start of the typepublic int metaBOffsetFromCursor()
metaBOffsetFromCursor in interface JCGLRGB32IReadableTypeb field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned metaBType()
metaBType in interface JCGLRGB32IReadableTypeb fieldpublic int getB()
getB in interface JCGLRGB32IReadableTypeb fieldpublic void setB(int x)
JCGLRGB32IWritableTypeb fieldsetB in interface JCGLRGB32IWritableTypex - The new valueCopyright © 2016 <code@io7m.com> http://io7m.com