public enum FramebufferPixelFormat extends java.lang.Enum<FramebufferPixelFormat>
IFramebuffer.getPixelFormat().
See also www.fourcc.org for more information about FOURCC pixel formats.
Interface ID: {7ACFD5ED-29E3-45E3-8136-73C9224F3D2D}| Enum Constant and Description |
|---|
FOURCC_RGB
Basic RGB format
IFramebuffer.getBitsPerPixel()determines the
bit layout). |
Opaque
Unknown buffer format (the user may not assume any particular format of
the buffer).
|
| Modifier and Type | Method and Description |
|---|---|
static FramebufferPixelFormat |
fromValue(long v) |
static FramebufferPixelFormat |
fromValue(java.lang.String v) |
int |
value() |
static FramebufferPixelFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FramebufferPixelFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FramebufferPixelFormat Opaque
public static final FramebufferPixelFormat FOURCC_RGB
IFramebuffer.getBitsPerPixel()determines the
bit layout).public static FramebufferPixelFormat[] values()
for (FramebufferPixelFormat c : FramebufferPixelFormat.values()) System.out.println(c);
public static FramebufferPixelFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic int value()
public static FramebufferPixelFormat fromValue(long v)
public static FramebufferPixelFormat fromValue(java.lang.String v)