Notation follows OpenGL notation, i.e. name consist of all it's component names followed by their bit size.
Order of component names is from lowest-bit to highest-bit.
In case component-size is 1 byte (e.g. OpenGL data-type GL_UNSIGNED_BYTE), component names are ordered from lowest-byte to highest-byte. Note that OpenGL applies special interpretation if data-type is e.g. GL_UNSIGNED_8_8_8_8_REV or GL_UNSIGNED_8_8_8_8_REV.
PixelFormat can be converted to OpenGL GLPixelAttributes via
GLPixelAttributes glpa = GLPixelAttributes.convert(PixelFormat pixFmt, GLProfile glp);
See OpenGL Specification 4.3 - February 14, 2013, Core Profile, Section 8.4.4 Transfer of Pixel Rectangles, p. 161-174.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | PixelFormat.
Pixel composition, i.e. layout of its components. |
| public static enum | PixelFormat.
Component types |
| public static class | PixelFormat.
Packed pixel composition, see |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelFormat | |
| public static final PixelFormat | |
| public static final PixelFormat | |
| public static final PixelFormat | |
| public static final PixelFormat | |
| public static final PixelFormat | |
| public static final PixelFormat | |
| public final PixelFormat. | comp
Unique |
| public static final PixelFormat | LUMINANCE
Stride is 8 bits, 8 bits per pixel, 1 component of 8 bits. |
| public static final PixelFormat | |
| public static final PixelFormat | |
| public static final PixelFormat | |
| public static final PixelFormat | |
| public static final PixelFormat |
| Access | Constructor and Description |
|---|---|
| private | PixelFormat(final PixelFormat.
Component type order of all components, see Composition#componentBitMask().number of components componentCount, final int bits per component bpc, final int stride bits to next pixel bitStride)
|
| private | PixelFormat(final PixelFormat.
Component type order of all components, see Composition#componentBitMask().bit-mask of of all components, see componentMask, final int[] Composition#componentBitMask().bit-shift of all components, see componentBitShift, final int Composition#componentBitMask().stride bits to next pixel bitStride)
|
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| public static PixelFormat | |
| public static PixelFormat | valueOf(final PixelFormat.
Returns the unique matching |
| public static PixelFormat[] |