Enum cat_engine_basement::graphics::core::framebuffer::FramebufferStatus [−][src]
#[repr(u32)]
pub enum FramebufferStatus {
Complete,
Undefined,
FRAMEBUFFER_INCOMPLETE_ATTACHMENT,
FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT,
FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER,
FRAMEBUFFER_INCOMPLETE_READ_BUFFER,
FRAMEBUFFER_UNSUPPORTED,
FRAMEBUFFER_INCOMPLETE_MULTISAMPLE,
FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS,
}
opengl
only.Variants
Returned if the framebuffer bound to target
is complete.
Returned if target
is the default framebuffer,
but the default framebuffer does not exist.
Returned if any of the framebuffer attachment points are framebuffer incomplete.
Returned if the framebuffer does not have at least one image attached to it.
Returned if the value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
is GL_NONE
for any color attachment point(s) named by GL_DRAW_BUFFERi
.
returned if GL_READ_BUFFER
is not GL_NONE
and the value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
is GL_NONE
for the color attachment point named by GL_READ_BUFFER
.
Returned if the combination of internal formats of the attached images violates an implementation-dependent set of restrictions.
Returned if the value of GL_RENDERBUFFER_SAMPLES
is not the same for all attached renderbuffers;
if the value of GL_TEXTURE_SAMPLES
is the not same for all attached textures;
if the attached images are a mix of renderbuffers and textures,
the value of GL_RENDERBUFFER_SAMPLES
does not match the value of GL_TEXTURE_SAMPLES
;
if the value of GL_TEXTURE_FIXED_SAMPLE_LOCATIONS
is not the same for all attached textures;
or, if the attached images are a mix of renderbuffers and textures,
the value of GL_TEXTURE_FIXED_SAMPLE_LOCATIONS
is not GL_TRUE for all attached textures.
Returned if any framebuffer attachment is layered, and any populated attachment is not layered, or if all populated color attachments are not from textures of the same target.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FramebufferStatus
impl Send for FramebufferStatus
impl Sync for FramebufferStatus
impl Unpin for FramebufferStatus
impl UnwindSafe for FramebufferStatus
Blanket Implementations
Mutably borrows from an owned value. Read more