Enum webgl_rs::glenum::FramebufferStatus
source · pub enum FramebufferStatus {
FramebufferComplete,
FramebufferIncompleteAttachment,
FramebufferIncompleteMissingAttachment,
FramebufferIncompleteDimensions,
FramebufferUnsupported,
FramebufferIncompleteMultisample,
}
Expand description
Constants passed to WebGLRenderingContext.checkFramebufferStatus()
Variants§
FramebufferComplete
The framebuffer is ready to display.
FramebufferIncompleteAttachment
The attachment types are mismatched or not all framebuffer attachment points are framebuffer attachment complete.
FramebufferIncompleteMissingAttachment
There is no attachment.
FramebufferIncompleteDimensions
Height and width of the attachment are not the same.
FramebufferUnsupported
The format of the attachment is not supported or if depth and stencil attachments are not the same renderbuffer.
FramebufferIncompleteMultisample
The values of gl.RENDERBUFFER_SAMPLES are different among attached renderbuffers, or are non-zero if the attached images are a mix of renderbuffers and textures.
Trait Implementations§
source§impl Clone for FramebufferStatus
impl Clone for FramebufferStatus
source§fn clone(&self) -> FramebufferStatus
fn clone(&self) -> FramebufferStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FramebufferStatus
impl Debug for FramebufferStatus
source§impl FromWasmAbi for FramebufferStatus
impl FromWasmAbi for FramebufferStatus
source§impl IntoWasmAbi for FramebufferStatus
impl IntoWasmAbi for FramebufferStatus
impl Copy for FramebufferStatus
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§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more