[−][src]Enum gfx_backend_empty::Backend
Dummy backend.
Trait Implementations
impl Clone for Backend
[src]
impl Copy for Backend
[src]
impl Eq for Backend
[src]
impl PartialEq<Backend> for Backend
[src]
impl Debug 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,
impl PhysicalDevice<Backend> for PhysicalDevice
[src]
unsafe fn open(
&self,
_: &[(&QueueFamily, &[QueuePriority])],
_: Features
) -> Result<Gpu<Backend>, CreationError>
[src]
&self,
_: &[(&QueueFamily, &[QueuePriority])],
_: Features
) -> Result<Gpu<Backend>, CreationError>
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]
impl Device<Backend> for Device
[src]
unsafe fn create_command_pool(
&self,
_: QueueFamilyId,
_: CommandPoolCreateFlags
) -> Result<CommandPool, OutOfMemory>
[src]
&self,
_: QueueFamilyId,
_: CommandPoolCreateFlags
) -> Result<CommandPool, OutOfMemory>
unsafe fn destroy_command_pool(&self, _: CommandPool)
[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 create_graphics_pipeline<'a>(
&self,
_: &GraphicsPipelineDesc<'a, Backend>,
_: Option<&()>
) -> Result<(), CreationError>
[src]
&self,
_: &GraphicsPipelineDesc<'a, Backend>,
_: Option<&()>
) -> Result<(), CreationError>
unsafe fn create_compute_pipeline<'a>(
&self,
_: &ComputePipelineDesc<'a, Backend>,
_: Option<&()>
) -> Result<(), CreationError>
[src]
&self,
_: &ComputePipelineDesc<'a, Backend>,
_: Option<&()>
) -> Result<(), CreationError>
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, _: &[u32]) -> Result<(), ShaderError>
[src]
unsafe fn create_sampler(&self, _: &SamplerDesc) -> 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]
fn create_event(&self) -> Result<(), OutOfMemory>
[src]
unsafe fn get_event_status(&self, _: &()) -> Result<bool, OomOrDeviceLost>
[src]
unsafe fn set_event(&self, _: &()) -> Result<(), OutOfMemory>
[src]
unsafe fn reset_event(&self, _: &()) -> Result<(), OutOfMemory>
[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, MapError>
[src]
&self,
_: &(),
_: R
) -> Result<*mut u8, MapError>
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 destroy_event(&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<(), OutOfMemory>
[src]
unsafe fn set_image_name(&self, _: &mut (), _: &str)
[src]
unsafe fn set_buffer_name(&self, _: &mut (), _: &str)
[src]
unsafe fn set_command_buffer_name(&self, _: &mut CommandBuffer, _: &str)
[src]
unsafe fn set_semaphore_name(&self, _: &mut (), _: &str)
[src]
unsafe fn set_fence_name(&self, _: &mut (), _: &str)
[src]
unsafe fn set_framebuffer_name(&self, _: &mut (), _: &str)
[src]
unsafe fn set_render_pass_name(&self, _: &mut (), _: &str)
[src]
unsafe fn set_descriptor_set_name(&self, _: &mut (), _: &str)
[src]
unsafe fn set_descriptor_set_layout_name(&self, _: &mut (), _: &str)
[src]
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>>,
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>>,
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>
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>,
impl Backend for Backend
[src]
type Instance = Instance
type PhysicalDevice = PhysicalDevice
type Device = Device
type Surface = Surface
type Swapchain = Swapchain
type QueueFamily = QueueFamily
type CommandQueue = CommandQueue
type CommandBuffer = CommandBuffer
type Memory = ()
type CommandPool = CommandPool
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 Event = ()
type QueryPool = ()
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>
unsafe fn allocate_sets<I>(
&mut self,
layouts: I,
sets: &mut SmallVec<[<B as Backend>::DescriptorSet; 1]>
) -> Result<(), AllocationError> where
I: IntoIterator,
<I as IntoIterator>::Item: Borrow<<B as Backend>::DescriptorSetLayout>,
[src]
&mut self,
layouts: I,
sets: &mut SmallVec<[<B as Backend>::DescriptorSet; 1]>
) -> Result<(), AllocationError> where
I: IntoIterator,
<I as IntoIterator>::Item: Borrow<<B as Backend>::DescriptorSetLayout>,
impl Surface<Backend> for Surface
[src]
fn supports_queue_family(&self, _: &QueueFamily) -> bool
[src]
fn capabilities(&self, _: &PhysicalDevice) -> SurfaceCapabilities
[src]
fn supported_formats(&self, _: &PhysicalDevice) -> Option<Vec<Format>>
[src]
impl PresentationSurface<Backend> for Surface
[src]
type SwapchainImage = ()
An opaque type wrapping the swapchain image.
unsafe fn configure_swapchain(
&mut self,
_: &Device,
_: SwapchainConfig
) -> Result<(), CreationError>
[src]
&mut self,
_: &Device,
_: SwapchainConfig
) -> Result<(), CreationError>
unsafe fn unconfigure_swapchain(&mut self, _: &Device)
[src]
unsafe fn acquire_image(
&mut self,
_: u64
) -> Result<((), Option<Suboptimal>), AcquireError>
[src]
&mut self,
_: u64
) -> Result<((), Option<Suboptimal>), AcquireError>
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, S, Iw>(
&'a self,
present_queue: &mut <B as Backend>::CommandQueue,
image_index: u32,
wait_semaphores: Iw
) -> Result<Option<Suboptimal>, PresentError> where
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 <B as Backend>::CommandQueue,
image_index: u32,
wait_semaphores: Iw
) -> Result<Option<Suboptimal>, PresentError> where
Iw: IntoIterator<Item = &'a S>,
S: 'a + Borrow<<B as Backend>::Semaphore>,
Self: 'a + Borrow<<B as Backend>::Swapchain>,
unsafe fn present_without_semaphores<'a>(
&'a self,
present_queue: &mut <B as Backend>::CommandQueue,
image_index: u32
) -> Result<Option<Suboptimal>, PresentError> where
Self: 'a + Borrow<<B as Backend>::Swapchain>,
[src]
&'a self,
present_queue: &mut <B as Backend>::CommandQueue,
image_index: u32
) -> Result<Option<Suboptimal>, PresentError> where
Self: 'a + Borrow<<B as Backend>::Swapchain>,
impl CommandQueue<Backend> for CommandQueue
[src]
unsafe fn submit<'a, T, Ic, S, Iw, Is>(
&mut self,
_: Submission<Ic, Iw, Is>,
_: Option<&()>
) where
T: 'a + Borrow<CommandBuffer>,
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<CommandBuffer>,
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>,
unsafe fn present_surface(
&mut self,
_surface: &mut Surface,
_image: (),
_wait_semaphore: Option<&()>
) -> Result<Option<Suboptimal>, PresentError>
[src]
&mut self,
_surface: &mut Surface,
_image: (),
_wait_semaphore: Option<&()>
) -> Result<Option<Suboptimal>, PresentError>
fn wait_idle(&self) -> Result<(), OutOfMemory>
[src]
unsafe fn submit_without_semaphores<'a, T, Ic>(
&mut self,
command_buffers: Ic,
fence: Option<&<B as Backend>::Fence>
) where
Ic: IntoIterator<Item = &'a T>,
T: 'a + Borrow<<B as Backend>::CommandBuffer>,
[src]
&mut self,
command_buffers: Ic,
fence: Option<&<B as Backend>::Fence>
) where
Ic: IntoIterator<Item = &'a T>,
T: 'a + Borrow<<B as Backend>::CommandBuffer>,
unsafe fn present_without_semaphores<'a, W, Is>(
&mut self,
swapchains: Is
) -> Result<Option<Suboptimal>, PresentError> where
Is: IntoIterator<Item = (&'a W, u32)>,
W: 'a + Borrow<<B as Backend>::Swapchain>,
[src]
&mut self,
swapchains: Is
) -> Result<Option<Suboptimal>, PresentError> where
Is: IntoIterator<Item = (&'a W, u32)>,
W: 'a + Borrow<<B as Backend>::Swapchain>,
impl CommandBuffer<Backend> for CommandBuffer
[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, _: ClearValue, _: T) where
T: IntoIterator,
T::Item: Borrow<SubresourceRange>,
[src]
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<ClearValue>,
[src]
&mut self,
_: &(),
_: &(),
_: Rect,
_: T,
_: SubpassContents
) where
T: IntoIterator,
T::Item: Borrow<ClearValue>,
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 set_event(&mut self, _: &(), _: PipelineStage)
[src]
unsafe fn reset_event(&mut self, _: &(), _: PipelineStage)
[src]
unsafe fn wait_events<'a, I, J>(&mut self, _: I, _: Range<PipelineStage>, _: J) where
I: IntoIterator,
I::Item: Borrow<()>,
J: IntoIterator,
J::Item: Borrow<Barrier<'a, Backend>>,
[src]
I: IntoIterator,
I::Item: Borrow<()>,
J: IntoIterator,
J::Item: Borrow<Barrier<'a, Backend>>,
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<CommandBuffer>,
I: IntoIterator<Item = &'a T>,
[src]
T: 'a + Borrow<CommandBuffer>,
I: IntoIterator<Item = &'a T>,
unsafe fn begin_primary(&mut self, flags: CommandBufferFlags)
[src]
impl CommandPool<Backend> for CommandPool
[src]
unsafe fn reset(&mut self, _: bool)
[src]
unsafe fn free<I>(&mut self, _: I) where
I: IntoIterator<Item = CommandBuffer>,
[src]
I: IntoIterator<Item = CommandBuffer>,
unsafe fn allocate_one(&mut self, level: Level) -> <B as Backend>::CommandBuffer
[src]
unsafe fn allocate_vec(
&mut self,
num: usize,
level: Level
) -> SmallVec<[<B as Backend>::CommandBuffer; 1]>
[src]
&mut self,
num: usize,
level: Level
) -> SmallVec<[<B as Backend>::CommandBuffer; 1]>
impl Instance<Backend> for Instance
[src]
fn create(_name: &str, _version: u32) -> Result<Self, UnsupportedBackend>
[src]
fn enumerate_adapters(&self) -> Vec<Adapter<Backend>>
[src]
unsafe fn create_surface(
&self,
_: &impl HasRawWindowHandle
) -> Result<Surface, InitError>
[src]
&self,
_: &impl HasRawWindowHandle
) -> Result<Surface, InitError>
unsafe fn destroy_surface(&self, _surface: Surface)
[src]
Auto Trait Implementations
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnwindSafe for Backend
impl RefUnwindSafe for Backend
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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,