Struct ash::extensions::khr::Synchronization2
source · 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