public enum JCGLPixelFormat extends Enum<JCGLPixelFormat>
The type of pixel data in client memory.
| Enum Constant and Description |
|---|
PIXEL_COMPONENT_BYTE
8-bit signed bytes.
|
PIXEL_COMPONENT_FLOAT
32-bit floating point values.
|
PIXEL_COMPONENT_HALF_FLOAT
16-bit floating point values.
|
PIXEL_COMPONENT_INT
32-bit signed integers.
|
PIXEL_COMPONENT_SHORT
16-bit signed integers.
|
PIXEL_COMPONENT_UNSIGNED_BYTE
8-bit unsigned bytes.
|
PIXEL_COMPONENT_UNSIGNED_INT
32-bit unsigned integers.
|
PIXEL_COMPONENT_UNSIGNED_SHORT
16-bit unsigned integers.
|
PIXEL_PACKED_UNSIGNED_INT_1010102
A packed 32-bit unsigned integer.
|
PIXEL_PACKED_UNSIGNED_INT_24_8
A packed 32-bit unsigned integer.
|
PIXEL_PACKED_UNSIGNED_SHORT_4444
16-bit packed unsigned integers.
|
PIXEL_PACKED_UNSIGNED_SHORT_5551
16-bit packed unsigned integers.
|
PIXEL_PACKED_UNSIGNED_SHORT_565
16-bit packed unsigned integers.
|
| Modifier and Type | Method and Description |
|---|---|
static JCGLPixelFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLPixelFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCGLPixelFormat PIXEL_COMPONENT_BYTE
public static final JCGLPixelFormat PIXEL_COMPONENT_FLOAT
public static final JCGLPixelFormat PIXEL_COMPONENT_HALF_FLOAT
public static final JCGLPixelFormat PIXEL_COMPONENT_INT
public static final JCGLPixelFormat PIXEL_COMPONENT_SHORT
public static final JCGLPixelFormat PIXEL_COMPONENT_UNSIGNED_BYTE
public static final JCGLPixelFormat PIXEL_COMPONENT_UNSIGNED_INT
public static final JCGLPixelFormat PIXEL_COMPONENT_UNSIGNED_SHORT
public static final JCGLPixelFormat PIXEL_PACKED_UNSIGNED_INT_1010102
public static final JCGLPixelFormat PIXEL_PACKED_UNSIGNED_INT_24_8
public static final JCGLPixelFormat PIXEL_PACKED_UNSIGNED_SHORT_4444
public static final JCGLPixelFormat PIXEL_PACKED_UNSIGNED_SHORT_5551
public static final JCGLPixelFormat PIXEL_PACKED_UNSIGNED_SHORT_565
public static JCGLPixelFormat[] values()
for (JCGLPixelFormat c : JCGLPixelFormat.values()) System.out.println(c);
public static JCGLPixelFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 <code@io7m.com> http://io7m.com