Enum webgl_rs::glenum::Attachment
source · pub enum Attachment {
Show 19 variants
ColorAttachment0,
DepthAttachment,
StencilAttachment,
DepthStencilAttachment,
ColorAttachment1,
ColorAttachment2,
ColorAttachment3,
ColorAttachment4,
ColorAttachment5,
ColorAttachment6,
ColorAttachment7,
ColorAttachment8,
ColorAttachment9,
ColorAttachment10,
ColorAttachment11,
ColorAttachment12,
ColorAttachment13,
ColorAttachment14,
ColorAttachment15,
}
Expand description
Constants passed to WebGLRenderingContext.framebufferRenderbuffer()
Variants§
ColorAttachment0
color buffer.
DepthAttachment
depth buffer.
StencilAttachment
stencil buffer.
DepthStencilAttachment
depth and stencil buffer.
ColorAttachment1
ColorAttachment2
ColorAttachment3
ColorAttachment4
ColorAttachment5
ColorAttachment6
ColorAttachment7
ColorAttachment8
ColorAttachment9
ColorAttachment10
ColorAttachment11
ColorAttachment12
ColorAttachment13
ColorAttachment14
ColorAttachment15
Trait Implementations§
source§impl Clone for Attachment
impl Clone for Attachment
source§fn clone(&self) -> Attachment
fn clone(&self) -> Attachment
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 Attachment
impl Debug for Attachment
source§impl FromWasmAbi for Attachment
impl FromWasmAbi for Attachment
source§impl IntoWasmAbi for Attachment
impl IntoWasmAbi for Attachment
source§impl OptionFromWasmAbi for Attachment
impl OptionFromWasmAbi for Attachment
source§impl OptionIntoWasmAbi for Attachment
impl OptionIntoWasmAbi for Attachment
impl Copy for Attachment
Auto Trait Implementations§
impl RefUnwindSafe for Attachment
impl Send for Attachment
impl Sync for Attachment
impl Unpin for Attachment
impl UnwindSafe for Attachment
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