Enum webgl_rs::glenum::HintTarget
source · pub enum HintTarget {
GenerateMipmapHint,
FragmentShaderDerivativeHint,
}
Expand description
Constants passed to WebGLRenderingContext.hint() target argument
Variants§
GenerateMipmapHint
Hint for the quality of filtering when generating mipmap images with WebGLRenderingContext.generateMipmap().
FragmentShaderDerivativeHint
Accuracy of the derivative calculation for the GLSL built-in functions: dFdx, dFdy, and fwidth.
Trait Implementations§
source§impl Clone for HintTarget
impl Clone for HintTarget
source§fn clone(&self) -> HintTarget
fn clone(&self) -> HintTarget
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 HintTarget
impl Debug for HintTarget
source§impl FromWasmAbi for HintTarget
impl FromWasmAbi for HintTarget
source§impl IntoWasmAbi for HintTarget
impl IntoWasmAbi for HintTarget
source§impl OptionFromWasmAbi for HintTarget
impl OptionFromWasmAbi for HintTarget
source§impl OptionIntoWasmAbi for HintTarget
impl OptionIntoWasmAbi for HintTarget
impl Copy for HintTarget
Auto Trait Implementations§
impl RefUnwindSafe for HintTarget
impl Send for HintTarget
impl Sync for HintTarget
impl Unpin for HintTarget
impl UnwindSafe for HintTarget
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