pub struct Synchronization2 { /* private fields */ }
Implementations§
Source§impl Synchronization2
impl Synchronization2
pub fn new(instance: &Instance, device: &Device) -> Self
Sourcepub unsafe fn cmd_pipeline_barrier2(
&self,
command_buffer: CommandBuffer,
dependency_info: &DependencyInfoKHR,
)
pub unsafe fn cmd_pipeline_barrier2( &self, command_buffer: CommandBuffer, dependency_info: &DependencyInfoKHR, )
Sourcepub unsafe fn cmd_reset_event2(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags2KHR,
)
pub unsafe fn cmd_reset_event2( &self, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags2KHR, )
Sourcepub unsafe fn cmd_set_event2(
&self,
command_buffer: CommandBuffer,
event: Event,
dependency_info: &DependencyInfoKHR,
)
pub unsafe fn cmd_set_event2( &self, command_buffer: CommandBuffer, event: Event, dependency_info: &DependencyInfoKHR, )
Sourcepub unsafe fn cmd_wait_events2(
&self,
command_buffer: CommandBuffer,
events: &[Event],
dependency_infos: &[DependencyInfoKHR],
)
pub unsafe fn cmd_wait_events2( &self, command_buffer: CommandBuffer, events: &[Event], dependency_infos: &[DependencyInfoKHR], )
Sourcepub unsafe fn cmd_write_timestamp2(
&self,
command_buffer: CommandBuffer,
stage: PipelineStageFlags2KHR,
query_pool: QueryPool,
query: u32,
)
pub unsafe fn cmd_write_timestamp2( &self, command_buffer: CommandBuffer, stage: PipelineStageFlags2KHR, query_pool: QueryPool, query: u32, )
Sourcepub unsafe fn queue_submit2(
&self,
queue: Queue,
submits: &[SubmitInfo2KHR],
fence: Fence,
) -> VkResult<()>
pub unsafe fn queue_submit2( &self, queue: Queue, submits: &[SubmitInfo2KHR], fence: Fence, ) -> VkResult<()>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrSynchronization2Fn
Trait Implementations§
Source§impl Clone for Synchronization2
impl Clone for Synchronization2
Source§fn clone(&self) -> Synchronization2
fn clone(&self) -> Synchronization2
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for Synchronization2
impl RefUnwindSafe for Synchronization2
impl Send for Synchronization2
impl Sync for Synchronization2
impl Unpin for Synchronization2
impl UnwindSafe for Synchronization2
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)