#[repr(C)]pub struct GraphicsFence {
pub m_ptr: IntPtr,
pub m_version: i32,
pub m_fence_type: GraphicsFenceType,
}Expand description
Fields§
§m_ptr: IntPtr§m_version: i32§m_fence_type: GraphicsFenceTypeImplementations§
Source§impl GraphicsFence
impl GraphicsFence
Sourcepub fn translate_synchronization_stage_to_flags(
s: impl Into<SynchronisationStage>,
) -> SynchronisationStageFlags
pub fn translate_synchronization_stage_to_flags( s: impl Into<SynchronisationStage>, ) -> SynchronisationStageFlags
TranslateSynchronizationStageToFlags(crate::unity_engine::rendering::synchronisationstage::SynchronisationStage) overload
Sourcepub fn get_version_number(fence_ptr: impl Into<IntPtr>) -> i32
pub fn get_version_number(fence_ptr: impl Into<IntPtr>) -> i32
GetVersionNumber(::unity::IntPtr) overload
Source§impl GraphicsFence
impl GraphicsFence
Sourcepub fn init_post_allocation(&mut self)
pub fn init_post_allocation(&mut self)
InitPostAllocation() overload
Sourcepub fn is_fence_pending(&mut self) -> bool
pub fn is_fence_pending(&mut self) -> bool
IsFencePending() overload
Sourcepub fn get_platform_not_supported_version(&mut self) -> i32
pub fn get_platform_not_supported_version(&mut self) -> i32
GetPlatformNotSupportedVersion() overload
Source§impl GraphicsFence
impl GraphicsFence
pub fn translate_synchronization_stage_to_flags_method_info() -> &'static MethodInfo
pub fn init_post_allocation_method_info() -> &'static MethodInfo
pub fn is_fence_pending_method_info() -> &'static MethodInfo
pub fn validate_method_info() -> &'static MethodInfo
pub fn get_platform_not_supported_version_method_info() -> &'static MethodInfo
pub fn get_version_number_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for GraphicsFence
impl ClassIdentity for GraphicsFence
Source§impl Clone for GraphicsFence
impl Clone for GraphicsFence
Source§fn clone(&self) -> GraphicsFence
fn clone(&self) -> GraphicsFence
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 GraphicsFence
Auto Trait Implementations§
impl Freeze for GraphicsFence
impl RefUnwindSafe for GraphicsFence
impl Send for GraphicsFence
impl Sync for GraphicsFence
impl Unpin for GraphicsFence
impl UnwindSafe for GraphicsFence
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)