Enum wgpu_hal::gles::TextureInner
source · pub enum TextureInner {
Renderbuffer {
raw: Renderbuffer,
},
DefaultRenderbuffer,
Texture {
raw: Texture,
target: u32,
},
ExternalFramebuffer {
inner: WebGlFramebuffer,
},
}
Available on crate feature
gles
only.Variants§
Renderbuffer
Fields
§
raw: Renderbuffer
DefaultRenderbuffer
Texture
ExternalFramebuffer
Fields
§
inner: WebGlFramebuffer
Available on WebAssembly and non-Emscripten only.
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 moresource§impl Debug for TextureInner
impl Debug for TextureInner
impl Send for TextureInner
Available on WebAssembly only.
impl Sync for TextureInner
Available on WebAssembly only.
Auto Trait Implementations§
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