pub enum FramebufferAttachment {
ColorAttachment(u8),
DepthAttachment,
StencilAttachment,
DepthStencilAttachment,
}Variants§
ColorAttachment(u8)
May range from zero to the value of GL_MAX_COLOR_ATTACHMENTS minus one.
DepthAttachment
StencilAttachment
DepthStencilAttachment
Trait Implementations§
Source§impl Clone for FramebufferAttachment
impl Clone for FramebufferAttachment
Source§fn clone(&self) -> FramebufferAttachment
fn clone(&self) -> FramebufferAttachment
Returns a duplicate 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 moreimpl Copy for FramebufferAttachment
Auto Trait Implementations§
impl Freeze for FramebufferAttachment
impl RefUnwindSafe for FramebufferAttachment
impl Send for FramebufferAttachment
impl Sync for FramebufferAttachment
impl Unpin for FramebufferAttachment
impl UnwindSafe for FramebufferAttachment
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