pub enum TextureInner {
Renderbuffer {
raw: Renderbuffer,
},
DefaultRenderbuffer,
Texture {
raw: Texture,
target: u32,
},
ExternalFramebuffer {
inner: WebGlFramebuffer,
},
}
Available on
gles
only.Variants§
Renderbuffer
Fields
§
raw: Renderbuffer
DefaultRenderbuffer
Texture
ExternalFramebuffer
Available on
webgl
only.Fields
§
inner: WebGlFramebuffer
Trait Implementations§
Source§impl Clone for TextureInner
impl Clone for TextureInner
Source§fn clone(&self) -> TextureInner
fn clone(&self) -> TextureInner
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 moreAuto Trait Implementations§
impl Freeze for TextureInner
impl RefUnwindSafe for TextureInner
impl !Send for TextureInner
impl !Sync for TextureInner
impl Unpin for TextureInner
impl UnwindSafe for TextureInner
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