#[repr(C)]pub struct RenderTargetBlendState {
pub m_write_mask: u8,
pub m_source_color_blend_mode: u8,
pub m_destination_color_blend_mode: u8,
pub m_source_alpha_blend_mode: u8,
pub m_destination_alpha_blend_mode: u8,
pub m_color_blend_operation: u8,
pub m_alpha_blend_operation: u8,
pub m_padding: u8,
}Expand description
Fields§
§m_write_mask: u8§m_source_color_blend_mode: u8§m_destination_color_blend_mode: u8§m_source_alpha_blend_mode: u8§m_destination_alpha_blend_mode: u8§m_color_blend_operation: u8§m_alpha_blend_operation: u8§m_padding: u8Implementations§
Source§impl RenderTargetBlendState
impl RenderTargetBlendState
Sourcepub fn get_default_value() -> RenderTargetBlendState
pub fn get_default_value() -> RenderTargetBlendState
get_defaultValue() overload
Source§impl RenderTargetBlendState
impl RenderTargetBlendState
Sourcepub fn ctor(
&mut self,
write_mask: impl Into<ColorWriteMask>,
source_color_blend_mode: impl Into<BlendMode>,
destination_color_blend_mode: impl Into<BlendMode>,
source_alpha_blend_mode: impl Into<BlendMode>,
destination_alpha_blend_mode: impl Into<BlendMode>,
color_blend_operation: impl Into<BlendOp>,
alpha_blend_operation: impl Into<BlendOp>,
)
pub fn ctor( &mut self, write_mask: impl Into<ColorWriteMask>, source_color_blend_mode: impl Into<BlendMode>, destination_color_blend_mode: impl Into<BlendMode>, source_alpha_blend_mode: impl Into<BlendMode>, destination_alpha_blend_mode: impl Into<BlendMode>, color_blend_operation: impl Into<BlendOp>, alpha_blend_operation: impl Into<BlendOp>, )
.ctor(crate::unity_engine::rendering::colorwritemask::ColorWriteMask, crate::unity_engine::rendering::blendmode::BlendMode, crate::unity_engine::rendering::blendmode::BlendMode, crate::unity_engine::rendering::blendmode::BlendMode, crate::unity_engine::rendering::blendmode::BlendMode, crate::unity_engine::rendering::blendop::BlendOp, crate::unity_engine::rendering::blendop::BlendOp) overload
Sourcepub fn equals(&mut self, other: impl Into<RenderTargetBlendState>) -> bool
pub fn equals(&mut self, other: impl Into<RenderTargetBlendState>) -> bool
Equals(crate::unity_engine::rendering::rendertargetblendstate::RenderTargetBlendState) overload
Sourcepub fn equals_2(&mut self, obj: impl Into<Object>) -> bool
pub fn equals_2(&mut self, obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Source§impl RenderTargetBlendState
impl RenderTargetBlendState
pub fn get_default_value_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl Clone for RenderTargetBlendState
impl Clone for RenderTargetBlendState
Source§fn clone(&self) -> RenderTargetBlendState
fn clone(&self) -> RenderTargetBlendState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RenderTargetBlendState
Auto Trait Implementations§
impl Freeze for RenderTargetBlendState
impl RefUnwindSafe for RenderTargetBlendState
impl Send for RenderTargetBlendState
impl Sync for RenderTargetBlendState
impl Unpin for RenderTargetBlendState
impl UnwindSafe for RenderTargetBlendState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)