222 lines
68 KiB
HTML
222 lines
68 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `DynDevice` trait in crate `wgpu_hal`."><title>DynDevice in wgpu_hal - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="wgpu_hal" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../wgpu_hal/index.html">wgpu_<wbr>hal</a><span class="version">23.0.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">DynDevice</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.add_raw_buffer" title="add_raw_buffer">add_raw_buffer</a></li><li><a href="#tymethod.add_raw_texture" title="add_raw_texture">add_raw_texture</a></li><li><a href="#tymethod.create_acceleration_structure" title="create_acceleration_structure">create_acceleration_structure</a></li><li><a href="#tymethod.create_bind_group" title="create_bind_group">create_bind_group</a></li><li><a href="#tymethod.create_bind_group_layout" title="create_bind_group_layout">create_bind_group_layout</a></li><li><a href="#tymethod.create_buffer" title="create_buffer">create_buffer</a></li><li><a href="#tymethod.create_command_encoder" title="create_command_encoder">create_command_encoder</a></li><li><a href="#tymethod.create_compute_pipeline" title="create_compute_pipeline">create_compute_pipeline</a></li><li><a href="#tymethod.create_fence" title="create_fence">create_fence</a></li><li><a href="#tymethod.create_pipeline_cache" title="create_pipeline_cache">create_pipeline_cache</a></li><li><a href="#tymethod.create_pipeline_layout" title="create_pipeline_layout">create_pipeline_layout</a></li><li><a href="#tymethod.create_query_set" title="create_query_set">create_query_set</a></li><li><a href="#tymethod.create_render_pipeline" title="create_render_pipeline">create_render_pipeline</a></li><li><a href="#tymethod.create_sampler" title="create_sampler">create_sampler</a></li><li><a href="#tymethod.create_shader_module" title="create_shader_module">create_shader_module</a></li><li><a href="#tymethod.create_texture" title="create_texture">create_texture</a></li><li><a href="#tymethod.create_texture_view" title="create_texture_view">create_texture_view</a></li><li><a href="#tymethod.destroy_acceleration_structure" title="destroy_acceleration_structure">destroy_acceleration_structure</a></li><li><a href="#tymethod.destroy_bind_group" title="destroy_bind_group">destroy_bind_group</a></li><li><a href="#tymethod.destroy_bind_group_layout" title="destroy_bind_group_layout">destroy_bind_group_layout</a></li><li><a href="#tymethod.destroy_buffer" title="destroy_buffer">destroy_buffer</a></li><li><a href="#tymethod.destroy_command_encoder" title="destroy_command_encoder">destroy_command_encoder</a></li><li><a href="#tymethod.destroy_compute_pipeline" title="destroy_compute_pipeline">destroy_compute_pipeline</a></li><li><a href="#tymethod.destroy_fence" title="destroy_fence">destroy_fence</a></li><li><a href="#tymethod.destroy_pipeline_cache" title="destroy_pipeline_cache">destroy_pipeline_cache</a></li><li><a href="#tymethod.destroy_pipeline_layout" title="destroy_pipeline_layout">destroy_pipeline_layout</a></li><li><a href="#tymethod.destroy_query_set" title="destroy_query_set">destroy_query_set</a></li><li><a href="#tymethod.destroy_render_pipeline" title="destroy_render_pipeline">destroy_render_pipeline</a></li><li><a href="#tymethod.destroy_sampler" title="destroy_sampler">destroy_sampler</a></li><li><a href="#tymethod.destroy_shader_module" title="destroy_shader_module">destroy_shader_module</a></li><li><a href="#tymethod.destroy_texture" title="destroy_texture">destroy_texture</a></li><li><a href="#tymethod.destroy_texture_view" title="destroy_texture_view">destroy_texture_view</a></li><li><a href="#tymethod.exit" title="exit">exit</a></li><li><a href="#tymethod.flush_mapped_ranges" title="flush_mapped_ranges">flush_mapped_ranges</a></li><li><a href="#tymethod.generate_allocator_report" title="generate_allocator_report">generate_allocator_report</a></li><li><a href="#tymethod.get_acceleration_structure_build_sizes" title="get_acceleration_structure_build_sizes">get_acceleration_structure_build_sizes</a></li><li><a href="#tymethod.get_acceleration_structure_device_address" title="get_acceleration_structure_device_address">get_acceleration_structure_device_address</a></li><li><a href="#tymethod.get_fence_value" title="get_fence_value">get_fence_value</a></li><li><a href="#tymethod.get_internal_counters" title="get_internal_counters">get_internal_counters</a></li><li><a href="#tymethod.invalidate_mapped_ranges" title="invalidate_mapped_ranges">invalidate_mapped_ranges</a></li><li><a href="#tymethod.map_buffer" title="map_buffer">map_buffer</a></li><li><a href="#tymethod.pipeline_cache_get_data" title="pipeline_cache_get_data">pipeline_cache_get_data</a></li><li><a href="#tymethod.start_capture" title="start_capture">start_capture</a></li><li><a href="#tymethod.stop_capture" title="stop_capture">stop_capture</a></li><li><a href="#tymethod.unmap_buffer" title="unmap_buffer">unmap_buffer</a></li><li><a href="#tymethod.wait" title="wait">wait</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.pipeline_cache_validation_key" title="pipeline_cache_validation_key">pipeline_cache_validation_key</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate wgpu_<wbr>hal</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">wgpu_hal</a></span><h1>Trait <span class="trait">DynDevice</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/wgpu_hal/dynamic/device.rs.html#18-166">Source</a> </span></div><pre class="rust item-decl"><code>pub trait DynDevice: <a class="trait" href="trait.DynResource.html" title="trait wgpu_hal::DynResource">DynResource</a> {
|
|
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 47 methods</span></summary> // Required methods
|
|
unsafe fn <a href="#tymethod.exit" class="fn">exit</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self>, queue: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynQueue.html" title="trait wgpu_hal::DynQueue">DynQueue</a>>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_buffer" class="fn">create_buffer</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.BufferDescriptor.html" title="struct wgpu_hal::BufferDescriptor">BufferDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_buffer" class="fn">destroy_buffer</a>(&self, buffer: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.add_raw_buffer" class="fn">add_raw_buffer</a>(&self, buffer: &dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.map_buffer" class="fn">map_buffer</a>(
|
|
&self,
|
|
buffer: &dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>,
|
|
range: <a class="type" href="type.MemoryRange.html" title="type wgpu_hal::MemoryRange">MemoryRange</a>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.BufferMapping.html" title="struct wgpu_hal::BufferMapping">BufferMapping</a>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.unmap_buffer" class="fn">unmap_buffer</a>(&self, buffer: &dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.flush_mapped_ranges" class="fn">flush_mapped_ranges</a>(
|
|
&self,
|
|
buffer: &dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>,
|
|
ranges: &[<a class="type" href="type.MemoryRange.html" title="type wgpu_hal::MemoryRange">MemoryRange</a>],
|
|
);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.invalidate_mapped_ranges" class="fn">invalidate_mapped_ranges</a>(
|
|
&self,
|
|
buffer: &dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>,
|
|
ranges: &[<a class="type" href="type.MemoryRange.html" title="type wgpu_hal::MemoryRange">MemoryRange</a>],
|
|
);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_texture" class="fn">create_texture</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.TextureDescriptor.html" title="struct wgpu_hal::TextureDescriptor">TextureDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynTexture.html" title="trait wgpu_hal::DynTexture">DynTexture</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_texture" class="fn">destroy_texture</a>(&self, texture: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynTexture.html" title="trait wgpu_hal::DynTexture">DynTexture</a>>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.add_raw_texture" class="fn">add_raw_texture</a>(&self, texture: &dyn <a class="trait" href="trait.DynTexture.html" title="trait wgpu_hal::DynTexture">DynTexture</a>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_texture_view" class="fn">create_texture_view</a>(
|
|
&self,
|
|
texture: &dyn <a class="trait" href="trait.DynTexture.html" title="trait wgpu_hal::DynTexture">DynTexture</a>,
|
|
desc: &<a class="struct" href="struct.TextureViewDescriptor.html" title="struct wgpu_hal::TextureViewDescriptor">TextureViewDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynTextureView.html" title="trait wgpu_hal::DynTextureView">DynTextureView</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_texture_view" class="fn">destroy_texture_view</a>(&self, view: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynTextureView.html" title="trait wgpu_hal::DynTextureView">DynTextureView</a>>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_sampler" class="fn">create_sampler</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.SamplerDescriptor.html" title="struct wgpu_hal::SamplerDescriptor">SamplerDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynSampler.html" title="trait wgpu_hal::DynSampler">DynSampler</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_sampler" class="fn">destroy_sampler</a>(&self, sampler: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynSampler.html" title="trait wgpu_hal::DynSampler">DynSampler</a>>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_command_encoder" class="fn">create_command_encoder</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.CommandEncoderDescriptor.html" title="struct wgpu_hal::CommandEncoderDescriptor">CommandEncoderDescriptor</a><'_, dyn <a class="trait" href="trait.DynQueue.html" title="trait wgpu_hal::DynQueue">DynQueue</a>>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynCommandEncoder.html" title="trait wgpu_hal::DynCommandEncoder">DynCommandEncoder</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_command_encoder" class="fn">destroy_command_encoder</a>(&self, pool: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynCommandEncoder.html" title="trait wgpu_hal::DynCommandEncoder">DynCommandEncoder</a>>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_bind_group_layout" class="fn">create_bind_group_layout</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.BindGroupLayoutDescriptor.html" title="struct wgpu_hal::BindGroupLayoutDescriptor">BindGroupLayoutDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynBindGroupLayout.html" title="trait wgpu_hal::DynBindGroupLayout">DynBindGroupLayout</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_bind_group_layout" class="fn">destroy_bind_group_layout</a>(
|
|
&self,
|
|
bg_layout: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynBindGroupLayout.html" title="trait wgpu_hal::DynBindGroupLayout">DynBindGroupLayout</a>>,
|
|
);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_pipeline_layout" class="fn">create_pipeline_layout</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.PipelineLayoutDescriptor.html" title="struct wgpu_hal::PipelineLayoutDescriptor">PipelineLayoutDescriptor</a><'_, dyn <a class="trait" href="trait.DynBindGroupLayout.html" title="trait wgpu_hal::DynBindGroupLayout">DynBindGroupLayout</a>>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynPipelineLayout.html" title="trait wgpu_hal::DynPipelineLayout">DynPipelineLayout</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_pipeline_layout" class="fn">destroy_pipeline_layout</a>(
|
|
&self,
|
|
pipeline_layout: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynPipelineLayout.html" title="trait wgpu_hal::DynPipelineLayout">DynPipelineLayout</a>>,
|
|
);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_bind_group" class="fn">create_bind_group</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.BindGroupDescriptor.html" title="struct wgpu_hal::BindGroupDescriptor">BindGroupDescriptor</a><'_, dyn <a class="trait" href="trait.DynBindGroupLayout.html" title="trait wgpu_hal::DynBindGroupLayout">DynBindGroupLayout</a>, dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>, dyn <a class="trait" href="trait.DynSampler.html" title="trait wgpu_hal::DynSampler">DynSampler</a>, dyn <a class="trait" href="trait.DynTextureView.html" title="trait wgpu_hal::DynTextureView">DynTextureView</a>, dyn <a class="trait" href="trait.DynAccelerationStructure.html" title="trait wgpu_hal::DynAccelerationStructure">DynAccelerationStructure</a>>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynBindGroup.html" title="trait wgpu_hal::DynBindGroup">DynBindGroup</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_bind_group" class="fn">destroy_bind_group</a>(&self, group: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynBindGroup.html" title="trait wgpu_hal::DynBindGroup">DynBindGroup</a>>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_shader_module" class="fn">create_shader_module</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.ShaderModuleDescriptor.html" title="struct wgpu_hal::ShaderModuleDescriptor">ShaderModuleDescriptor</a><'_>,
|
|
shader: <a class="enum" href="enum.ShaderInput.html" title="enum wgpu_hal::ShaderInput">ShaderInput</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynShaderModule.html" title="trait wgpu_hal::DynShaderModule">DynShaderModule</a>>, <a class="enum" href="enum.ShaderError.html" title="enum wgpu_hal::ShaderError">ShaderError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_shader_module" class="fn">destroy_shader_module</a>(&self, module: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynShaderModule.html" title="trait wgpu_hal::DynShaderModule">DynShaderModule</a>>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_render_pipeline" class="fn">create_render_pipeline</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.RenderPipelineDescriptor.html" title="struct wgpu_hal::RenderPipelineDescriptor">RenderPipelineDescriptor</a><'_, dyn <a class="trait" href="trait.DynPipelineLayout.html" title="trait wgpu_hal::DynPipelineLayout">DynPipelineLayout</a>, dyn <a class="trait" href="trait.DynShaderModule.html" title="trait wgpu_hal::DynShaderModule">DynShaderModule</a>, dyn <a class="trait" href="trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynRenderPipeline.html" title="trait wgpu_hal::DynRenderPipeline">DynRenderPipeline</a>>, <a class="enum" href="enum.PipelineError.html" title="enum wgpu_hal::PipelineError">PipelineError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_render_pipeline" class="fn">destroy_render_pipeline</a>(
|
|
&self,
|
|
pipeline: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynRenderPipeline.html" title="trait wgpu_hal::DynRenderPipeline">DynRenderPipeline</a>>,
|
|
);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_compute_pipeline" class="fn">create_compute_pipeline</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.ComputePipelineDescriptor.html" title="struct wgpu_hal::ComputePipelineDescriptor">ComputePipelineDescriptor</a><'_, dyn <a class="trait" href="trait.DynPipelineLayout.html" title="trait wgpu_hal::DynPipelineLayout">DynPipelineLayout</a>, dyn <a class="trait" href="trait.DynShaderModule.html" title="trait wgpu_hal::DynShaderModule">DynShaderModule</a>, dyn <a class="trait" href="trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynComputePipeline.html" title="trait wgpu_hal::DynComputePipeline">DynComputePipeline</a>>, <a class="enum" href="enum.PipelineError.html" title="enum wgpu_hal::PipelineError">PipelineError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_compute_pipeline" class="fn">destroy_compute_pipeline</a>(
|
|
&self,
|
|
pipeline: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynComputePipeline.html" title="trait wgpu_hal::DynComputePipeline">DynComputePipeline</a>>,
|
|
);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_pipeline_cache" class="fn">create_pipeline_cache</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.PipelineCacheDescriptor.html" title="struct wgpu_hal::PipelineCacheDescriptor">PipelineCacheDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>>, <a class="enum" href="enum.PipelineCacheError.html" title="enum wgpu_hal::PipelineCacheError">PipelineCacheError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_pipeline_cache" class="fn">destroy_pipeline_cache</a>(&self, cache: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_query_set" class="fn">create_query_set</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="../wgpu_types/struct.QuerySetDescriptor.html" title="struct wgpu_types::QuerySetDescriptor">QuerySetDescriptor</a><<a class="type" href="type.Label.html" title="type wgpu_hal::Label">Label</a><'_>>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynQuerySet.html" title="trait wgpu_hal::DynQuerySet">DynQuerySet</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_query_set" class="fn">destroy_query_set</a>(&self, set: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynQuerySet.html" title="trait wgpu_hal::DynQuerySet">DynQuerySet</a>>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_fence" class="fn">create_fence</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_fence" class="fn">destroy_fence</a>(&self, fence: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a>>);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.get_fence_value" class="fn">get_fence_value</a>(
|
|
&self,
|
|
fence: &dyn <a class="trait" href="trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="type" href="type.FenceValue.html" title="type wgpu_hal::FenceValue">FenceValue</a>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.wait" class="fn">wait</a>(
|
|
&self,
|
|
fence: &dyn <a class="trait" href="trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a>,
|
|
value: <a class="type" href="type.FenceValue.html" title="type wgpu_hal::FenceValue">FenceValue</a>,
|
|
timeout_ms: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u32.html">u32</a>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.start_capture" class="fn">start_capture</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.stop_capture" class="fn">stop_capture</a>(&self);
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.pipeline_cache_get_data" class="fn">pipeline_cache_get_data</a>(
|
|
&self,
|
|
cache: &dyn <a class="trait" href="trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.create_acceleration_structure" class="fn">create_acceleration_structure</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.AccelerationStructureDescriptor.html" title="struct wgpu_hal::AccelerationStructureDescriptor">AccelerationStructureDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynAccelerationStructure.html" title="trait wgpu_hal::DynAccelerationStructure">DynAccelerationStructure</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.get_acceleration_structure_build_sizes" class="fn">get_acceleration_structure_build_sizes</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.GetAccelerationStructureBuildSizesDescriptor.html" title="struct wgpu_hal::GetAccelerationStructureBuildSizesDescriptor">GetAccelerationStructureBuildSizesDescriptor</a><'_, dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>>,
|
|
) -> <a class="struct" href="struct.AccelerationStructureBuildSizes.html" title="struct wgpu_hal::AccelerationStructureBuildSizes">AccelerationStructureBuildSizes</a>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.get_acceleration_structure_device_address" class="fn">get_acceleration_structure_device_address</a>(
|
|
&self,
|
|
acceleration_structure: &dyn <a class="trait" href="trait.DynAccelerationStructure.html" title="trait wgpu_hal::DynAccelerationStructure">DynAccelerationStructure</a>,
|
|
) -> <a class="type" href="../wgpu_types/type.BufferAddress.html" title="type wgpu_types::BufferAddress">BufferAddress</a>;
|
|
<span class="item-spacer"></span> unsafe fn <a href="#tymethod.destroy_acceleration_structure" class="fn">destroy_acceleration_structure</a>(
|
|
&self,
|
|
acceleration_structure: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynAccelerationStructure.html" title="trait wgpu_hal::DynAccelerationStructure">DynAccelerationStructure</a>>,
|
|
);
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.get_internal_counters" class="fn">get_internal_counters</a>(&self) -> <a class="struct" href="../wgpu_types/counters/struct.HalCounters.html" title="struct wgpu_types::counters::HalCounters">HalCounters</a>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.generate_allocator_report" class="fn">generate_allocator_report</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../wgpu_types/counters/struct.AllocatorReport.html" title="struct wgpu_types::counters::AllocatorReport">AllocatorReport</a>>;
|
|
|
|
// Provided method
|
|
fn <a href="#method.pipeline_cache_validation_key" class="fn">pipeline_cache_validation_key</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">16</a>]> { ... }
|
|
</details>}</code></pre><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.exit" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#19">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.exit" class="fn">exit</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self>, queue: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynQueue.html" title="trait wgpu_hal::DynQueue">DynQueue</a>>)</h4></section><section id="tymethod.create_buffer" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#21-24">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_buffer" class="fn">create_buffer</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.BufferDescriptor.html" title="struct wgpu_hal::BufferDescriptor">BufferDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.destroy_buffer" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#26">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_buffer" class="fn">destroy_buffer</a>(&self, buffer: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>>)</h4></section><section id="tymethod.add_raw_buffer" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#27">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.add_raw_buffer" class="fn">add_raw_buffer</a>(&self, buffer: &dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>)</h4></section><section id="tymethod.map_buffer" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#29-33">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.map_buffer" class="fn">map_buffer</a>(
|
|
&self,
|
|
buffer: &dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>,
|
|
range: <a class="type" href="type.MemoryRange.html" title="type wgpu_hal::MemoryRange">MemoryRange</a>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.BufferMapping.html" title="struct wgpu_hal::BufferMapping">BufferMapping</a>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.unmap_buffer" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#35">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.unmap_buffer" class="fn">unmap_buffer</a>(&self, buffer: &dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>)</h4></section><section id="tymethod.flush_mapped_ranges" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#37">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.flush_mapped_ranges" class="fn">flush_mapped_ranges</a>(
|
|
&self,
|
|
buffer: &dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>,
|
|
ranges: &[<a class="type" href="type.MemoryRange.html" title="type wgpu_hal::MemoryRange">MemoryRange</a>],
|
|
)</h4></section><section id="tymethod.invalidate_mapped_ranges" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#38">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.invalidate_mapped_ranges" class="fn">invalidate_mapped_ranges</a>(
|
|
&self,
|
|
buffer: &dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>,
|
|
ranges: &[<a class="type" href="type.MemoryRange.html" title="type wgpu_hal::MemoryRange">MemoryRange</a>],
|
|
)</h4></section><section id="tymethod.create_texture" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#40-43">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_texture" class="fn">create_texture</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.TextureDescriptor.html" title="struct wgpu_hal::TextureDescriptor">TextureDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynTexture.html" title="trait wgpu_hal::DynTexture">DynTexture</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.destroy_texture" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#44">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_texture" class="fn">destroy_texture</a>(&self, texture: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynTexture.html" title="trait wgpu_hal::DynTexture">DynTexture</a>>)</h4></section><section id="tymethod.add_raw_texture" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#45">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.add_raw_texture" class="fn">add_raw_texture</a>(&self, texture: &dyn <a class="trait" href="trait.DynTexture.html" title="trait wgpu_hal::DynTexture">DynTexture</a>)</h4></section><section id="tymethod.create_texture_view" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#47-51">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_texture_view" class="fn">create_texture_view</a>(
|
|
&self,
|
|
texture: &dyn <a class="trait" href="trait.DynTexture.html" title="trait wgpu_hal::DynTexture">DynTexture</a>,
|
|
desc: &<a class="struct" href="struct.TextureViewDescriptor.html" title="struct wgpu_hal::TextureViewDescriptor">TextureViewDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynTextureView.html" title="trait wgpu_hal::DynTextureView">DynTextureView</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.destroy_texture_view" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#52">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_texture_view" class="fn">destroy_texture_view</a>(&self, view: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynTextureView.html" title="trait wgpu_hal::DynTextureView">DynTextureView</a>>)</h4></section><section id="tymethod.create_sampler" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#53-56">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_sampler" class="fn">create_sampler</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.SamplerDescriptor.html" title="struct wgpu_hal::SamplerDescriptor">SamplerDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynSampler.html" title="trait wgpu_hal::DynSampler">DynSampler</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.destroy_sampler" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#57">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_sampler" class="fn">destroy_sampler</a>(&self, sampler: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynSampler.html" title="trait wgpu_hal::DynSampler">DynSampler</a>>)</h4></section><section id="tymethod.create_command_encoder" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#59-62">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_command_encoder" class="fn">create_command_encoder</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.CommandEncoderDescriptor.html" title="struct wgpu_hal::CommandEncoderDescriptor">CommandEncoderDescriptor</a><'_, dyn <a class="trait" href="trait.DynQueue.html" title="trait wgpu_hal::DynQueue">DynQueue</a>>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynCommandEncoder.html" title="trait wgpu_hal::DynCommandEncoder">DynCommandEncoder</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.destroy_command_encoder" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#63">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_command_encoder" class="fn">destroy_command_encoder</a>(&self, pool: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynCommandEncoder.html" title="trait wgpu_hal::DynCommandEncoder">DynCommandEncoder</a>>)</h4></section><section id="tymethod.create_bind_group_layout" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#65-68">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_bind_group_layout" class="fn">create_bind_group_layout</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.BindGroupLayoutDescriptor.html" title="struct wgpu_hal::BindGroupLayoutDescriptor">BindGroupLayoutDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynBindGroupLayout.html" title="trait wgpu_hal::DynBindGroupLayout">DynBindGroupLayout</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.destroy_bind_group_layout" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#69">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_bind_group_layout" class="fn">destroy_bind_group_layout</a>(
|
|
&self,
|
|
bg_layout: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynBindGroupLayout.html" title="trait wgpu_hal::DynBindGroupLayout">DynBindGroupLayout</a>>,
|
|
)</h4></section><section id="tymethod.create_pipeline_layout" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#71-74">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_pipeline_layout" class="fn">create_pipeline_layout</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.PipelineLayoutDescriptor.html" title="struct wgpu_hal::PipelineLayoutDescriptor">PipelineLayoutDescriptor</a><'_, dyn <a class="trait" href="trait.DynBindGroupLayout.html" title="trait wgpu_hal::DynBindGroupLayout">DynBindGroupLayout</a>>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynPipelineLayout.html" title="trait wgpu_hal::DynPipelineLayout">DynPipelineLayout</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.destroy_pipeline_layout" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#75">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_pipeline_layout" class="fn">destroy_pipeline_layout</a>(
|
|
&self,
|
|
pipeline_layout: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynPipelineLayout.html" title="trait wgpu_hal::DynPipelineLayout">DynPipelineLayout</a>>,
|
|
)</h4></section><section id="tymethod.create_bind_group" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#77-86">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_bind_group" class="fn">create_bind_group</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.BindGroupDescriptor.html" title="struct wgpu_hal::BindGroupDescriptor">BindGroupDescriptor</a><'_, dyn <a class="trait" href="trait.DynBindGroupLayout.html" title="trait wgpu_hal::DynBindGroupLayout">DynBindGroupLayout</a>, dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>, dyn <a class="trait" href="trait.DynSampler.html" title="trait wgpu_hal::DynSampler">DynSampler</a>, dyn <a class="trait" href="trait.DynTextureView.html" title="trait wgpu_hal::DynTextureView">DynTextureView</a>, dyn <a class="trait" href="trait.DynAccelerationStructure.html" title="trait wgpu_hal::DynAccelerationStructure">DynAccelerationStructure</a>>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynBindGroup.html" title="trait wgpu_hal::DynBindGroup">DynBindGroup</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.destroy_bind_group" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#87">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_bind_group" class="fn">destroy_bind_group</a>(&self, group: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynBindGroup.html" title="trait wgpu_hal::DynBindGroup">DynBindGroup</a>>)</h4></section><section id="tymethod.create_shader_module" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#89-93">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_shader_module" class="fn">create_shader_module</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.ShaderModuleDescriptor.html" title="struct wgpu_hal::ShaderModuleDescriptor">ShaderModuleDescriptor</a><'_>,
|
|
shader: <a class="enum" href="enum.ShaderInput.html" title="enum wgpu_hal::ShaderInput">ShaderInput</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynShaderModule.html" title="trait wgpu_hal::DynShaderModule">DynShaderModule</a>>, <a class="enum" href="enum.ShaderError.html" title="enum wgpu_hal::ShaderError">ShaderError</a>></h4></section><section id="tymethod.destroy_shader_module" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#94">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_shader_module" class="fn">destroy_shader_module</a>(&self, module: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynShaderModule.html" title="trait wgpu_hal::DynShaderModule">DynShaderModule</a>>)</h4></section><section id="tymethod.create_render_pipeline" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#96-103">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_render_pipeline" class="fn">create_render_pipeline</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.RenderPipelineDescriptor.html" title="struct wgpu_hal::RenderPipelineDescriptor">RenderPipelineDescriptor</a><'_, dyn <a class="trait" href="trait.DynPipelineLayout.html" title="trait wgpu_hal::DynPipelineLayout">DynPipelineLayout</a>, dyn <a class="trait" href="trait.DynShaderModule.html" title="trait wgpu_hal::DynShaderModule">DynShaderModule</a>, dyn <a class="trait" href="trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynRenderPipeline.html" title="trait wgpu_hal::DynRenderPipeline">DynRenderPipeline</a>>, <a class="enum" href="enum.PipelineError.html" title="enum wgpu_hal::PipelineError">PipelineError</a>></h4></section><section id="tymethod.destroy_render_pipeline" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#104">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_render_pipeline" class="fn">destroy_render_pipeline</a>(&self, pipeline: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynRenderPipeline.html" title="trait wgpu_hal::DynRenderPipeline">DynRenderPipeline</a>>)</h4></section><section id="tymethod.create_compute_pipeline" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#106-113">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_compute_pipeline" class="fn">create_compute_pipeline</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.ComputePipelineDescriptor.html" title="struct wgpu_hal::ComputePipelineDescriptor">ComputePipelineDescriptor</a><'_, dyn <a class="trait" href="trait.DynPipelineLayout.html" title="trait wgpu_hal::DynPipelineLayout">DynPipelineLayout</a>, dyn <a class="trait" href="trait.DynShaderModule.html" title="trait wgpu_hal::DynShaderModule">DynShaderModule</a>, dyn <a class="trait" href="trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynComputePipeline.html" title="trait wgpu_hal::DynComputePipeline">DynComputePipeline</a>>, <a class="enum" href="enum.PipelineError.html" title="enum wgpu_hal::PipelineError">PipelineError</a>></h4></section><section id="tymethod.destroy_compute_pipeline" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#114">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_compute_pipeline" class="fn">destroy_compute_pipeline</a>(&self, pipeline: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynComputePipeline.html" title="trait wgpu_hal::DynComputePipeline">DynComputePipeline</a>>)</h4></section><section id="tymethod.create_pipeline_cache" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#116-119">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_pipeline_cache" class="fn">create_pipeline_cache</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.PipelineCacheDescriptor.html" title="struct wgpu_hal::PipelineCacheDescriptor">PipelineCacheDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>>, <a class="enum" href="enum.PipelineCacheError.html" title="enum wgpu_hal::PipelineCacheError">PipelineCacheError</a>></h4></section><section id="tymethod.destroy_pipeline_cache" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#123">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_pipeline_cache" class="fn">destroy_pipeline_cache</a>(&self, cache: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>>)</h4></section><section id="tymethod.create_query_set" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#125-128">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_query_set" class="fn">create_query_set</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="../wgpu_types/struct.QuerySetDescriptor.html" title="struct wgpu_types::QuerySetDescriptor">QuerySetDescriptor</a><<a class="type" href="type.Label.html" title="type wgpu_hal::Label">Label</a><'_>>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynQuerySet.html" title="trait wgpu_hal::DynQuerySet">DynQuerySet</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.destroy_query_set" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#129">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_query_set" class="fn">destroy_query_set</a>(&self, set: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynQuerySet.html" title="trait wgpu_hal::DynQuerySet">DynQuerySet</a>>)</h4></section><section id="tymethod.create_fence" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#131">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_fence" class="fn">create_fence</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.destroy_fence" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#132">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_fence" class="fn">destroy_fence</a>(&self, fence: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a>>)</h4></section><section id="tymethod.get_fence_value" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#133">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.get_fence_value" class="fn">get_fence_value</a>(
|
|
&self,
|
|
fence: &dyn <a class="trait" href="trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="type" href="type.FenceValue.html" title="type wgpu_hal::FenceValue">FenceValue</a>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.wait" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#135-140">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.wait" class="fn">wait</a>(
|
|
&self,
|
|
fence: &dyn <a class="trait" href="trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a>,
|
|
value: <a class="type" href="type.FenceValue.html" title="type wgpu_hal::FenceValue">FenceValue</a>,
|
|
timeout_ms: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u32.html">u32</a>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.start_capture" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#142">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.start_capture" class="fn">start_capture</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section><section id="tymethod.stop_capture" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#143">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.stop_capture" class="fn">stop_capture</a>(&self)</h4></section><section id="tymethod.pipeline_cache_get_data" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#145">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.pipeline_cache_get_data" class="fn">pipeline_cache_get_data</a>(
|
|
&self,
|
|
cache: &dyn <a class="trait" href="trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>>></h4></section><section id="tymethod.create_acceleration_structure" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#147-150">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.create_acceleration_structure" class="fn">create_acceleration_structure</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.AccelerationStructureDescriptor.html" title="struct wgpu_hal::AccelerationStructureDescriptor">AccelerationStructureDescriptor</a><'_>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynAccelerationStructure.html" title="trait wgpu_hal::DynAccelerationStructure">DynAccelerationStructure</a>>, <a class="enum" href="enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>></h4></section><section id="tymethod.get_acceleration_structure_build_sizes" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#151-154">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.get_acceleration_structure_build_sizes" class="fn">get_acceleration_structure_build_sizes</a>(
|
|
&self,
|
|
desc: &<a class="struct" href="struct.GetAccelerationStructureBuildSizesDescriptor.html" title="struct wgpu_hal::GetAccelerationStructureBuildSizesDescriptor">GetAccelerationStructureBuildSizesDescriptor</a><'_, dyn <a class="trait" href="trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>>,
|
|
) -> <a class="struct" href="struct.AccelerationStructureBuildSizes.html" title="struct wgpu_hal::AccelerationStructureBuildSizes">AccelerationStructureBuildSizes</a></h4></section><section id="tymethod.get_acceleration_structure_device_address" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#155-158">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.get_acceleration_structure_device_address" class="fn">get_acceleration_structure_device_address</a>(
|
|
&self,
|
|
acceleration_structure: &dyn <a class="trait" href="trait.DynAccelerationStructure.html" title="trait wgpu_hal::DynAccelerationStructure">DynAccelerationStructure</a>,
|
|
) -> <a class="type" href="../wgpu_types/type.BufferAddress.html" title="type wgpu_types::BufferAddress">BufferAddress</a></h4></section><section id="tymethod.destroy_acceleration_structure" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#159-162">Source</a><h4 class="code-header">unsafe fn <a href="#tymethod.destroy_acceleration_structure" class="fn">destroy_acceleration_structure</a>(
|
|
&self,
|
|
acceleration_structure: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.DynAccelerationStructure.html" title="trait wgpu_hal::DynAccelerationStructure">DynAccelerationStructure</a>>,
|
|
)</h4></section><section id="tymethod.get_internal_counters" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#164">Source</a><h4 class="code-header">fn <a href="#tymethod.get_internal_counters" class="fn">get_internal_counters</a>(&self) -> <a class="struct" href="../wgpu_types/counters/struct.HalCounters.html" title="struct wgpu_types::counters::HalCounters">HalCounters</a></h4></section><section id="tymethod.generate_allocator_report" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#165">Source</a><h4 class="code-header">fn <a href="#tymethod.generate_allocator_report" class="fn">generate_allocator_report</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../wgpu_types/counters/struct.AllocatorReport.html" title="struct wgpu_types::counters::AllocatorReport">AllocatorReport</a>></h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method.pipeline_cache_validation_key" class="method"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#120-122">Source</a><h4 class="code-header">fn <a href="#method.pipeline_cache_validation_key" class="fn">pipeline_cache_validation_key</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">16</a>]></h4></section></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-DynDevice-for-D" class="impl"><a class="src rightside" href="../src/wgpu_hal/dynamic/device.rs.html#168-536">Source</a><a href="#impl-DynDevice-for-D" class="anchor">§</a><h3 class="code-header">impl<D: <a class="trait" href="trait.Device.html" title="trait wgpu_hal::Device">Device</a> + <a class="trait" href="trait.DynResource.html" title="trait wgpu_hal::DynResource">DynResource</a>> <a class="trait" href="trait.DynDevice.html" title="trait wgpu_hal::DynDevice">DynDevice</a> for D</h3></section></div><script src="../trait.impl/wgpu_hal/dynamic/device/trait.DynDevice.js" async></script></section></div></main></body></html> |