pub enum FramebufferStatus {
FramebufferComplete = 36_053,
FramebufferIncompleteAttachment = 36_054,
FramebufferIncompleteMissingAttachment = 36_055,
FramebufferIncompleteDimensions = 36_057,
FramebufferUnsupported = 36_061,
FramebufferIncompleteMultisample = 36_182,
}
Expand description
Constants passed to WebGLRenderingContext.checkFramebufferStatus()
Variants§
FramebufferComplete = 36_053
The framebuffer is ready to display.
FramebufferIncompleteAttachment = 36_054
The attachment types are mismatched or not all framebuffer attachment points are framebuffer attachment complete.
FramebufferIncompleteMissingAttachment = 36_055
There is no attachment.
FramebufferIncompleteDimensions = 36_057
Height and width of the attachment are not the same.
FramebufferUnsupported = 36_061
The format of the attachment is not supported or if depth and stencil attachments are not the same renderbuffer.
FramebufferIncompleteMultisample = 36_182
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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FramebufferStatus
impl Debug for FramebufferStatus
Source§impl From<FramebufferStatus> for JsValue
impl From<FramebufferStatus> for JsValue
Source§fn from(value: FramebufferStatus) -> Self
fn from(value: FramebufferStatus) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for FramebufferStatus
impl FromWasmAbi for FramebufferStatus
Source§impl IntoWasmAbi for FramebufferStatus
impl IntoWasmAbi for FramebufferStatus
Source§impl TryFromJsValue for FramebufferStatus
impl TryFromJsValue for FramebufferStatus
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <FramebufferStatus as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <FramebufferStatus as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for FramebufferStatus
impl VectorFromWasmAbi for FramebufferStatus
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[FramebufferStatus]>
Source§impl VectorIntoJsValue for FramebufferStatus
impl VectorIntoJsValue for FramebufferStatus
fn vector_into_jsvalue(vector: Box<[FramebufferStatus]>) -> JsValue
Source§impl VectorIntoWasmAbi for FramebufferStatus
impl VectorIntoWasmAbi for FramebufferStatus
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[FramebufferStatus]>) -> Self::Abi
Source§impl WasmDescribeVector for FramebufferStatus
impl WasmDescribeVector for FramebufferStatus
impl Copy for FramebufferStatus
Auto Trait Implementations§
impl Freeze for FramebufferStatus
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§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
.