Enum webgl_rs::glenum::TextureKind
source · pub enum TextureKind {
Texture2d,
TextureCubeMap,
Texture3d,
Texture2dArray,
}
Expand description
WebGLRenderingContext.texParameterfi or WebGLRenderingContext.bindTexture() “target” parameter
Variants§
Texture2d
TextureCubeMap
Texture3d
A three-dimensional texture.
Texture2dArray
A two-dimensional array texture.
Trait Implementations§
source§impl Clone for TextureKind
impl Clone for TextureKind
source§fn clone(&self) -> TextureKind
fn clone(&self) -> TextureKind
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 TextureKind
impl Debug for TextureKind
source§impl FromWasmAbi for TextureKind
impl FromWasmAbi for TextureKind
source§impl IntoWasmAbi for TextureKind
impl IntoWasmAbi for TextureKind
source§impl OptionFromWasmAbi for TextureKind
impl OptionFromWasmAbi for TextureKind
source§impl OptionIntoWasmAbi for TextureKind
impl OptionIntoWasmAbi for TextureKind
impl Copy for TextureKind
Auto Trait Implementations§
impl RefUnwindSafe for TextureKind
impl Send for TextureKind
impl Sync for TextureKind
impl Unpin for TextureKind
impl UnwindSafe for TextureKind
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