[−][src]Enum gfx_backend_empty::Backend
Dummy backend.
Trait Implementations
impl Clone for Backend
[src]
fn clone(&self) -> Backend
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Backend
[src]
impl PartialEq<Backend> for Backend
[src]
fn eq(&self, other: &Backend) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for Backend
[src]
impl Hash for Backend
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Backend
[src]
impl PhysicalDevice<Backend> for PhysicalDevice
[src]
unsafe fn open(
&self,
_: &[(&QueueFamily, &[QueuePriority])],
_: Features
) -> Result<Gpu<Backend>, DeviceCreationError>
[src]
&self,
_: &[(&QueueFamily, &[QueuePriority])],
_: Features
) -> Result<Gpu<Backend>, DeviceCreationError>
fn format_properties(&self, _: Option<Format>) -> Properties
[src]
fn image_format_properties(
&self,
_: Format,
_dim: u8,
_: Tiling,
_: Usage,
_: ViewCapabilities
) -> Option<FormatProperties>
[src]
&self,
_: Format,
_dim: u8,
_: Tiling,
_: Usage,
_: ViewCapabilities
) -> Option<FormatProperties>
fn memory_properties(&self) -> MemoryProperties
[src]
fn features(&self) -> Features
[src]
fn limits(&self) -> Limits
[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(
&self,
_: QueueFamilyId,
_: CommandPoolCreateFlags
) -> Result<RawCommandPool, OutOfMemory>
[src]
&self,
_: QueueFamilyId,
_: CommandPoolCreateFlags
) -> Result<RawCommandPool, OutOfMemory>
unsafe fn destroy_command_pool(&self, _: RawCommandPool)
[src]
unsafe fn allocate_memory(
&self,
_: MemoryTypeId,
_: u64
) -> Result<(), AllocationError>
[src]
&self,
_: MemoryTypeId,
_: u64
) -> Result<(), AllocationError>
unsafe fn create_render_pass<'a, IA, IS, ID>(
&self,
_: IA,
_: IS,
_: ID
) -> Result<(), OutOfMemory> where
IA: IntoIterator,
IA::Item: Borrow<Attachment>,
IS: IntoIterator,
IS::Item: Borrow<SubpassDesc<'a>>,
ID: IntoIterator,
ID::Item: Borrow<SubpassDependency>,
[src]
&self,
_: IA,
_: IS,
_: ID
) -> Result<(), OutOfMemory> where
IA: IntoIterator,
IA::Item: Borrow<Attachment>,
IS: IntoIterator,
IS::Item: Borrow<SubpassDesc<'a>>,
ID: IntoIterator,
ID::Item: Borrow<SubpassDependency>,
unsafe fn create_pipeline_layout<IS, IR>(
&self,
_: IS,
_: IR
) -> Result<(), OutOfMemory> where
IS: IntoIterator,
IS::Item: Borrow<()>,
IR: IntoIterator,
IR::Item: Borrow<(ShaderStageFlags, Range<u32>)>,
[src]
&self,
_: IS,
_: IR
) -> Result<(), OutOfMemory> where
IS: IntoIterator,
IS::Item: Borrow<()>,
IR: IntoIterator,
IR::Item: Borrow<(ShaderStageFlags, Range<u32>)>,
unsafe fn create_pipeline_cache(
&self,
_data: Option<&[u8]>
) -> Result<(), OutOfMemory>
[src]
&self,
_data: Option<&[u8]>
) -> Result<(), OutOfMemory>
unsafe fn get_pipeline_cache_data(
&self,
_cache: &()
) -> Result<Vec<u8>, OutOfMemory>
[src]
&self,
_cache: &()
) -> Result<Vec<u8>, OutOfMemory>
unsafe fn destroy_pipeline_cache(&self, _: ())
[src]
unsafe fn merge_pipeline_caches<I>(
&self,
_: &(),
_: I
) -> Result<(), OutOfMemory> where
I: IntoIterator,
I::Item: Borrow<()>,
[src]
&self,
_: &(),
_: I
) -> Result<(), OutOfMemory> where
I: IntoIterator,
I::Item: Borrow<()>,
unsafe fn create_framebuffer<I>(
&self,
_: &(),
_: I,
_: Extent
) -> Result<(), OutOfMemory> where
I: IntoIterator,
I::Item: Borrow<()>,
[src]
&self,
_: &(),
_: I,
_: Extent
) -> Result<(), OutOfMemory> where
I: IntoIterator,
I::Item: Borrow<()>,
unsafe fn create_shader_module(&self, _: &[u8]) -> Result<(), ShaderError>
[src]
unsafe fn create_sampler(&self, _: SamplerInfo) -> Result<(), AllocationError>
[src]
unsafe fn create_buffer(&self, _: u64, _: Usage) -> Result<(), CreationError>
[src]
unsafe fn get_buffer_requirements(&self, _: &()) -> Requirements
[src]
unsafe fn bind_buffer_memory(
&self,
_: &(),
_: u64,
_: &mut ()
) -> Result<(), BindError>
[src]
&self,
_: &(),
_: u64,
_: &mut ()
) -> Result<(), BindError>
unsafe fn create_buffer_view<R: RangeArg<u64>>(
&self,
_: &(),
_: Option<Format>,
_: R
) -> Result<(), ViewCreationError>
[src]
&self,
_: &(),
_: Option<Format>,
_: R
) -> Result<(), ViewCreationError>
unsafe fn create_image(
&self,
_: Kind,
_: Level,
_: Format,
_: Tiling,
_: Usage,
_: ViewCapabilities
) -> Result<(), CreationError>
[src]
&self,
_: Kind,
_: Level,
_: Format,
_: Tiling,
_: Usage,
_: ViewCapabilities
) -> Result<(), CreationError>
unsafe fn get_image_requirements(&self, _: &()) -> Requirements
[src]
unsafe fn get_image_subresource_footprint(
&self,
_: &(),
_: Subresource
) -> SubresourceFootprint
[src]
&self,
_: &(),
_: Subresource
) -> SubresourceFootprint
unsafe fn bind_image_memory(
&self,
_: &(),
_: u64,
_: &mut ()
) -> Result<(), BindError>
[src]
&self,
_: &(),
_: u64,
_: &mut ()
) -> Result<(), BindError>
unsafe fn create_image_view(
&self,
_: &(),
_: ViewKind,
_: Format,
_: Swizzle,
_: SubresourceRange
) -> Result<(), ViewError>
[src]
&self,
_: &(),
_: ViewKind,
_: Format,
_: Swizzle,
_: SubresourceRange
) -> Result<(), ViewError>
unsafe fn create_descriptor_pool<I>(
&self,
_: usize,
_: I,
_: DescriptorPoolCreateFlags
) -> Result<DescriptorPool, OutOfMemory> where
I: IntoIterator,
I::Item: Borrow<DescriptorRangeDesc>,
[src]
&self,
_: usize,
_: I,
_: DescriptorPoolCreateFlags
) -> Result<DescriptorPool, OutOfMemory> where
I: IntoIterator,
I::Item: Borrow<DescriptorRangeDesc>,
unsafe fn create_descriptor_set_layout<I, J>(
&self,
_: I,
_: J
) -> Result<(), OutOfMemory> where
I: IntoIterator,
I::Item: Borrow<DescriptorSetLayoutBinding>,
J: IntoIterator,
J::Item: Borrow<()>,
[src]
&self,
_: I,
_: J
) -> Result<(), OutOfMemory> where
I: IntoIterator,
I::Item: Borrow<DescriptorSetLayoutBinding>,
J: IntoIterator,
J::Item: Borrow<()>,
unsafe fn write_descriptor_sets<'a, I, J>(&self, _: I) where
I: IntoIterator<Item = DescriptorSetWrite<'a, Backend, J>>,
J: IntoIterator,
J::Item: Borrow<Descriptor<'a, Backend>>,
[src]
I: IntoIterator<Item = DescriptorSetWrite<'a, Backend, J>>,
J: IntoIterator,
J::Item: Borrow<Descriptor<'a, Backend>>,
unsafe fn copy_descriptor_sets<'a, I>(&self, _: I) where
I: IntoIterator,
I::Item: Borrow<DescriptorSetCopy<'a, Backend>>,
[src]
I: IntoIterator,
I::Item: Borrow<DescriptorSetCopy<'a, Backend>>,
fn create_semaphore(&self) -> Result<(), OutOfMemory>
[src]
fn create_fence(&self, _: bool) -> Result<(), OutOfMemory>
[src]
unsafe fn get_fence_status(&self, _: &()) -> Result<bool, DeviceLost>
[src]
unsafe fn create_query_pool(&self, _: Type, _: u32) -> Result<(), CreationError>
[src]
unsafe fn destroy_query_pool(&self, _: ())
[src]
unsafe fn get_query_pool_results(
&self,
_: &(),
_: Range<Id>,
_: &mut [u8],
_: Offset,
_: ResultFlags
) -> Result<bool, OomOrDeviceLost>
[src]
&self,
_: &(),
_: Range<Id>,
_: &mut [u8],
_: Offset,
_: ResultFlags
) -> Result<bool, OomOrDeviceLost>
unsafe fn map_memory<R: RangeArg<u64>>(
&self,
_: &(),
_: R
) -> Result<*mut u8, Error>
[src]
&self,
_: &(),
_: R
) -> Result<*mut u8, Error>
unsafe fn unmap_memory(&self, _: &())
[src]
unsafe fn flush_mapped_memory_ranges<'a, I, R>(
&self,
_: I
) -> Result<(), OutOfMemory> where
I: IntoIterator,
I::Item: Borrow<(&'a (), R)>,
R: RangeArg<u64>,
[src]
&self,
_: I
) -> Result<(), OutOfMemory> where
I: IntoIterator,
I::Item: Borrow<(&'a (), R)>,
R: RangeArg<u64>,
unsafe fn invalidate_mapped_memory_ranges<'a, I, R>(
&self,
_: I
) -> Result<(), OutOfMemory> where
I: IntoIterator,
I::Item: Borrow<(&'a (), R)>,
R: RangeArg<u64>,
[src]
&self,
_: I
) -> Result<(), OutOfMemory> where
I: IntoIterator,
I::Item: Borrow<(&'a (), R)>,
R: RangeArg<u64>,
unsafe fn free_memory(&self, _: ())
[src]
unsafe fn destroy_shader_module(&self, _: ())
[src]
unsafe fn destroy_render_pass(&self, _: ())
[src]
unsafe fn destroy_pipeline_layout(&self, _: ())
[src]
unsafe fn destroy_graphics_pipeline(&self, _: ())
[src]
unsafe fn destroy_compute_pipeline(&self, _: ())
[src]
unsafe fn destroy_framebuffer(&self, _: ())
[src]
unsafe fn destroy_buffer(&self, _: ())
[src]
unsafe fn destroy_buffer_view(&self, _: ())
[src]
unsafe fn destroy_image(&self, _: ())
[src]
unsafe fn destroy_image_view(&self, _: ())
[src]
unsafe fn destroy_sampler(&self, _: ())
[src]
unsafe fn destroy_descriptor_pool(&self, _: DescriptorPool)
[src]
unsafe fn destroy_descriptor_set_layout(&self, _: ())
[src]
unsafe fn destroy_fence(&self, _: ())
[src]
unsafe fn destroy_semaphore(&self, _: ())
[src]
unsafe fn create_swapchain(
&self,
_: &mut Surface,
_: SwapchainConfig,
_: Option<Swapchain>
) -> Result<(Swapchain, Vec<()>), CreationError>
[src]
&self,
_: &mut Surface,
_: SwapchainConfig,
_: Option<Swapchain>
) -> Result<(Swapchain, Vec<()>), CreationError>
unsafe fn destroy_swapchain(&self, _: Swapchain)
[src]
fn wait_idle(&self) -> Result<(), HostExecutionError>
[src]
unsafe fn create_command_pool_typed<C>(
&self,
group: &QueueGroup<B, C>,
flags: CommandPoolCreateFlags
) -> Result<CommandPool<B, C>, OutOfMemory>
[src]
&self,
group: &QueueGroup<B, C>,
flags: CommandPoolCreateFlags
) -> Result<CommandPool<B, C>, OutOfMemory>
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]
&self,
desc: &GraphicsPipelineDesc<'a, B>,
cache: Option<&<B as Backend>::PipelineCache>
) -> Result<<B as Backend>::GraphicsPipeline, CreationError>
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]
&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>>,
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]
&self,
desc: &ComputePipelineDesc<'a, B>,
cache: Option<&<B as Backend>::PipelineCache>
) -> Result<<B as Backend>::ComputePipeline, CreationError>
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]
&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>>,
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]
&self,
memory: &'a <B as Backend>::Memory,
range: Range<u64>
) -> Result<Reader<'a, B, T>, Error> where
T: Copy,
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]
&self,
memory: &'a <B as Backend>::Memory,
range: Range<u64>
) -> Result<Writer<'a, B, T>, Error> where
T: Copy,
Acquire a mapping Writer. Read more
unsafe fn release_mapping_writer<T>(
&self,
writer: Writer<'a, B, T>
) -> Result<(), OutOfMemory>
[src]
&self,
writer: Writer<'a, B, T>
) -> Result<(), OutOfMemory>
Release a mapping Writer.
unsafe fn reset_fence(
&self,
fence: &<B as Backend>::Fence
) -> Result<(), OutOfMemory>
[src]
&self,
fence: &<B as Backend>::Fence
) -> Result<(), OutOfMemory>
unsafe fn reset_fences<I>(&self, fences: I) -> Result<(), OutOfMemory> where
I: IntoIterator,
<I as IntoIterator>::Item: Borrow<<B as Backend>::Fence>,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Borrow<<B as Backend>::Fence>,
unsafe fn wait_for_fence(
&self,
fence: &<B as Backend>::Fence,
timeout_ns: u64
) -> Result<bool, OomOrDeviceLost>
[src]
&self,
fence: &<B as Backend>::Fence,
timeout_ns: u64
) -> Result<bool, OomOrDeviceLost>
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]
&self,
fences: I,
wait: WaitFor,
timeout_ns: u64
) -> Result<bool, OomOrDeviceLost> where
I: IntoIterator,
<I as IntoIterator>::Item: Borrow<<B as Backend>::Fence>,
Blocks until all or one of the given fences are signaled. Returns true if fences were signaled before the timeout. Read more
impl Backend for Backend
[src]
type PhysicalDevice = PhysicalDevice
type Device = Device
type Surface = Surface
type Swapchain = Swapchain
type QueueFamily = QueueFamily
type CommandQueue = RawCommandQueue
type CommandBuffer = RawCommandBuffer
type Memory = ()
type CommandPool = RawCommandPool
type ShaderModule = ()
type RenderPass = ()
type Framebuffer = ()
type Buffer = ()
type BufferView = ()
type Image = ()
type ImageView = ()
type Sampler = ()
type ComputePipeline = ()
type GraphicsPipeline = ()
type PipelineCache = ()
type PipelineLayout = ()
type DescriptorSetLayout = ()
type DescriptorPool = DescriptorPool
type DescriptorSet = ()
type Fence = ()
type Semaphore = ()
type QueryPool = ()
impl Surface<Backend> for Surface
[src]
fn kind(&self) -> Kind
[src]
fn compatibility(
&self,
_: &PhysicalDevice
) -> (SurfaceCapabilities, Option<Vec<Format>>, Vec<PresentMode>)
[src]
&self,
_: &PhysicalDevice
) -> (SurfaceCapabilities, Option<Vec<Format>>, Vec<PresentMode>)
fn supports_queue_family(&self, _: &QueueFamily) -> bool
[src]
impl Swapchain<Backend> for Swapchain
[src]
unsafe fn acquire_image(
&mut self,
_: u64,
_: Option<&()>,
_: Option<&()>
) -> Result<(SwapImageIndex, Option<Suboptimal>), AcquireError>
[src]
&mut self,
_: u64,
_: Option<&()>,
_: Option<&()>
) -> Result<(SwapImageIndex, Option<Suboptimal>), AcquireError>
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]
&'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>,
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]
&'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>,
Present one acquired image without any semaphore synchronization.
impl DescriptorPool<Backend> for DescriptorPool
[src]
unsafe fn free_sets<I>(&mut self, _descriptor_sets: I) where
I: IntoIterator<Item = ()>,
[src]
I: IntoIterator<Item = ()>,
unsafe fn reset(&mut self)
[src]
unsafe fn allocate_set(
&mut self,
layout: &<B as Backend>::DescriptorSetLayout
) -> Result<<B as Backend>::DescriptorSet, AllocationError>
[src]
&mut self,
layout: &<B as Backend>::DescriptorSetLayout
) -> Result<<B as Backend>::DescriptorSet, AllocationError>
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]
&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>,
Allocate one or multiple descriptor sets from the pool. Read more
impl RawCommandQueue<Backend> for RawCommandQueue
[src]
unsafe fn submit<'a, T, Ic, S, Iw, Is>(
&mut self,
_: Submission<Ic, Iw, Is>,
_: Option<&()>
) where
T: 'a + Borrow<RawCommandBuffer>,
Ic: IntoIterator<Item = &'a T>,
S: 'a + Borrow<()>,
Iw: IntoIterator<Item = (&'a S, PipelineStage)>,
Is: IntoIterator<Item = &'a S>,
[src]
&mut self,
_: Submission<Ic, Iw, Is>,
_: Option<&()>
) where
T: 'a + Borrow<RawCommandBuffer>,
Ic: IntoIterator<Item = &'a T>,
S: 'a + Borrow<()>,
Iw: IntoIterator<Item = (&'a S, PipelineStage)>,
Is: IntoIterator<Item = &'a S>,
unsafe fn present<'a, W, Is, S, Iw>(
&mut self,
_: Is,
_: Iw
) -> Result<Option<Suboptimal>, PresentError> where
W: 'a + Borrow<Swapchain>,
Is: IntoIterator<Item = (&'a W, SwapImageIndex)>,
S: 'a + Borrow<()>,
Iw: IntoIterator<Item = &'a S>,
[src]
&mut self,
_: Is,
_: Iw
) -> Result<Option<Suboptimal>, PresentError> where
W: 'a + Borrow<Swapchain>,
Is: IntoIterator<Item = (&'a W, SwapImageIndex)>,
S: 'a + Borrow<()>,
Iw: IntoIterator<Item = &'a S>,
fn wait_idle(&self) -> Result<(), HostExecutionError>
[src]
impl RawCommandBuffer<Backend> for RawCommandBuffer
[src]
unsafe fn begin(
&mut self,
_: CommandBufferFlags,
_: CommandBufferInheritanceInfo<Backend>
)
[src]
&mut self,
_: CommandBufferFlags,
_: CommandBufferInheritanceInfo<Backend>
)
unsafe fn finish(&mut self)
[src]
unsafe fn reset(&mut self, _: bool)
[src]
unsafe fn pipeline_barrier<'a, T>(
&mut self,
_: Range<PipelineStage>,
_: Dependencies,
_: T
) where
T: IntoIterator,
T::Item: Borrow<Barrier<'a, Backend>>,
[src]
&mut self,
_: Range<PipelineStage>,
_: Dependencies,
_: T
) where
T: IntoIterator,
T::Item: Borrow<Barrier<'a, Backend>>,
unsafe fn fill_buffer<R>(&mut self, _: &(), _: R, _: u32) where
R: RangeArg<Offset>,
[src]
R: RangeArg<Offset>,
unsafe fn update_buffer(&mut self, _: &(), _: Offset, _: &[u8])
[src]
unsafe fn clear_image<T>(
&mut self,
_: &(),
_: Layout,
_: ClearColorRaw,
_: ClearDepthStencilRaw,
_: T
) where
T: IntoIterator,
T::Item: Borrow<SubresourceRange>,
[src]
&mut self,
_: &(),
_: Layout,
_: ClearColorRaw,
_: ClearDepthStencilRaw,
_: T
) where
T: IntoIterator,
T::Item: Borrow<SubresourceRange>,
unsafe fn clear_attachments<T, U>(&mut self, _: T, _: U) where
T: IntoIterator,
T::Item: Borrow<AttachmentClear>,
U: IntoIterator,
U::Item: Borrow<ClearRect>,
[src]
T: IntoIterator,
T::Item: Borrow<AttachmentClear>,
U: IntoIterator,
U::Item: Borrow<ClearRect>,
unsafe fn resolve_image<T>(
&mut self,
_: &(),
_: Layout,
_: &(),
_: Layout,
_: T
) where
T: IntoIterator,
T::Item: Borrow<ImageResolve>,
[src]
&mut self,
_: &(),
_: Layout,
_: &(),
_: Layout,
_: T
) where
T: IntoIterator,
T::Item: Borrow<ImageResolve>,
unsafe fn blit_image<T>(
&mut self,
_: &(),
_: Layout,
_: &(),
_: Layout,
_: Filter,
_: T
) where
T: IntoIterator,
T::Item: Borrow<ImageBlit>,
[src]
&mut self,
_: &(),
_: Layout,
_: &(),
_: Layout,
_: Filter,
_: T
) where
T: IntoIterator,
T::Item: Borrow<ImageBlit>,
unsafe fn bind_index_buffer(&mut self, _: IndexBufferView<Backend>)
[src]
unsafe fn bind_vertex_buffers<I, T>(&mut self, _: u32, _: I) where
I: IntoIterator<Item = (T, Offset)>,
T: Borrow<()>,
[src]
I: IntoIterator<Item = (T, Offset)>,
T: Borrow<()>,
unsafe fn set_viewports<T>(&mut self, _: u32, _: T) where
T: IntoIterator,
T::Item: Borrow<Viewport>,
[src]
T: IntoIterator,
T::Item: Borrow<Viewport>,
unsafe fn set_scissors<T>(&mut self, _: u32, _: T) where
T: IntoIterator,
T::Item: Borrow<Rect>,
[src]
T: IntoIterator,
T::Item: Borrow<Rect>,
unsafe fn set_stencil_reference(&mut self, _: Face, _: StencilValue)
[src]
unsafe fn set_stencil_read_mask(&mut self, _: Face, _: StencilValue)
[src]
unsafe fn set_stencil_write_mask(&mut self, _: Face, _: StencilValue)
[src]
unsafe fn set_blend_constants(&mut self, _: ColorValue)
[src]
unsafe fn set_depth_bounds(&mut self, _: Range<f32>)
[src]
unsafe fn set_line_width(&mut self, _: f32)
[src]
unsafe fn set_depth_bias(&mut self, _: DepthBias)
[src]
unsafe fn begin_render_pass<T>(
&mut self,
_: &(),
_: &(),
_: Rect,
_: T,
_: SubpassContents
) where
T: IntoIterator,
T::Item: Borrow<ClearValueRaw>,
[src]
&mut self,
_: &(),
_: &(),
_: Rect,
_: T,
_: SubpassContents
) where
T: IntoIterator,
T::Item: Borrow<ClearValueRaw>,
unsafe fn next_subpass(&mut self, _: SubpassContents)
[src]
unsafe fn end_render_pass(&mut self)
[src]
unsafe fn bind_graphics_pipeline(&mut self, _: &())
[src]
unsafe fn bind_graphics_descriptor_sets<I, J>(
&mut self,
_: &(),
_: usize,
_: I,
_: J
) where
I: IntoIterator,
I::Item: Borrow<()>,
J: IntoIterator,
J::Item: Borrow<DescriptorSetOffset>,
[src]
&mut self,
_: &(),
_: usize,
_: I,
_: J
) where
I: IntoIterator,
I::Item: Borrow<()>,
J: IntoIterator,
J::Item: Borrow<DescriptorSetOffset>,
unsafe fn bind_compute_pipeline(&mut self, _: &())
[src]
unsafe fn bind_compute_descriptor_sets<I, J>(
&mut self,
_: &(),
_: usize,
_: I,
_: J
) where
I: IntoIterator,
I::Item: Borrow<()>,
J: IntoIterator,
J::Item: Borrow<DescriptorSetOffset>,
[src]
&mut self,
_: &(),
_: usize,
_: I,
_: J
) where
I: IntoIterator,
I::Item: Borrow<()>,
J: IntoIterator,
J::Item: Borrow<DescriptorSetOffset>,
unsafe fn dispatch(&mut self, _: WorkGroupCount)
[src]
unsafe fn dispatch_indirect(&mut self, _: &(), _: Offset)
[src]
unsafe fn copy_buffer<T>(&mut self, _: &(), _: &(), _: T) where
T: IntoIterator,
T::Item: Borrow<BufferCopy>,
[src]
T: IntoIterator,
T::Item: Borrow<BufferCopy>,
unsafe fn copy_image<T>(&mut self, _: &(), _: Layout, _: &(), _: Layout, _: T) where
T: IntoIterator,
T::Item: Borrow<ImageCopy>,
[src]
T: IntoIterator,
T::Item: Borrow<ImageCopy>,
unsafe fn copy_buffer_to_image<T>(&mut self, _: &(), _: &(), _: Layout, _: T) where
T: IntoIterator,
T::Item: Borrow<BufferImageCopy>,
[src]
T: IntoIterator,
T::Item: Borrow<BufferImageCopy>,
unsafe fn copy_image_to_buffer<T>(&mut self, _: &(), _: Layout, _: &(), _: T) where
T: IntoIterator,
T::Item: Borrow<BufferImageCopy>,
[src]
T: IntoIterator,
T::Item: Borrow<BufferImageCopy>,
unsafe fn draw(&mut self, _: Range<VertexCount>, _: Range<InstanceCount>)
[src]
unsafe fn draw_indexed(
&mut self,
_: Range<IndexCount>,
_: VertexOffset,
_: Range<InstanceCount>
)
[src]
&mut self,
_: Range<IndexCount>,
_: VertexOffset,
_: Range<InstanceCount>
)
unsafe fn draw_indirect(&mut self, _: &(), _: Offset, _: DrawCount, _: u32)
[src]
unsafe fn draw_indexed_indirect(
&mut self,
_: &(),
_: Offset,
_: DrawCount,
_: u32
)
[src]
&mut self,
_: &(),
_: Offset,
_: DrawCount,
_: u32
)
unsafe fn begin_query(&mut self, _: Query<Backend>, _: ControlFlags)
[src]
unsafe fn end_query(&mut self, _: Query<Backend>)
[src]
unsafe fn reset_query_pool(&mut self, _: &(), _: Range<Id>)
[src]
unsafe fn copy_query_pool_results(
&mut self,
_: &(),
_: Range<Id>,
_: &(),
_: Offset,
_: Offset,
_: ResultFlags
)
[src]
&mut self,
_: &(),
_: Range<Id>,
_: &(),
_: Offset,
_: Offset,
_: ResultFlags
)
unsafe fn write_timestamp(&mut self, _: PipelineStage, _: Query<Backend>)
[src]
unsafe fn push_graphics_constants(
&mut self,
_: &(),
_: ShaderStageFlags,
_: u32,
_: &[u32]
)
[src]
&mut self,
_: &(),
_: ShaderStageFlags,
_: u32,
_: &[u32]
)
unsafe fn push_compute_constants(&mut self, _: &(), _: u32, _: &[u32])
[src]
unsafe fn execute_commands<'a, T, I>(&mut self, _: I) where
T: 'a + Borrow<RawCommandBuffer>,
I: IntoIterator<Item = &'a T>,
[src]
T: 'a + Borrow<RawCommandBuffer>,
I: IntoIterator<Item = &'a T>,
impl RawCommandPool<Backend> for RawCommandPool
[src]
unsafe fn reset(&mut self)
[src]
unsafe fn free<I>(&mut self, _: I) where
I: IntoIterator<Item = RawCommandBuffer>,
[src]
I: IntoIterator<Item = RawCommandBuffer>,
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]
&mut self,
num: usize,
level: Level
) -> Vec<<B as Backend>::CommandBuffer>
Allocate new command buffers from the pool.
Auto Trait Implementations
impl Sync for Backend
impl Unpin for Backend
impl Send for Backend
impl UnwindSafe for Backend
impl RefUnwindSafe for Backend
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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,