[−][src]Struct rendy::command::Queue
Command queue wrapper.
Methods
impl<B> Queue<B> where
B: Backend,
[src]
B: Backend,
pub fn id(&self) -> QueueId
[src]
Id of the queue.
pub fn raw(&mut self) -> &mut impl RawCommandQueue<B>
[src]
Get raw command queue.
pub fn next_epoch(&self) -> u64
[src]
Returns next queue epoch.
pub unsafe fn submit<'a, impl std::borrow::Borrow + 'a, impl IntoIterator- + 'a),
gfx_hal::pso::PipelineStage)>, impl Submittable, impl IntoIterator
- >, impl std::borrow::Borrow
+ 'a, impl IntoIterator- + 'a)>, impl IntoIterator
- + 'a),
gfx_hal::pso::PipelineStage)>,
impl IntoIterator
- >,
impl IntoIterator
- + 'a)>>>>(
&mut self,
submissions: impl IntoIterator- + 'a),
gfx_hal::pso::PipelineStage)>,
impl IntoIterator
- >,
impl IntoIterator
- + 'a)>>>,
fence: Option<&mut Fence<B>>
) where
impl IntoIterator- + 'a),
gfx_hal::pso::PipelineStage)>: IntoIterator<Item = (&'a impl std::borrow::Borrow
+ 'a, PipelineStage)>,
impl IntoIterator- + 'a),
gfx_hal::pso::PipelineStage)>,
impl IntoIterator
- >,
impl IntoIterator
- + 'a)>>>: IntoIterator<Item = Submission<B, impl IntoIterator
- + 'a),
gfx_hal::pso::PipelineStage)>, impl IntoIterator
- >, impl IntoIterator
- + 'a)>>>,
impl IntoIterator- + 'a)>: IntoIterator<Item = &'a impl std::borrow::Borrow
+ 'a>,
impl IntoIterator- >: IntoIterator<Item = impl Submittable>,
impl Submittable: Submittable<B, PrimaryLevel, OutsideRenderPass>,
impl std::borrow::Borrow + 'a: 'a + Borrow<<B as Backend>::Semaphore>,
[src]
&mut self,
submissions: impl IntoIterator
fence: Option<&mut Fence<B>>
) where
impl IntoIterator
impl IntoIterator
impl IntoIterator
impl IntoIterator
impl Submittable: Submittable<B, PrimaryLevel, OutsideRenderPass>,
impl std::borrow::Borrow
Submit commands to the queue of the family. Fence must be submitted.
pub unsafe fn submit_raw_fence<'a, impl std::borrow::Borrow + 'a, impl IntoIterator- + 'a),
gfx_hal::pso::PipelineStage)>, impl Submittable, impl IntoIterator
- >, impl std::borrow::Borrow
+ 'a, impl IntoIterator- + 'a)>, impl IntoIterator
- + 'a),
gfx_hal::pso::PipelineStage)>,
impl IntoIterator
- >,
impl IntoIterator
- + 'a)>>>>(
&mut self,
submissions: impl IntoIterator- + 'a),
gfx_hal::pso::PipelineStage)>,
impl IntoIterator
- >,
impl IntoIterator
- + 'a)>>>,
fence: Option<&<B as Backend>::Fence>
) where
impl IntoIterator- + 'a),
gfx_hal::pso::PipelineStage)>: IntoIterator<Item = (&'a impl std::borrow::Borrow
+ 'a, PipelineStage)>,
impl IntoIterator- + 'a),
gfx_hal::pso::PipelineStage)>,
impl IntoIterator
- >,
impl IntoIterator
- + 'a)>>>: IntoIterator<Item = Submission<B, impl IntoIterator
- + 'a),
gfx_hal::pso::PipelineStage)>, impl IntoIterator
- >, impl IntoIterator
- + 'a)>>>,
impl IntoIterator- + 'a)>: IntoIterator<Item = &'a impl std::borrow::Borrow
+ 'a>,
impl IntoIterator- >: IntoIterator<Item = impl Submittable>,
impl Submittable: Submittable<B, PrimaryLevel, OutsideRenderPass>,
impl std::borrow::Borrow + 'a: 'a + Borrow<<B as Backend>::Semaphore>,
[src]
&mut self,
submissions: impl IntoIterator
fence: Option<&<B as Backend>::Fence>
) where
impl IntoIterator
impl IntoIterator
impl IntoIterator
impl IntoIterator
impl Submittable: Submittable<B, PrimaryLevel, OutsideRenderPass>,
impl std::borrow::Borrow
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]
Wait for queue to finish all pending commands.
impl<B> Queue<B> where
B: Backend,
[src]
B: Backend,
pub fn family_id(&self) -> FamilyId
[src]
Get owner id.
pub fn assert_family_owner<C>(&self, family: &Family<B, C>)
[src]
Assert specified family is owner.
pub fn assert_device_owner(&self, device: &Device<B>)
[src]
Assert specified device is owner.
pub fn assert_instance_owner(&self, instance: &Instance<B>)
[src]
Assert specified instance is owner.
Trait Implementations
Auto Trait Implementations
impl<B> Unpin for Queue<B> where
<B as Backend>::CommandQueue: Unpin,
<B as Backend>::CommandQueue: Unpin,
impl<B> Sync for Queue<B> where
<B as Backend>::CommandQueue: Sync,
<B as Backend>::CommandQueue: Sync,
impl<B> Send for Queue<B> where
<B as Backend>::CommandQueue: Send,
<B as Backend>::CommandQueue: Send,
impl<B> UnwindSafe for Queue<B> where
<B as Backend>::CommandQueue: UnwindSafe,
<B as Backend>::CommandQueue: UnwindSafe,
impl<B> RefUnwindSafe for Queue<B> where
<B as Backend>::CommandQueue: RefUnwindSafe,
<B as Backend>::CommandQueue: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Supports<T> for T
[src]
impl<T> SetParameter for T
[src]
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
[src]
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> Erased for T
[src]
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
Convert the source color to the destination color using the bradford method by default Read more