[−][src]Struct rendy_command::Queue
Methods
impl<B> Queue<B> where
B: Backend,
[src]
B: Backend,
pub fn raw(
&mut self
) -> &mut impl RawCommandQueue<B>
[src]
&mut self
) -> &mut impl RawCommandQueue<B>
pub fn next_epoch(&self) -> u64
[src]
Returns next queue epoch.
pub unsafe fn submit<'a>(
&mut self,
submissions: impl IntoIterator<Item = Submission<B, impl IntoIterator<Item = (&'a impl Borrow<B::Semaphore> + 'a, PipelineStage)>, impl IntoIterator<Item = impl Submittable<B>>, impl IntoIterator<Item = &'a impl Borrow<B::Semaphore> + 'a>>>,
fence: Option<&mut Fence<B>>
)
[src]
&mut self,
submissions: impl IntoIterator<Item = Submission<B, impl IntoIterator<Item = (&'a impl Borrow<B::Semaphore> + 'a, PipelineStage)>, impl IntoIterator<Item = impl Submittable<B>>, impl IntoIterator<Item = &'a impl Borrow<B::Semaphore> + 'a>>>,
fence: Option<&mut Fence<B>>
)
Submit commands to the queue of the family. Fence must be submitted.
pub unsafe fn submit_raw_fence<'a>(
&mut self,
submissions: impl IntoIterator<Item = Submission<B, impl IntoIterator<Item = (&'a impl Borrow<B::Semaphore> + 'a, PipelineStage)>, impl IntoIterator<Item = impl Submittable<B>>, impl IntoIterator<Item = &'a impl Borrow<B::Semaphore> + 'a>>>,
fence: Option<&B::Fence>
)
[src]
&mut self,
submissions: impl IntoIterator<Item = Submission<B, impl IntoIterator<Item = (&'a impl Borrow<B::Semaphore> + 'a, PipelineStage)>, impl IntoIterator<Item = impl Submittable<B>>, impl IntoIterator<Item = &'a impl Borrow<B::Semaphore> + 'a>>>,
fence: Option<&B::Fence>
)
Submit commands to the queue of the family. Fence must be submitted. This version uses raw fence and doesn't increment epoch.
pub fn wait_idle(&self) -> Result<(), HostExecutionError>
[src]
Trait Implementations
Auto Trait Implementations
impl<B> Send for Queue<B> where
<B as Backend>::CommandQueue: Send,
<B as Backend>::CommandQueue: Send,
impl<B> Sync for Queue<B> where
<B as Backend>::CommandQueue: Sync,
<B as Backend>::CommandQueue: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.