pub enum Culling {
Front,
Back,
FrontAndBack,
}
Expand description
Constants passed to WebGLRenderingContext.cullFace().
Variants§
Front
Passed to cullFace to specify that only front faces should be drawn.
Back
Passed to cullFace to specify that only back faces should be drawn.
FrontAndBack
Passed to cullFace to specify that front and back faces should be drawn.
Trait Implementations§
source§impl FromWasmAbi for Culling
impl FromWasmAbi for Culling
source§impl IntoWasmAbi for Culling
impl IntoWasmAbi for Culling
source§impl OptionFromWasmAbi for Culling
impl OptionFromWasmAbi for Culling
source§impl OptionIntoWasmAbi for Culling
impl OptionIntoWasmAbi for Culling
impl Copy for Culling
Auto Trait Implementations§
impl RefUnwindSafe for Culling
impl Send for Culling
impl Sync for Culling
impl Unpin for Culling
impl UnwindSafe for Culling
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