Enum webgl_rs::glenum::FramebufferKind
source · pub enum FramebufferKind {
Framebuffer,
DrawFramebuffer,
ReadFramebuffer,
}
Expand description
Constants passed to WebGLRenderingContext.bindFramebuffer() and other framebuffer methods
Variants§
Framebuffer
Collection buffer data storage of color, alpha, depth and stencil buffers used to render an image.
DrawFramebuffer
Equivalent to Framebuffer
. Used as a destination for drawing, rendering, clearing, and writing operations.
ReadFramebuffer
Used as a source for reading operations.
Trait Implementations§
source§impl Clone for FramebufferKind
impl Clone for FramebufferKind
source§fn clone(&self) -> FramebufferKind
fn clone(&self) -> FramebufferKind
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 FramebufferKind
impl Debug for FramebufferKind
source§impl FromWasmAbi for FramebufferKind
impl FromWasmAbi for FramebufferKind
source§impl IntoWasmAbi for FramebufferKind
impl IntoWasmAbi for FramebufferKind
source§impl OptionFromWasmAbi for FramebufferKind
impl OptionFromWasmAbi for FramebufferKind
source§impl OptionIntoWasmAbi for FramebufferKind
impl OptionIntoWasmAbi for FramebufferKind
impl Copy for FramebufferKind
Auto Trait Implementations§
impl RefUnwindSafe for FramebufferKind
impl Send for FramebufferKind
impl Sync for FramebufferKind
impl Unpin for FramebufferKind
impl UnwindSafe for FramebufferKind
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