Struct BlendFactor
pub struct BlendFactor { /* private fields */ }
Implementations§
§impl BlendFactor
impl BlendFactor
pub const ZERO: BlendFactor = _
pub const ZERO: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_ZERO
pub const ONE: BlendFactor = _
pub const ONE: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_ONE
pub const SRC_COLOR: BlendFactor = _
pub const SRC_COLOR: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_SRC_COLOR
pub const ONE_MINUS_SRC_COLOR: BlendFactor = _
pub const ONE_MINUS_SRC_COLOR: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_ONE_MINUS_SRC_COLOR
pub const DST_COLOR: BlendFactor = _
pub const DST_COLOR: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_DST_COLOR
pub const ONE_MINUS_DST_COLOR: BlendFactor = _
pub const ONE_MINUS_DST_COLOR: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_ONE_MINUS_DST_COLOR
pub const SRC_ALPHA: BlendFactor = _
pub const SRC_ALPHA: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_SRC_ALPHA
pub const ONE_MINUS_SRC_ALPHA: BlendFactor = _
pub const ONE_MINUS_SRC_ALPHA: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_ONE_MINUS_SRC_ALPHA
pub const DST_ALPHA: BlendFactor = _
pub const DST_ALPHA: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_DST_ALPHA
pub const ONE_MINUS_DST_ALPHA: BlendFactor = _
pub const ONE_MINUS_DST_ALPHA: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_ONE_MINUS_DST_ALPHA
pub const CONSTANT_COLOR: BlendFactor = _
pub const CONSTANT_COLOR: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_CONSTANT_COLOR
pub const ONE_MINUS_CONSTANT_COLOR: BlendFactor = _
pub const ONE_MINUS_CONSTANT_COLOR: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR
pub const CONSTANT_ALPHA: BlendFactor = _
pub const CONSTANT_ALPHA: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_CONSTANT_ALPHA
pub const ONE_MINUS_CONSTANT_ALPHA: BlendFactor = _
pub const ONE_MINUS_CONSTANT_ALPHA: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA
pub const SRC_ALPHA_SATURATE: BlendFactor = _
pub const SRC_ALPHA_SATURATE: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_SRC_ALPHA_SATURATE
pub const SRC1_COLOR: BlendFactor = _
pub const SRC1_COLOR: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_SRC1_COLOR
pub const ONE_MINUS_SRC1_COLOR: BlendFactor = _
pub const ONE_MINUS_SRC1_COLOR: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_ONE_MINUS_SRC1_COLOR
pub const SRC1_ALPHA: BlendFactor = _
pub const SRC1_ALPHA: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_SRC1_ALPHA
pub const ONE_MINUS_SRC1_ALPHA: BlendFactor = _
pub const ONE_MINUS_SRC1_ALPHA: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA
pub const MAX: BlendFactor = _
pub const MAX: BlendFactor = _
Godot enumerator name: BLEND_FACTOR_MAX
Trait Implementations§
§impl Clone for BlendFactor
impl Clone for BlendFactor
§fn clone(&self) -> BlendFactor
fn clone(&self) -> BlendFactor
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for BlendFactor
impl Debug for BlendFactor
§impl EngineEnum for BlendFactor
impl EngineEnum for BlendFactor
§impl FromGodot for BlendFactor
impl FromGodot for BlendFactor
§fn try_from_godot(
via: <BlendFactor as GodotConvert>::Via,
) -> Result<BlendFactor, ConvertError>
fn try_from_godot( via: <BlendFactor as GodotConvert>::Via, ) -> Result<BlendFactor, ConvertError>
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Variant
, returning Err
on failure.