Enum webgl_rs::glenum::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§
source§impl Clone for TextureBindPoint
impl Clone for TextureBindPoint
source§fn clone(&self) -> TextureBindPoint
fn clone(&self) -> TextureBindPoint
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 TextureBindPoint
impl Debug for TextureBindPoint
source§impl FromWasmAbi for TextureBindPoint
impl FromWasmAbi for TextureBindPoint
source§impl IntoWasmAbi for TextureBindPoint
impl IntoWasmAbi for TextureBindPoint
source§impl OptionFromWasmAbi for TextureBindPoint
impl OptionFromWasmAbi for TextureBindPoint
source§impl OptionIntoWasmAbi for TextureBindPoint
impl OptionIntoWasmAbi 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§
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