Enum uni_gl::TextureBindPoint
source · [−]pub enum TextureBindPoint {
Texture2d,
TextureCubeMapPositiveX,
TextureCubeMapNegativeX,
TextureCubeMapPositiveY,
TextureCubeMapNegativeY,
TextureCubeMapPositiveZ,
TextureCubeMapNegativeZ,
}
Expand description
WebGLRenderingContext.texImage2D() “target” parameter
Variants
Texture2d
TextureCubeMapPositiveX
TextureCubeMapNegativeX
TextureCubeMapPositiveY
TextureCubeMapNegativeY
TextureCubeMapPositiveZ
TextureCubeMapNegativeZ
Trait Implementations
sourceimpl Clone for TextureBindPoint
impl Clone for TextureBindPoint
sourcefn clone(&self) -> TextureBindPoint
fn clone(&self) -> TextureBindPoint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TextureBindPoint
impl Debug for TextureBindPoint
impl Copy for TextureBindPoint
Auto Trait Implementations
impl RefUnwindSafe for TextureBindPoint
impl Send for TextureBindPoint
impl Sync for TextureBindPoint
impl Unpin for TextureBindPoint
impl UnwindSafe for TextureBindPoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more