public enum JCGLFramebufferStatus extends Enum<JCGLFramebufferStatus>
Enum Constant and Description |
---|
FRAMEBUFFER_STATUS_COMPLETE
The framebuffer is complete and usable.
|
FRAMEBUFFER_STATUS_ERROR_INCOMPLETE_ATTACHMENT
One or more of the framebuffer attachments are "framebuffer incomplete".
|
FRAMEBUFFER_STATUS_ERROR_INCOMPLETE_DRAW_BUFFER
One of the framebuffer attachments selected for drawing is nonexistent.
|
FRAMEBUFFER_STATUS_ERROR_INCOMPLETE_READ_BUFFER
One of the framebuffer attachments selected for reading is nonexistent.
|
FRAMEBUFFER_STATUS_ERROR_MISSING_IMAGE_ATTACHMENT
The framebuffer does not have any attached images.
|
FRAMEBUFFER_STATUS_ERROR_UNKNOWN
Framebuffer validation failed for unknown reasons (this should never
occur).
|
FRAMEBUFFER_STATUS_ERROR_UNSUPPORTED
The current combination of attached image formats is unsupported by the
implementation.
|
Modifier and Type | Method and Description |
---|---|
static JCGLFramebufferStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLFramebufferStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCGLFramebufferStatus FRAMEBUFFER_STATUS_COMPLETE
public static final JCGLFramebufferStatus FRAMEBUFFER_STATUS_ERROR_INCOMPLETE_ATTACHMENT
public static final JCGLFramebufferStatus FRAMEBUFFER_STATUS_ERROR_INCOMPLETE_DRAW_BUFFER
public static final JCGLFramebufferStatus FRAMEBUFFER_STATUS_ERROR_INCOMPLETE_READ_BUFFER
public static final JCGLFramebufferStatus FRAMEBUFFER_STATUS_ERROR_MISSING_IMAGE_ATTACHMENT
public static final JCGLFramebufferStatus FRAMEBUFFER_STATUS_ERROR_UNKNOWN
public static final JCGLFramebufferStatus FRAMEBUFFER_STATUS_ERROR_UNSUPPORTED
public static JCGLFramebufferStatus[] values()
for (JCGLFramebufferStatus c : JCGLFramebufferStatus.values()) System.out.println(c);
public static JCGLFramebufferStatus 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