[][src]Enum gfx_backend_gl::Backend

pub enum Backend {}

Trait Implementations

impl Copy for Backend[src]

impl PartialEq<Backend> for Backend[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for Backend[src]

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

Performs copy-assignment from source. Read more

impl Eq for Backend[src]

impl Debug for Backend[src]

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 PhysicalDevice<Backend> for PhysicalDevice[src]

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

Check cache compatibility with the Device.

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_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_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 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 Backend for Backend[src]

type PhysicalDevice = PhysicalDevice

type Device = Device

type Surface = Surface

type Swapchain = Swapchain

type QueueFamily = QueueFamily

type CommandQueue = CommandQueue

type CommandBuffer = RawCommandBuffer

type Memory = Memory

type CommandPool = RawCommandPool

type ShaderModule = ShaderModule

type RenderPass = RenderPass

type Framebuffer = GLuint

type Buffer = Buffer

type BufferView = BufferView

type Image = Image

type ImageView = ImageView

type Sampler = FatSampler

type ComputePipeline = ComputePipeline

type GraphicsPipeline = GraphicsPipeline

type PipelineLayout = PipelineLayout

type PipelineCache = ()

type DescriptorSetLayout = Vec<DescriptorSetLayoutBinding>

type DescriptorPool = DescriptorPool

type DescriptorSet = DescriptorSet

type Fence = Fence

type Semaphore = Semaphore

type QueryPool = ()

Auto Trait Implementations

impl Send for Backend

impl Sync 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]

impl<T> Erased for T