Struct godot::classes::rendering_device::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.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for BlendFactor
impl GodotConvert for BlendFactor
§impl Hash for BlendFactor
impl Hash for BlendFactor
§impl IndexEnum for BlendFactor
impl IndexEnum for BlendFactor
§impl PartialEq for BlendFactor
impl PartialEq for BlendFactor
§fn eq(&self, other: &BlendFactor) -> bool
fn eq(&self, other: &BlendFactor) -> bool
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for BlendFactor
impl ToGodot for BlendFactor
§fn to_godot(&self) -> <BlendFactor as GodotConvert>::Via
fn to_godot(&self) -> <BlendFactor as GodotConvert>::Via
§fn into_godot(self) -> Self::Via
fn into_godot(self) -> Self::Via
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
impl Copy for BlendFactor
impl Eq for BlendFactor
impl StructuralPartialEq for BlendFactor
Auto Trait Implementations§
impl Freeze for BlendFactor
impl RefUnwindSafe for BlendFactor
impl Send for BlendFactor
impl Sync for BlendFactor
impl Unpin for BlendFactor
impl UnwindSafe for BlendFactor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)