Enum gfx_backend_empty::Backend [−][src]
Dummy backend.
Trait Implementations
impl Backend for Backend
[src]
type Instance = Instance
The corresponding instance type for this backend.
type PhysicalDevice = PhysicalDevice
The corresponding physical device type for this backend.
type Device = Device
The corresponding logical device type for this backend.
type Surface = Surface
The corresponding surface type for this backend.
type QueueFamily = QueueFamily
The corresponding queue family type for this backend.
type CommandQueue = CommandQueue
The corresponding command queue type for this backend.
type CommandBuffer = CommandBuffer
The corresponding command buffer type for this backend.
type Memory = Memory
The corresponding memory type for this backend.
type CommandPool = CommandPool
The corresponding command pool type for this backend.
type ShaderModule = ()
The corresponding shader module type for this backend.
type RenderPass = ()
The corresponding render pass type for this backend.
type Framebuffer = ()
The corresponding framebuffer type for this backend.
type Buffer = Buffer
The corresponding buffer type for this backend.
type BufferView = ()
The corresponding buffer view type for this backend.
type Image = Image
The corresponding image type for this backend.
type ImageView = ()
The corresponding image view type for this backend.
type Sampler = ()
The corresponding sampler type for this backend.
type ComputePipeline = ()
The corresponding compute pipeline type for this backend.
type GraphicsPipeline = ()
The corresponding graphics pipeline type for this backend.
type PipelineCache = ()
The corresponding pipeline cache type for this backend.
type PipelineLayout = ()
The corresponding pipeline layout type for this backend.
type DescriptorSetLayout = DescriptorSetLayout
The corresponding descriptor set layout type for this backend.
type DescriptorPool = DescriptorPool
The corresponding descriptor pool type for this backend.
type DescriptorSet = DescriptorSet
The corresponding descriptor set type for this backend.
type Fence = ()
The corresponding fence type for this backend.
type Semaphore = ()
The corresponding semaphore type for this backend.
type Event = ()
The corresponding event type for this backend.
type QueryPool = ()
The corresponding query pool type for this backend.
impl Clone for Backend
[src]
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: Iterator<Item = Barrier<'a, Backend>>,
[src]
&mut self,
_: Range<PipelineStage>,
_: Dependencies,
_: T
) where
T: Iterator<Item = Barrier<'a, Backend>>,
unsafe fn fill_buffer(&mut self, _: &Buffer, _: SubRange, _: u32)
[src]
unsafe fn update_buffer(&mut self, _: &Buffer, _: Offset, _: &[u8])
[src]
unsafe fn clear_image<T>(&mut self, _: &Image, _: Layout, _: ClearValue, _: T)
[src]
unsafe fn clear_attachments<T, U>(&mut self, _: T, _: U)
[src]
unsafe fn resolve_image<T>(
&mut self,
_: &Image,
_: Layout,
_: &Image,
_: Layout,
_: T
)
[src]
&mut self,
_: &Image,
_: Layout,
_: &Image,
_: Layout,
_: T
)
unsafe fn blit_image<T>(
&mut self,
_: &Image,
_: Layout,
_: &Image,
_: Layout,
_: Filter,
_: T
)
[src]
&mut self,
_: &Image,
_: Layout,
_: &Image,
_: Layout,
_: Filter,
_: T
)
unsafe fn bind_index_buffer(&mut self, _: &Buffer, _: SubRange, _: IndexType)
[src]
unsafe fn bind_vertex_buffers<'a, T>(&mut self, _: u32, _: T) where
T: Iterator<Item = (&'a Buffer, SubRange)>,
[src]
T: Iterator<Item = (&'a Buffer, SubRange)>,
unsafe fn set_viewports<T>(&mut self, _: u32, _: T)
[src]
unsafe fn set_scissors<T>(&mut self, _: u32, _: T)
[src]
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<'a, T>(
&mut self,
_: &(),
_: &(),
_: Rect,
_: T,
_: SubpassContents
) where
T: Iterator<Item = RenderAttachmentInfo<'a, Backend>>,
[src]
&mut self,
_: &(),
_: &(),
_: Rect,
_: T,
_: SubpassContents
) where
T: Iterator<Item = RenderAttachmentInfo<'a, Backend>>,
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<'a, I, J>(
&mut self,
_: &(),
_: usize,
_: I,
_: J
) where
I: Iterator<Item = &'a DescriptorSet>,
[src]
&mut self,
_: &(),
_: usize,
_: I,
_: J
) where
I: Iterator<Item = &'a DescriptorSet>,
unsafe fn bind_compute_pipeline(&mut self, _: &())
[src]
unsafe fn bind_compute_descriptor_sets<'a, I, J>(
&mut self,
_: &(),
_: usize,
_: I,
_: J
) where
I: Iterator<Item = &'a DescriptorSet>,
[src]
&mut self,
_: &(),
_: usize,
_: I,
_: J
) where
I: Iterator<Item = &'a DescriptorSet>,
unsafe fn dispatch(&mut self, _: WorkGroupCount)
[src]
unsafe fn dispatch_indirect(&mut self, _: &Buffer, _: Offset)
[src]
unsafe fn copy_buffer<T>(&mut self, _: &Buffer, _: &Buffer, _: T)
[src]
unsafe fn copy_image<T>(
&mut self,
_: &Image,
_: Layout,
_: &Image,
_: Layout,
_: T
)
[src]
&mut self,
_: &Image,
_: Layout,
_: &Image,
_: Layout,
_: T
)
unsafe fn copy_buffer_to_image<T>(
&mut self,
_: &Buffer,
_: &Image,
_: Layout,
_: T
)
[src]
&mut self,
_: &Buffer,
_: &Image,
_: Layout,
_: T
)
unsafe fn copy_image_to_buffer<T>(
&mut self,
_: &Image,
_: Layout,
_: &Buffer,
_: T
)
[src]
&mut self,
_: &Image,
_: Layout,
_: &Buffer,
_: T
)
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,
_: &Buffer,
_: Offset,
_: DrawCount,
_: Stride
)
[src]
&mut self,
_: &Buffer,
_: Offset,
_: DrawCount,
_: Stride
)
unsafe fn draw_indexed_indirect(
&mut self,
_: &Buffer,
_: Offset,
_: DrawCount,
_: Stride
)
[src]
&mut self,
_: &Buffer,
_: Offset,
_: DrawCount,
_: Stride
)
unsafe fn draw_indirect_count(
&mut self,
_: &Buffer,
_: Offset,
_: &Buffer,
_: Offset,
_: u32,
_: Stride
)
[src]
&mut self,
_: &Buffer,
_: Offset,
_: &Buffer,
_: Offset,
_: u32,
_: Stride
)
unsafe fn draw_indexed_indirect_count(
&mut self,
_: &Buffer,
_: Offset,
_: &Buffer,
_: Offset,
_: u32,
_: Stride
)
[src]
&mut self,
_: &Buffer,
_: Offset,
_: &Buffer,
_: Offset,
_: u32,
_: Stride
)
unsafe fn draw_mesh_tasks(&mut self, _: TaskCount, _: TaskCount)
[src]
unsafe fn draw_mesh_tasks_indirect(
&mut self,
_: &Buffer,
_: Offset,
_: DrawCount,
_: Stride
)
[src]
&mut self,
_: &Buffer,
_: Offset,
_: DrawCount,
_: Stride
)
unsafe fn draw_mesh_tasks_indirect_count(
&mut self,
_: &Buffer,
_: Offset,
_: &Buffer,
_: Offset,
_: u32,
_: Stride
)
[src]
&mut self,
_: &Buffer,
_: Offset,
_: &Buffer,
_: Offset,
_: u32,
_: Stride
)
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
J: Iterator<Item = Barrier<'a, Backend>>,
[src]
J: Iterator<Item = 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>,
_: &Buffer,
_: Offset,
_: Stride,
_: ResultFlags
)
[src]
&mut self,
_: &(),
_: Range<Id>,
_: &Buffer,
_: Offset,
_: Stride,
_: 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>(&mut self, _: T) where
T: Iterator<Item = &'a CommandBuffer>,
[src]
T: Iterator<Item = &'a CommandBuffer>,
unsafe fn insert_debug_marker(&mut self, _: &str, _: u32)
[src]
unsafe fn begin_debug_marker(&mut self, _: &str, _: u32)
[src]
unsafe fn end_debug_marker(&mut self)
[src]
pub unsafe fn begin_primary(&mut self, flags: CommandBufferFlags)
[src]
impl CommandPool<Backend> for CommandPool
[src]
unsafe fn allocate_one(&mut self, level: Level) -> CommandBuffer
[src]
unsafe fn reset(&mut self, _: bool)
[src]
unsafe fn free<I>(&mut self, _: I)
[src]
pub unsafe fn allocate<E>(&mut self, num: usize, level: Level, list: &mut E) where
E: Extend<<B as Backend>::CommandBuffer>,
[src]
E: Extend<<B as Backend>::CommandBuffer>,
impl CommandQueue<Backend> for CommandQueue
[src]
unsafe fn submit<'a, Ic, Iw, Is>(
&mut self,
_: Ic,
_: Iw,
_: Is,
_: Option<&mut ()>
) where
Ic: Iterator<Item = &'a CommandBuffer>,
[src]
&mut self,
_: Ic,
_: Iw,
_: Is,
_: Option<&mut ()>
) where
Ic: Iterator<Item = &'a CommandBuffer>,
unsafe fn present(
&mut self,
_surface: &mut Surface,
_image: SwapchainImage,
_wait_semaphore: Option<&mut ()>
) -> Result<Option<Suboptimal>, PresentError>
[src]
&mut self,
_surface: &mut Surface,
_image: SwapchainImage,
_wait_semaphore: Option<&mut ()>
) -> Result<Option<Suboptimal>, PresentError>
fn wait_idle(&mut self) -> Result<(), OutOfMemory>
[src]
impl Copy for Backend
[src]
impl Debug for Backend
[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,
memory_type: MemoryTypeId,
size: u64
) -> Result<Memory, AllocationError>
[src]
&self,
memory_type: MemoryTypeId,
size: u64
) -> Result<Memory, AllocationError>
unsafe fn create_render_pass<'a, Ia, Is, Id>(
&self,
_: Ia,
_: Is,
_: Id
) -> Result<(), OutOfMemory> where
Is: Iterator<Item = SubpassDesc<'a>>,
[src]
&self,
_: Ia,
_: Is,
_: Id
) -> Result<(), OutOfMemory> where
Is: Iterator<Item = SubpassDesc<'a>>,
unsafe fn create_pipeline_layout<'a, Is, Ic>(
&self,
_: Is,
_: Ic
) -> Result<(), OutOfMemory> where
Is: Iterator<Item = &'a DescriptorSetLayout>,
[src]
&self,
_: Is,
_: Ic
) -> Result<(), OutOfMemory> where
Is: Iterator<Item = &'a DescriptorSetLayout>,
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<'a, I>(
&self,
_: &mut (),
_: I
) -> Result<(), OutOfMemory> where
I: Iterator<Item = &'a ()>,
[src]
&self,
_: &mut (),
_: I
) -> Result<(), OutOfMemory> where
I: Iterator<Item = &'a ()>,
unsafe fn create_framebuffer<I>(
&self,
_: &(),
_: I,
_: Extent
) -> Result<(), OutOfMemory>
[src]
&self,
_: &(),
_: I,
_: Extent
) -> Result<(), OutOfMemory>
unsafe fn create_shader_module(&self, _: &[u32]) -> Result<(), ShaderError>
[src]
unsafe fn create_sampler(&self, _: &SamplerDesc) -> Result<(), AllocationError>
[src]
unsafe fn create_buffer(
&self,
size: u64,
_: Usage
) -> Result<Buffer, CreationError>
[src]
&self,
size: u64,
_: Usage
) -> Result<Buffer, CreationError>
unsafe fn get_buffer_requirements(&self, buffer: &Buffer) -> Requirements
[src]
unsafe fn bind_buffer_memory(
&self,
_memory: &Memory,
_: u64,
_: &mut Buffer
) -> Result<(), BindError>
[src]
&self,
_memory: &Memory,
_: u64,
_: &mut Buffer
) -> Result<(), BindError>
unsafe fn create_buffer_view(
&self,
_: &Buffer,
_: Option<Format>,
_: SubRange
) -> Result<(), ViewCreationError>
[src]
&self,
_: &Buffer,
_: Option<Format>,
_: SubRange
) -> Result<(), ViewCreationError>
unsafe fn create_image(
&self,
kind: Kind,
_: Level,
_: Format,
_: Tiling,
_: Usage,
_: ViewCapabilities
) -> Result<Image, CreationError>
[src]
&self,
kind: Kind,
_: Level,
_: Format,
_: Tiling,
_: Usage,
_: ViewCapabilities
) -> Result<Image, CreationError>
unsafe fn get_image_requirements(&self, image: &Image) -> Requirements
[src]
unsafe fn get_image_subresource_footprint(
&self,
_: &Image,
_: Subresource
) -> SubresourceFootprint
[src]
&self,
_: &Image,
_: Subresource
) -> SubresourceFootprint
unsafe fn bind_image_memory(
&self,
_memory: &Memory,
_: u64,
_: &mut Image
) -> Result<(), BindError>
[src]
&self,
_memory: &Memory,
_: u64,
_: &mut Image
) -> Result<(), BindError>
unsafe fn create_image_view(
&self,
_: &Image,
_: ViewKind,
_: Format,
_: Swizzle,
_: SubresourceRange
) -> Result<(), ViewCreationError>
[src]
&self,
_: &Image,
_: ViewKind,
_: Format,
_: Swizzle,
_: SubresourceRange
) -> Result<(), ViewCreationError>
unsafe fn create_descriptor_pool<I>(
&self,
_: usize,
_: I,
_: DescriptorPoolCreateFlags
) -> Result<DescriptorPool, OutOfMemory>
[src]
&self,
_: usize,
_: I,
_: DescriptorPoolCreateFlags
) -> Result<DescriptorPool, OutOfMemory>
unsafe fn create_descriptor_set_layout<'a, I, J>(
&self,
_bindings: I,
_samplers: J
) -> Result<DescriptorSetLayout, OutOfMemory> where
J: Iterator<Item = &'a ()>,
[src]
&self,
_bindings: I,
_samplers: J
) -> Result<DescriptorSetLayout, OutOfMemory> where
J: Iterator<Item = &'a ()>,
unsafe fn write_descriptor_set<'a, I>(
&self,
_: DescriptorSetWrite<'a, Backend, I>
) where
I: Iterator<Item = Descriptor<'a, Backend>>,
[src]
&self,
_: DescriptorSetWrite<'a, Backend, I>
) where
I: Iterator<Item = Descriptor<'a, Backend>>,
unsafe fn copy_descriptor_set<'a>(&self, _: DescriptorSetCopy<'a, Backend>)
[src]
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, WaitError>
[src]
unsafe fn set_event(&self, _: &mut ()) -> Result<(), OutOfMemory>
[src]
unsafe fn reset_event(&self, _: &mut ()) -> 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],
_: Stride,
_: ResultFlags
) -> Result<bool, WaitError>
[src]
&self,
_: &(),
_: Range<Id>,
_: &mut [u8],
_: Stride,
_: ResultFlags
) -> Result<bool, WaitError>
unsafe fn map_memory(
&self,
memory: &mut Memory,
segment: Segment
) -> Result<*mut u8, MapError>
[src]
&self,
memory: &mut Memory,
segment: Segment
) -> Result<*mut u8, MapError>
unsafe fn unmap_memory(&self, _memory: &mut Memory)
[src]
unsafe fn flush_mapped_memory_ranges<'a, I>(
&self,
_: I
) -> Result<(), OutOfMemory> where
I: Iterator<Item = (&'a Memory, Segment)>,
[src]
&self,
_: I
) -> Result<(), OutOfMemory> where
I: Iterator<Item = (&'a Memory, Segment)>,
unsafe fn invalidate_mapped_memory_ranges<'a, I>(
&self,
_: I
) -> Result<(), OutOfMemory> where
I: Iterator<Item = (&'a Memory, Segment)>,
[src]
&self,
_: I
) -> Result<(), OutOfMemory> where
I: Iterator<Item = (&'a Memory, Segment)>,
unsafe fn free_memory(&self, _memory: Memory)
[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, _: Buffer)
[src]
unsafe fn destroy_buffer_view(&self, _: ())
[src]
unsafe fn destroy_image(&self, _: Image)
[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, _: DescriptorSetLayout)
[src]
unsafe fn destroy_fence(&self, _: ())
[src]
unsafe fn destroy_semaphore(&self, _: ())
[src]
unsafe fn destroy_event(&self, _: ())
[src]
fn wait_idle(&self) -> Result<(), OutOfMemory>
[src]
unsafe fn set_image_name(&self, _: &mut Image, _: &str)
[src]
unsafe fn set_buffer_name(&self, _: &mut Buffer, _: &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, set: &mut DescriptorSet, name: &str)
[src]
unsafe fn set_descriptor_set_layout_name(
&self,
layout: &mut DescriptorSetLayout,
name: &str
)
[src]
&self,
layout: &mut DescriptorSetLayout,
name: &str
)
unsafe fn set_pipeline_layout_name(
&self,
_pipeline_layout: &mut (),
_name: &str
)
[src]
&self,
_pipeline_layout: &mut (),
_name: &str
)
unsafe fn reset_fence(&self, _: &mut ()) -> Result<(), OutOfMemory>
[src]
unsafe fn wait_for_fence(&self, _: &(), _: u64) -> Result<bool, WaitError>
[src]
pub unsafe fn create_shader_module_from_naga(
&self,
module: Module
) -> Result<<B as Backend>::ShaderModule, (ShaderError, Module)>
[src]
&self,
module: Module
) -> Result<<B as Backend>::ShaderModule, (ShaderError, Module)>
pub unsafe fn wait_for_fences<'a, I>(
&self,
fences: I,
wait: WaitFor,
timeout_ns: u64
) -> Result<bool, WaitError> where
I: Iterator<Item = &'a <B as Backend>::Fence>,
[src]
&self,
fences: I,
wait: WaitFor,
timeout_ns: u64
) -> Result<bool, WaitError> where
I: Iterator<Item = &'a <B as Backend>::Fence>,
impl Eq for Backend
[src]
impl Hash for Backend
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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,
raw_window_handle: &impl HasRawWindowHandle
) -> Result<Surface, InitError>
[src]
&self,
raw_window_handle: &impl HasRawWindowHandle
) -> Result<Surface, InitError>
unsafe fn destroy_surface(&self, _surface: Surface)
[src]
impl PartialEq<Backend> for Backend
[src]
fn eq(&self, other: &Backend) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PhysicalDevice<Backend> for PhysicalDevice
[src]
unsafe fn open(
&self,
families: &[(&QueueFamily, &[QueuePriority])],
_requested_features: Features
) -> Result<Gpu<Backend>, CreationError>
[src]
&self,
families: &[(&QueueFamily, &[QueuePriority])],
_requested_features: 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 capabilities(&self) -> Capabilities
[src]
fn limits(&self) -> Limits
[src]
pub fn is_valid_cache(&self, _cache: &[u8]) -> bool
[src]
impl PresentationSurface<Backend> for Surface
[src]
type SwapchainImage = SwapchainImage
An opaque type wrapping the swapchain image.
unsafe fn configure_swapchain(
&mut self,
_: &Device,
_: SwapchainConfig
) -> Result<(), SwapchainError>
[src]
&mut self,
_: &Device,
_: SwapchainConfig
) -> Result<(), SwapchainError>
unsafe fn unconfigure_swapchain(&mut self, _: &Device)
[src]
unsafe fn acquire_image(
&mut self,
_: u64
) -> Result<(SwapchainImage, Option<Suboptimal>), AcquireError>
[src]
&mut self,
_: u64
) -> Result<(SwapchainImage, Option<Suboptimal>), AcquireError>
impl StructuralEq for Backend
[src]
impl StructuralPartialEq for Backend
[src]
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]
Auto Trait Implementations
impl RefUnwindSafe for Backend
[src]
impl Send for Backend
[src]
impl Sync for Backend
[src]
impl Unpin for Backend
[src]
impl UnwindSafe for Backend
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,