public final class JCGLRGBA32IByteBuffered extends Object implements JCGLRGBA32IType
ByteBuffer based implementation of the JCGLRGBA32I record type.| Modifier and Type | Method and Description |
|---|---|
int |
getA() |
int |
getB() |
int |
getG() |
int |
getR() |
int |
metaAOffsetFromCursor() |
int |
metaAOffsetFromType() |
static int |
metaAStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned |
metaAType() |
int |
metaBOffsetFromCursor() |
int |
metaBOffsetFromType() |
static int |
metaBStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned |
metaBType() |
int |
metaGOffsetFromCursor() |
int |
metaGOffsetFromType() |
static int |
metaGStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned |
metaGType() |
int |
metaROffsetFromCursor() |
int |
metaROffsetFromType() |
static int |
metaRStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned |
metaRType() |
static JCGLRGBA32IType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLRGBA32IType |
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 |
static int |
sizeInOctets() |
int |
sizeOctets() |
public static JCGLRGBA32IType 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 JCGLRGBA32IType 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 JCGLRGBA32IReadableTyper field, from the start of the typepublic static int metaRStaticOffsetFromType()
r from the start of the typepublic int metaROffsetFromCursor()
metaROffsetFromCursor in interface JCGLRGBA32IReadableTyper field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned metaRType()
metaRType in interface JCGLRGBA32IReadableTyper fieldpublic int getR()
getR in interface JCGLRGBA32IReadableTyper fieldpublic void setR(int x)
JCGLRGBA32IWritableTyper fieldsetR in interface JCGLRGBA32IWritableTypex - The new valuepublic int metaGOffsetFromType()
metaGOffsetFromType in interface JCGLRGBA32IReadableTypeg field, from the start of the typepublic static int metaGStaticOffsetFromType()
g from the start of the typepublic int metaGOffsetFromCursor()
metaGOffsetFromCursor in interface JCGLRGBA32IReadableTypeg field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned metaGType()
metaGType in interface JCGLRGBA32IReadableTypeg fieldpublic int getG()
getG in interface JCGLRGBA32IReadableTypeg fieldpublic void setG(int x)
JCGLRGBA32IWritableTypeg fieldsetG in interface JCGLRGBA32IWritableTypex - The new valuepublic int metaBOffsetFromType()
metaBOffsetFromType in interface JCGLRGBA32IReadableTypeb field, from the start of the typepublic static int metaBStaticOffsetFromType()
b from the start of the typepublic int metaBOffsetFromCursor()
metaBOffsetFromCursor in interface JCGLRGBA32IReadableTypeb field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned metaBType()
metaBType in interface JCGLRGBA32IReadableTypeb fieldpublic int getB()
getB in interface JCGLRGBA32IReadableTypeb fieldpublic void setB(int x)
JCGLRGBA32IWritableTypeb fieldsetB in interface JCGLRGBA32IWritableTypex - The new valuepublic int metaAOffsetFromType()
metaAOffsetFromType in interface JCGLRGBA32IReadableTypea field, from the start of the typepublic static int metaAStaticOffsetFromType()
a from the start of the typepublic int metaAOffsetFromCursor()
metaAOffsetFromCursor in interface JCGLRGBA32IReadableTypea field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned metaAType()
metaAType in interface JCGLRGBA32IReadableTypea fieldpublic int getA()
getA in interface JCGLRGBA32IReadableTypea fieldpublic void setA(int x)
JCGLRGBA32IWritableTypea fieldsetA in interface JCGLRGBA32IWritableTypex - The new valueCopyright © 2017 <code@io7m.com> http://io7m.com