[][src]Enum gfx_backend_empty::Backend

pub enum Backend {}

Dummy backend.

Trait Implementations

impl PartialEq<Backend> for Backend[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Copy for Backend[src]

impl Eq for Backend[src]

impl Clone for Backend[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Hash for Backend[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Backend[src]

impl PhysicalDevice<Backend> for PhysicalDevice[src]

fn is_valid_cache(&self, _cache: &[u8]) -> bool[src]

Check cache compatibility with the Device.

impl Backend for Backend[src]

impl Device<Backend> for Device[src]

unsafe fn create_command_pool_typed<C>(
    &self,
    group: &QueueGroup<B, C>,
    flags: CommandPoolCreateFlags
) -> Result<CommandPool<B, C>, OutOfMemory>
[src]

Create a strongly typed command pool wrapper.

unsafe fn create_graphics_pipeline(
    &self,
    desc: &GraphicsPipelineDesc<'a, B>,
    cache: Option<&<B as Backend>::PipelineCache>
) -> Result<<B as Backend>::GraphicsPipeline, CreationError>
[src]

Create a graphics pipeline.

unsafe fn create_graphics_pipelines<'a, I>(
    &self,
    descs: I,
    cache: Option<&<B as Backend>::PipelineCache>
) -> Vec<Result<<B as Backend>::GraphicsPipeline, CreationError>> where
    I: IntoIterator,
    <I as IntoIterator>::Item: Borrow<GraphicsPipelineDesc<'a, B>>, 
[src]

Create graphics pipelines.

unsafe fn create_compute_pipeline(
    &self,
    desc: &ComputePipelineDesc<'a, B>,
    cache: Option<&<B as Backend>::PipelineCache>
) -> Result<<B as Backend>::ComputePipeline, CreationError>
[src]

Create a compute pipeline.

unsafe fn create_compute_pipelines<'a, I>(
    &self,
    descs: I,
    cache: Option<&<B as Backend>::PipelineCache>
) -> Vec<Result<<B as Backend>::ComputePipeline, CreationError>> where
    I: IntoIterator,
    <I as IntoIterator>::Item: Borrow<ComputePipelineDesc<'a, B>>, 
[src]

Create compute pipelines.

unsafe fn acquire_mapping_reader<T>(
    &self,
    memory: &'a <B as Backend>::Memory,
    range: Range<u64>
) -> Result<Reader<'a, B, T>, Error> where
    T: Copy
[src]

Acquire a mapping Reader. Read more

unsafe fn release_mapping_reader<T>(&self, reader: Reader<'a, B, T>)[src]

Release a mapping Reader.

unsafe fn acquire_mapping_writer<T>(
    &self,
    memory: &'a <B as Backend>::Memory,
    range: Range<u64>
) -> Result<Writer<'a, B, T>, Error> where
    T: Copy
[src]

Acquire a mapping Writer. Read more

unsafe fn release_mapping_writer<T>(
    &self,
    writer: Writer<'a, B, T>
) -> Result<(), OutOfMemory>
[src]

Release a mapping Writer.

unsafe fn reset_fence(
    &self,
    fence: &<B as Backend>::Fence
) -> Result<(), OutOfMemory>
[src]

unsafe fn reset_fences<I>(&self, fences: I) -> Result<(), OutOfMemory> where
    I: IntoIterator,
    <I as IntoIterator>::Item: Borrow<<B as Backend>::Fence>, 
[src]

unsafe fn wait_for_fence(
    &self,
    fence: &<B as Backend>::Fence,
    timeout_ns: u64
) -> Result<bool, OomOrDeviceLost>
[src]

Blocks until the given fence is signaled. Returns true if the fence was signaled before the timeout. Read more

unsafe fn wait_for_fences<I>(
    &self,
    fences: I,
    wait: WaitFor,
    timeout_ns: u64
) -> Result<bool, OomOrDeviceLost> where
    I: IntoIterator,
    <I as IntoIterator>::Item: Borrow<<B as Backend>::Fence>, 
[src]

Blocks until all or one of the given fences are signaled. Returns true if fences were signaled before the timeout. Read more

impl Surface<Backend> for Surface[src]

impl Swapchain<Backend> for Swapchain[src]

unsafe fn present<'a, C, S, Iw>(
    &'a self,
    present_queue: &mut CommandQueue<B, C>,
    image_index: u32,
    wait_semaphores: Iw
) -> Result<Option<Suboptimal>, PresentError> where
    C: Capability,
    Iw: IntoIterator<Item = &'a S>,
    S: 'a + Borrow<<B as Backend>::Semaphore>,
    Self: 'a + Borrow<<B as Backend>::Swapchain>, 
[src]

Present one acquired image. Read more

unsafe fn present_nosemaphores<'a, C>(
    &'a self,
    present_queue: &mut CommandQueue<B, C>,
    image_index: u32
) -> Result<Option<Suboptimal>, PresentError> where
    C: Capability,
    Self: 'a + Borrow<<B as Backend>::Swapchain>, 
[src]

Present one acquired image without any semaphore synchronization.

impl DescriptorPool<Backend> for DescriptorPool[src]

unsafe fn allocate_set(
    &mut self,
    layout: &<B as Backend>::DescriptorSetLayout
) -> Result<<B as Backend>::DescriptorSet, AllocationError>
[src]

Allocate a descriptor set from the pool. Read more

unsafe fn allocate_sets<I>(
    &mut self,
    layouts: I,
    sets: &mut Vec<<B as Backend>::DescriptorSet>
) -> Result<(), AllocationError> where
    I: IntoIterator,
    <I as IntoIterator>::Item: Borrow<<B as Backend>::DescriptorSetLayout>, 
[src]

Allocate one or multiple descriptor sets from the pool. Read more

impl RawCommandQueue<Backend> for RawCommandQueue[src]

impl RawCommandBuffer<Backend> for RawCommandBuffer[src]

impl RawCommandPool<Backend> for RawCommandPool[src]

fn allocate_one(&mut self, level: Level) -> <B as Backend>::CommandBuffer[src]

Allocate a single command buffers from the pool.

fn allocate_vec(
    &mut self,
    num: usize,
    level: Level
) -> Vec<<B as Backend>::CommandBuffer>
[src]

Allocate new command buffers from the pool.

Auto Trait Implementations

impl Send for Backend

impl Unpin for Backend

impl Sync for Backend

impl UnwindSafe for Backend

impl RefUnwindSafe for Backend

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Supports<T> for T[src]