|
|
<!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 `UnsafeCommandBufferBuilder` struct in crate `vulkano`."><meta name="keywords" content="rust, rustlang, rust-lang, UnsafeCommandBufferBuilder"><title>vulkano::command_buffer::sys::UnsafeCommandBufferBuilder - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../../vulkano/index.html'><div class='logo-container'><img src='https://raw.githubusercontent.com/vulkano-rs/vulkano/master/logo.png' alt='logo'></div></a><p class='location'>Struct UnsafeCommandBufferBuilder</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.already_allocated">already_allocated</a><a href="#method.begin_query">begin_query</a><a href="#method.begin_render_pass">begin_render_pass</a><a href="#method.bind_descriptor_sets">bind_descriptor_sets</a><a href="#method.bind_index_buffer">bind_index_buffer</a><a href="#method.bind_pipeline_compute">bind_pipeline_compute</a><a href="#method.bind_pipeline_graphics">bind_pipeline_graphics</a><a href="#method.bind_vertex_buffers">bind_vertex_buffers</a><a href="#method.blit_image">blit_image</a><a href="#method.build">build</a><a href="#method.clear_color_image">clear_color_image</a><a href="#method.copy_buffer">copy_buffer</a><a href="#method.copy_buffer_to_image">copy_buffer_to_image</a><a href="#method.copy_image">copy_image</a><a href="#method.copy_image_to_buffer">copy_image_to_buffer</a><a href="#method.copy_query_pool_results">copy_query_pool_results</a><a href="#method.debug_marker_begin">debug_marker_begin</a><a href="#method.debug_marker_end">debug_marker_end</a><a href="#method.debug_marker_insert">debug_marker_insert</a><a href="#method.dispatch">dispatch</a><a href="#method.dispatch_indirect">dispatch_indirect</a><a href="#method.draw">draw</a><a href="#method.draw_indexed">draw_indexed</a><a href="#method.draw_indexed_indirect">draw_indexed_indirect</a><a href="#method.draw_indirect">draw_indirect</a><a href="#method.end_query">end_query</a><a href="#method.end_render_pass">end_render_pass</a><a href="#method.execute_commands">execute_commands</a><a href="#method.fill_buffer">fill_buffer</a><a href="#method.new">new</a><a href="#method.next_subpass">next_subpass</a><a href="#method.pipeline_barrier">pipeline_barrier</a><a href="#method.push_constants">push_constants</a><a href="#method.queue_family">queue_family</a><a href="#method.reset_event">reset_event</a><a href="#method.reset_query_pool">reset_query_pool</a><a href="#method.set_blend_constants">set_blend_constants</a><a href="#method.set_depth_bias">set_depth_bias</a><a href="#method.set_depth_bounds">set_depth_bounds</a><a href="#method.set_event">set_event</a><a href="#method.set_line_width">set_line_width</a><a href="#method.set_scissor">set_scissor</a><a href="#method.set_stencil_compare_mask">set_stencil_compare_mask</a><a href="#method.set_stencil_reference">set_stencil_reference</a><a href="#method.set_stencil_write_mask">set_stencil_write_mask</a><a href="#method.set_viewport">set_viewport</a><a href="#method.update_buffer">update_buffer</a><a href="#method.write_timestamp">write_timestamp</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Debug">Debug</a><a href="#impl-DeviceOwned">DeviceOwned</a><a href="#impl-VulkanObject">VulkanObject</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-Content">Content</a><a href="#impl-DeviceOwned">DeviceOwned</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><p class='location'><a href='../../index.html'>vulkano</a>::<wbr><a href='../index.html'>command_buffer</a>::<wbr><a href='index.html'>sys</a></p><script>window.sidebarCurrent = {name: 'UnsafeCommandBufferBuilder', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#171-181' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../index.html'>vulkano</a>::<wbr><a href='../index.html'>command_buffer</a>::<wbr><a href='index.html'>sys</a>::<wbr><a class="struct" href=''>UnsafeCommandBufferBuilder</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct UnsafeCommandBufferBuilder<P> { /* fields omitted */ }</pre></div><div class='docblock'><p>Command buffer being built.</p>
|
|
|
<p>You can add commands to an <code>UnsafeCommandBufferBuilder</code> by using the <code>AddCommand</code> trait.
|
|
|
The <code>AddCommand<&Cmd></code> trait is implemented on the <code>UnsafeCommandBufferBuilder</code> for any <code>Cmd</code>
|
|
|
that is a raw Vulkan command.</p>
|
|
|
<p>When you are finished adding commands, you can use the <code>CommandBufferBuild</code> trait to turn this
|
|
|
builder into an <code>UnsafeCommandBuffer</code>.</p>
|
|
|
</div><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl<P> <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilder.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilder">UnsafeCommandBufferBuilder</a><P></code><a href='#impl' class='anchor'></a><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#190-1533' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.new' class="method"><code id='new.v'>pub unsafe fn <a href='#method.new' class='fnname'>new</a><Pool, R, F, A>(<br> pool: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Pool, <br> kind: <a class="enum" href="../../../vulkano/command_buffer/sys/enum.Kind.html" title="enum vulkano::command_buffer::sys::Kind">Kind</a><R, F>, <br> flags: <a class="enum" href="../../../vulkano/command_buffer/sys/enum.Flags.html" title="enum vulkano::command_buffer::sys::Flags">Flags</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilder.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilder">UnsafeCommandBufferBuilder</a><P>, <a class="enum" href="../../../vulkano/enum.OomError.html" title="enum vulkano::OomError">OomError</a>> <span class="where fmt-newline">where<br> Pool: <a class="trait" href="../../../vulkano/command_buffer/pool/trait.CommandPool.html" title="trait vulkano::command_buffer::pool::CommandPool">CommandPool</a><Builder = P, Alloc = A>,<br> P: <a class="trait" href="../../../vulkano/command_buffer/pool/trait.CommandPoolBuilderAlloc.html" title="trait vulkano::command_buffer::pool::CommandPoolBuilderAlloc">CommandPoolBuilderAlloc</a><Alloc = A>,<br> A: <a class="trait" href="../../../vulkano/command_buffer/pool/trait.CommandPoolAlloc.html" title="trait vulkano::command_buffer::pool::CommandPoolAlloc">CommandPoolAlloc</a>,<br> R: <a class="trait" href="../../../vulkano/framebuffer/trait.RenderPassAbstract.html" title="trait vulkano::framebuffer::RenderPassAbstract">RenderPassAbstract</a>,<br> F: <a class="trait" href="../../../vulkano/framebuffer/trait.FramebufferAbstract.html" title="trait vulkano::framebuffer::FramebufferAbstract">FramebufferAbstract</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#204-221' title='goto source code'>[src]</a></h4><div class='docblock'><p>Creates a new builder.</p>
|
|
|
<h1 id="safety" class="section-header"><a href="#safety">Safety</a></h1>
|
|
|
<p>Creating and destroying an unsafe command buffer is not unsafe per se, but the commands
|
|
|
that you add to it are unchecked, do not have any synchronization, and are not kept alive.</p>
|
|
|
<p>In other words, it is your job to make sure that the commands you add are valid, that they
|
|
|
don't use resources that have been destroyed, and that they do not introduce any race
|
|
|
condition.</p>
|
|
|
<blockquote>
|
|
|
<p><strong>Note</strong>: Some checks are still made with <code>debug_assert!</code>. Do not expect to be able to
|
|
|
submit invalid commands.</p>
|
|
|
</blockquote>
|
|
|
</div><h4 id='method.already_allocated' class="method"><code id='already_allocated.v'>pub unsafe fn <a href='#method.already_allocated' class='fnname'>already_allocated</a><R, F>(<br> alloc: P, <br> kind: <a class="enum" href="../../../vulkano/command_buffer/sys/enum.Kind.html" title="enum vulkano::command_buffer::sys::Kind">Kind</a><R, F>, <br> flags: <a class="enum" href="../../../vulkano/command_buffer/sys/enum.Flags.html" title="enum vulkano::command_buffer::sys::Flags">Flags</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilder.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilder">UnsafeCommandBufferBuilder</a><P>, <a class="enum" href="../../../vulkano/enum.OomError.html" title="enum vulkano::OomError">OomError</a>> <span class="where fmt-newline">where<br> R: <a class="trait" href="../../../vulkano/framebuffer/trait.RenderPassAbstract.html" title="trait vulkano::framebuffer::RenderPassAbstract">RenderPassAbstract</a>,<br> F: <a class="trait" href="../../../vulkano/framebuffer/trait.FramebufferAbstract.html" title="trait vulkano::framebuffer::FramebufferAbstract">FramebufferAbstract</a>,<br> P: <a class="trait" href="../../../vulkano/command_buffer/pool/trait.CommandPoolBuilderAlloc.html" title="trait vulkano::command_buffer::pool::CommandPoolBuilderAlloc">CommandPoolBuilderAlloc</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#231-328' title='goto source code'>[src]</a></h4><div class='docblock'><p>Creates a new command buffer builder from an already-allocated command buffer.</p>
|
|
|
<h1 id="safety-1" class="section-header"><a href="#safety-1">Safety</a></h1>
|
|
|
<p>See the <code>new</code> method.</p>
|
|
|
<p>The kind must match how the command buffer was allocated.</p>
|
|
|
</div><h4 id='method.queue_family' class="method"><code id='queue_family.v'>pub fn <a href='#method.queue_family' class='fnname'>queue_family</a>(&self) -> <a class="struct" href="../../../vulkano/instance/struct.QueueFamily.html" title="struct vulkano::instance::QueueFamily">QueueFamily</a> <span class="where fmt-newline">where<br> P: <a class="trait" href="../../../vulkano/command_buffer/pool/trait.CommandPoolBuilderAlloc.html" title="trait vulkano::command_buffer::pool::CommandPoolBuilderAlloc">CommandPoolBuilderAlloc</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#332-336' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns the queue family of the builder.</p>
|
|
|
</div><h4 id='method.build' class="method"><code id='build.v'>pub fn <a href='#method.build' class='fnname'>build</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBuffer.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBuffer">UnsafeCommandBuffer</a><P::<a class="type" href="../../../vulkano/command_buffer/pool/trait.CommandPoolBuilderAlloc.html#associatedtype.Alloc" title="type vulkano::command_buffer::pool::CommandPoolBuilderAlloc::Alloc">Alloc</a>>, <a class="enum" href="../../../vulkano/enum.OomError.html" title="enum vulkano::OomError">OomError</a>> <span class="where fmt-newline">where<br> P: <a class="trait" href="../../../vulkano/command_buffer/pool/trait.CommandPoolBuilderAlloc.html" title="trait vulkano::command_buffer::pool::CommandPoolBuilderAlloc">CommandPoolBuilderAlloc</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#340-355' title='goto source code'>[src]</a></h4><div class='docblock'><p>Turns the builder into an actual command buffer.</p>
|
|
|
</div><h4 id='method.begin_query' class="method"><code id='begin_query.v'>pub unsafe fn <a href='#method.begin_query' class='fnname'>begin_query</a>(&mut self, query: <a class="struct" href="../../../vulkano/query/struct.UnsafeQuery.html" title="struct vulkano::query::UnsafeQuery">UnsafeQuery</a>, precise: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#359-368' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdBeginQuery</code> on the builder.</p>
|
|
|
</div><h4 id='method.begin_render_pass' class="method"><code id='begin_render_pass.v'>pub unsafe fn <a href='#method.begin_render_pass' class='fnname'>begin_render_pass</a><F: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, I>(<br> &mut self, <br> framebuffer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>F, <br> subpass_contents: <a class="enum" href="../../../vulkano/framebuffer/enum.SubpassContents.html" title="enum vulkano::framebuffer::SubpassContents">SubpassContents</a>, <br> clear_values: I<br>) <span class="where fmt-newline">where<br> F: <a class="trait" href="../../../vulkano/framebuffer/trait.FramebufferAbstract.html" title="trait vulkano::framebuffer::FramebufferAbstract">FramebufferAbstract</a>,<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="../../../vulkano/format/enum.ClearValue.html" title="enum vulkano::format::ClearValue">ClearValue</a>>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#372-451' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdBeginRenderPass</code> on the builder.</p>
|
|
|
</div><h4 id='method.bind_descriptor_sets' class="method"><code id='bind_descriptor_sets.v'>pub unsafe fn <a href='#method.bind_descriptor_sets' class='fnname'>bind_descriptor_sets</a><'s, Pl: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, S, I>(<br> &mut self, <br> graphics: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <br> pipeline_layout: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Pl, <br> first_binding: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> sets: S, <br> dynamic_offsets: I<br>) <span class="where fmt-newline">where<br> Pl: <a class="trait" href="../../../vulkano/descriptor/pipeline_layout/trait.PipelineLayoutAbstract.html" title="trait vulkano::descriptor::pipeline_layout::PipelineLayoutAbstract">PipelineLayoutAbstract</a>,<br> S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = &'s <a class="struct" href="../../../vulkano/descriptor/descriptor_set/struct.UnsafeDescriptorSet.html" title="struct vulkano::descriptor::descriptor_set::UnsafeDescriptorSet">UnsafeDescriptorSet</a>>,<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#458-491' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdBindDescriptorSets</code> on the builder.</p>
|
|
|
<p>Does nothing if the list of descriptor sets is empty, as it would be a no-op and isn't a
|
|
|
valid usage of the command anyway.</p>
|
|
|
</div><h4 id='method.bind_index_buffer' class="method"><code id='bind_index_buffer.v'>pub unsafe fn <a href='#method.bind_index_buffer' class='fnname'>bind_index_buffer</a><B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>>(<br> &mut self, <br> buffer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>B, <br> index_ty: <a class="enum" href="../../../vulkano/pipeline/input_assembly/enum.IndexType.html" title="enum vulkano::pipeline::input_assembly::IndexType">IndexType</a><br>) <span class="where fmt-newline">where<br> B: <a class="trait" href="../../../vulkano/buffer/trait.BufferAccess.html" title="trait vulkano::buffer::BufferAccess">BufferAccess</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#495-509' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdBindIndexBuffer</code> on the builder.</p>
|
|
|
</div><h4 id='method.bind_pipeline_compute' class="method"><code id='bind_pipeline_compute.v'>pub unsafe fn <a href='#method.bind_pipeline_compute' class='fnname'>bind_pipeline_compute</a><Cp: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>>(&mut self, pipeline: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Cp) <span class="where fmt-newline">where<br> Cp: <a class="trait" href="../../../vulkano/pipeline/trait.ComputePipelineAbstract.html" title="trait vulkano::pipeline::ComputePipelineAbstract">ComputePipelineAbstract</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#513-521' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdBindPipeline</code> on the builder with a compute pipeline.</p>
|
|
|
</div><h4 id='method.bind_pipeline_graphics' class="method"><code id='bind_pipeline_graphics.v'>pub unsafe fn <a href='#method.bind_pipeline_graphics' class='fnname'>bind_pipeline_graphics</a><Gp: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>>(&mut self, pipeline: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Gp) <span class="where fmt-newline">where<br> Gp: <a class="trait" href="../../../vulkano/pipeline/trait.GraphicsPipelineAbstract.html" title="trait vulkano::pipeline::GraphicsPipelineAbstract">GraphicsPipelineAbstract</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#525-532' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdBindPipeline</code> on the builder with a graphics pipeline.</p>
|
|
|
</div><h4 id='method.bind_vertex_buffers' class="method"><code id='bind_vertex_buffers.v'>pub unsafe fn <a href='#method.bind_vertex_buffers' class='fnname'>bind_vertex_buffers</a>(<br> &mut self, <br> first_binding: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> params: <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilderBindVertexBuffer.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilderBindVertexBuffer">UnsafeCommandBufferBuilderBindVertexBuffer</a><br>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#539-565' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdBindVertexBuffers</code> on the builder.</p>
|
|
|
<p>Does nothing if the list of buffers is empty, as it would be a no-op and isn't a valid
|
|
|
usage of the command anyway.</p>
|
|
|
</div><h4 id='method.copy_image' class="method"><code id='copy_image.v'>pub unsafe fn <a href='#method.copy_image' class='fnname'>copy_image</a><S: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, D: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, R>(<br> &mut self, <br> source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>S, <br> source_layout: <a class="enum" href="../../../vulkano/image/enum.ImageLayout.html" title="enum vulkano::image::ImageLayout">ImageLayout</a>, <br> destination: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>D, <br> destination_layout: <a class="enum" href="../../../vulkano/image/enum.ImageLayout.html" title="enum vulkano::image::ImageLayout">ImageLayout</a>, <br> regions: R<br>) <span class="where fmt-newline">where<br> S: <a class="trait" href="../../../vulkano/image/traits/trait.ImageAccess.html" title="trait vulkano::image::traits::ImageAccess">ImageAccess</a>,<br> D: <a class="trait" href="../../../vulkano/image/traits/trait.ImageAccess.html" title="trait vulkano::image::traits::ImageAccess">ImageAccess</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilderImageCopy.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilderImageCopy">UnsafeCommandBufferBuilderImageCopy</a>>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#572-659' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdCopyImage</code> on the builder.</p>
|
|
|
<p>Does nothing if the list of regions is empty, as it would be a no-op and isn't a valid
|
|
|
usage of the command anyway.</p>
|
|
|
</div><h4 id='method.blit_image' class="method"><code id='blit_image.v'>pub unsafe fn <a href='#method.blit_image' class='fnname'>blit_image</a><S: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, D: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, R>(<br> &mut self, <br> source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>S, <br> source_layout: <a class="enum" href="../../../vulkano/image/enum.ImageLayout.html" title="enum vulkano::image::ImageLayout">ImageLayout</a>, <br> destination: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>D, <br> destination_layout: <a class="enum" href="../../../vulkano/image/enum.ImageLayout.html" title="enum vulkano::image::ImageLayout">ImageLayout</a>, <br> regions: R, <br> filter: <a class="enum" href="../../../vulkano/sampler/enum.Filter.html" title="enum vulkano::sampler::Filter">Filter</a><br>) <span class="where fmt-newline">where<br> S: <a class="trait" href="../../../vulkano/image/traits/trait.ImageAccess.html" title="trait vulkano::image::traits::ImageAccess">ImageAccess</a>,<br> D: <a class="trait" href="../../../vulkano/image/traits/trait.ImageAccess.html" title="trait vulkano::image::traits::ImageAccess">ImageAccess</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilderImageBlit.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilderImageBlit">UnsafeCommandBufferBuilderImageBlit</a>>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#666-765' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdBlitImage</code> on the builder.</p>
|
|
|
<p>Does nothing if the list of regions is empty, as it would be a no-op and isn't a valid
|
|
|
usage of the command anyway.</p>
|
|
|
</div><h4 id='method.clear_color_image' class="method"><code id='clear_color_image.v'>pub unsafe fn <a href='#method.clear_color_image' class='fnname'>clear_color_image</a><I: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, R>(<br> &mut self, <br> image: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>I, <br> layout: <a class="enum" href="../../../vulkano/image/enum.ImageLayout.html" title="enum vulkano::image::ImageLayout">ImageLayout</a>, <br> color: <a class="enum" href="../../../vulkano/format/enum.ClearValue.html" title="enum vulkano::format::ClearValue">ClearValue</a>, <br> regions: R<br>) <span class="where fmt-newline">where<br> I: <a class="trait" href="../../../vulkano/image/traits/trait.ImageAccess.html" title="trait vulkano::image::traits::ImageAccess">ImageAccess</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilderColorImageClear.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilderColorImageClear">UnsafeCommandBufferBuilderColorImageClear</a>>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#795-856' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdClearColorImage</code> on the builder.</p>
|
|
|
<p>Does nothing if the list of regions is empty, as it would be a no-op and isn't a valid
|
|
|
usage of the command anyway.</p>
|
|
|
</div><h4 id='method.copy_buffer' class="method"><code id='copy_buffer.v'>pub unsafe fn <a href='#method.copy_buffer' class='fnname'>copy_buffer</a><S: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, D: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, R>(<br> &mut self, <br> source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>S, <br> destination: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>D, <br> regions: R<br>) <span class="where fmt-newline">where<br> S: <a class="trait" href="../../../vulkano/buffer/trait.BufferAccess.html" title="trait vulkano::buffer::BufferAccess">BufferAccess</a>,<br> D: <a class="trait" href="../../../vulkano/buffer/trait.BufferAccess.html" title="trait vulkano::buffer::BufferAccess">BufferAccess</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#863-899' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdCopyBuffer</code> on the builder.</p>
|
|
|
<p>Does nothing if the list of regions is empty, as it would be a no-op and isn't a valid
|
|
|
usage of the command anyway.</p>
|
|
|
</div><h4 id='method.copy_buffer_to_image' class="method"><code id='copy_buffer_to_image.v'>pub unsafe fn <a href='#method.copy_buffer_to_image' class='fnname'>copy_buffer_to_image</a><S: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, D: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, R>(<br> &mut self, <br> source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>S, <br> destination: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>D, <br> destination_layout: <a class="enum" href="../../../vulkano/image/enum.ImageLayout.html" title="enum vulkano::image::ImageLayout">ImageLayout</a>, <br> regions: R<br>) <span class="where fmt-newline">where<br> S: <a class="trait" href="../../../vulkano/buffer/trait.BufferAccess.html" title="trait vulkano::buffer::BufferAccess">BufferAccess</a>,<br> D: <a class="trait" href="../../../vulkano/image/traits/trait.ImageAccess.html" title="trait vulkano::image::traits::ImageAccess">ImageAccess</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilderBufferImageCopy.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilderBufferImageCopy">UnsafeCommandBufferBuilderBufferImageCopy</a>>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#906-964' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdCopyBufferToImage</code> on the builder.</p>
|
|
|
<p>Does nothing if the list of regions is empty, as it would be a no-op and isn't a valid
|
|
|
usage of the command anyway.</p>
|
|
|
</div><h4 id='method.copy_image_to_buffer' class="method"><code id='copy_image_to_buffer.v'>pub unsafe fn <a href='#method.copy_image_to_buffer' class='fnname'>copy_image_to_buffer</a><S: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, D: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, R>(<br> &mut self, <br> source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>S, <br> source_layout: <a class="enum" href="../../../vulkano/image/enum.ImageLayout.html" title="enum vulkano::image::ImageLayout">ImageLayout</a>, <br> destination: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>D, <br> regions: R<br>) <span class="where fmt-newline">where<br> S: <a class="trait" href="../../../vulkano/image/traits/trait.ImageAccess.html" title="trait vulkano::image::traits::ImageAccess">ImageAccess</a>,<br> D: <a class="trait" href="../../../vulkano/buffer/trait.BufferAccess.html" title="trait vulkano::buffer::BufferAccess">BufferAccess</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilderBufferImageCopy.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilderBufferImageCopy">UnsafeCommandBufferBuilderBufferImageCopy</a>>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#971-1028' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdCopyImageToBuffer</code> on the builder.</p>
|
|
|
<p>Does nothing if the list of regions is empty, as it would be a no-op and isn't a valid
|
|
|
usage of the command anyway.</p>
|
|
|
</div><h4 id='method.copy_query_pool_results' class="method"><code id='copy_query_pool_results.v'>pub unsafe fn <a href='#method.copy_query_pool_results' class='fnname'>copy_query_pool_results</a>(<br> &mut self, <br> queries: <a class="struct" href="../../../vulkano/query/struct.UnsafeQueriesRange.html" title="struct vulkano::query::UnsafeQueriesRange">UnsafeQueriesRange</a>, <br> destination: &dyn <a class="trait" href="../../../vulkano/buffer/trait.BufferAccess.html" title="trait vulkano::buffer::BufferAccess">BufferAccess</a>, <br> stride: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a><br>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1032-1050' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdCopyQueryPoolResults</code> on the builder.</p>
|
|
|
</div><h4 id='method.dispatch' class="method"><code id='dispatch.v'>pub unsafe fn <a href='#method.dispatch' class='fnname'>dispatch</a>(&mut self, dimensions: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1054-1067' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdDispatch</code> on the builder.</p>
|
|
|
</div><h4 id='method.dispatch_indirect' class="method"><code id='dispatch_indirect.v'>pub unsafe fn <a href='#method.dispatch_indirect' class='fnname'>dispatch_indirect</a><B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>>(&mut self, buffer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>B) <span class="where fmt-newline">where<br> B: <a class="trait" href="../../../vulkano/buffer/trait.BufferAccess.html" title="trait vulkano::buffer::BufferAccess">BufferAccess</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1071-1085' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdDispatchIndirect</code> on the builder.</p>
|
|
|
</div><h4 id='method.draw' class="method"><code id='draw.v'>pub unsafe fn <a href='#method.draw' class='fnname'>draw</a>(<br> &mut self, <br> vertex_count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> instance_count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> first_vertex: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> first_instance: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1089-1098' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdDraw</code> on the builder.</p>
|
|
|
</div><h4 id='method.draw_indexed' class="method"><code id='draw_indexed.v'>pub unsafe fn <a href='#method.draw_indexed' class='fnname'>draw_indexed</a>(<br> &mut self, <br> index_count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> instance_count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> first_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> vertex_offset: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> first_instance: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1102-1112' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdDrawIndexed</code> on the builder.</p>
|
|
|
</div><h4 id='method.draw_indirect' class="method"><code id='draw_indirect.v'>pub unsafe fn <a href='#method.draw_indirect' class='fnname'>draw_indirect</a><B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>>(<br> &mut self, <br> buffer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>B, <br> draw_count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> stride: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>) <span class="where fmt-newline">where<br> B: <a class="trait" href="../../../vulkano/buffer/trait.BufferAccess.html" title="trait vulkano::buffer::BufferAccess">BufferAccess</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1116-1135' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdDrawIndirect</code> on the builder.</p>
|
|
|
</div><h4 id='method.draw_indexed_indirect' class="method"><code id='draw_indexed_indirect.v'>pub unsafe fn <a href='#method.draw_indexed_indirect' class='fnname'>draw_indexed_indirect</a><B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>>(<br> &mut self, <br> buffer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>B, <br> draw_count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> stride: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>) <span class="where fmt-newline">where<br> B: <a class="trait" href="../../../vulkano/buffer/trait.BufferAccess.html" title="trait vulkano::buffer::BufferAccess">BufferAccess</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1139-1154' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdDrawIndexedIndirect</code> on the builder.</p>
|
|
|
</div><h4 id='method.end_query' class="method"><code id='end_query.v'>pub unsafe fn <a href='#method.end_query' class='fnname'>end_query</a>(&mut self, query: <a class="struct" href="../../../vulkano/query/struct.UnsafeQuery.html" title="struct vulkano::query::UnsafeQuery">UnsafeQuery</a>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1158-1162' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdEndQuery</code> on the builder.</p>
|
|
|
</div><h4 id='method.end_render_pass' class="method"><code id='end_render_pass.v'>pub unsafe fn <a href='#method.end_render_pass' class='fnname'>end_render_pass</a>(&mut self)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1166-1170' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdEndRenderPass</code> on the builder.</p>
|
|
|
</div><h4 id='method.execute_commands' class="method"><code id='execute_commands.v'>pub unsafe fn <a href='#method.execute_commands' class='fnname'>execute_commands</a>(<br> &mut self, <br> cbs: <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilderExecuteCommands.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilderExecuteCommands">UnsafeCommandBufferBuilderExecuteCommands</a><br>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1177-1185' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdExecuteCommands</code> on the builder.</p>
|
|
|
<p>Does nothing if the list of command buffers is empty, as it would be a no-op and isn't a
|
|
|
valid usage of the command anyway.</p>
|
|
|
</div><h4 id='method.fill_buffer' class="method"><code id='fill_buffer.v'>pub unsafe fn <a href='#method.fill_buffer' class='fnname'>fill_buffer</a><B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>>(&mut self, buffer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>B, data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) <span class="where fmt-newline">where<br> B: <a class="trait" href="../../../vulkano/buffer/trait.BufferAccess.html" title="trait vulkano::buffer::BufferAccess">BufferAccess</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1189-1212' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdFillBuffer</code> on the builder.</p>
|
|
|
</div><h4 id='method.next_subpass' class="method"><code id='next_subpass.v'>pub unsafe fn <a href='#method.next_subpass' class='fnname'>next_subpass</a>(&mut self, subpass_contents: <a class="enum" href="../../../vulkano/framebuffer/enum.SubpassContents.html" title="enum vulkano::framebuffer::SubpassContents">SubpassContents</a>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1216-1220' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdNextSubpass</code> on the builder.</p>
|
|
|
</div><h4 id='method.pipeline_barrier' class="method"><code id='pipeline_barrier.v'>pub unsafe fn <a href='#method.pipeline_barrier' class='fnname'>pipeline_barrier</a>(<br> &mut self, <br> command: &<a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilderPipelineBarrier.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilderPipelineBarrier">UnsafeCommandBufferBuilderPipelineBarrier</a><br>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1223-1249' title='goto source code'>[src]</a></h4><h4 id='method.push_constants' class="method"><code id='push_constants.v'>pub unsafe fn <a href='#method.push_constants' class='fnname'>push_constants</a><Pl: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, D>(<br> &mut self, <br> pipeline_layout: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Pl, <br> stages: <a class="struct" href="../../../vulkano/descriptor/descriptor/struct.ShaderStages.html" title="struct vulkano::descriptor::descriptor::ShaderStages">ShaderStages</a>, <br> offset: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>D<br>) <span class="where fmt-newline">where<br> Pl: <a class="trait" href="../../../vulkano/descriptor/pipeline_layout/trait.PipelineLayoutAbstract.html" title="trait vulkano::descriptor::pipeline_layout::PipelineLayoutAbstract">PipelineLayoutAbstract</a>,<br> D: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1253-1273' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdPushConstants</code> on the builder.</p>
|
|
|
</div><h4 id='method.reset_event' class="method"><code id='reset_event.v'>pub unsafe fn <a href='#method.reset_event' class='fnname'>reset_event</a>(&mut self, event: &<a class="struct" href="../../../vulkano/sync/struct.Event.html" title="struct vulkano::sync::Event">Event</a>, stages: <a class="struct" href="../../../vulkano/sync/struct.PipelineStages.html" title="struct vulkano::sync::PipelineStages">PipelineStages</a>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1277-1285' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdResetEvent</code> on the builder.</p>
|
|
|
</div><h4 id='method.reset_query_pool' class="method"><code id='reset_query_pool.v'>pub unsafe fn <a href='#method.reset_query_pool' class='fnname'>reset_query_pool</a>(&mut self, queries: <a class="struct" href="../../../vulkano/query/struct.UnsafeQueriesRange.html" title="struct vulkano::query::UnsafeQueriesRange">UnsafeQueriesRange</a>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1289-1296' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdResetQueryPool</code> on the builder.</p>
|
|
|
</div><h4 id='method.set_blend_constants' class="method"><code id='set_blend_constants.v'>pub unsafe fn <a href='#method.set_blend_constants' class='fnname'>set_blend_constants</a>(&mut self, constants: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1300-1304' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdSetBlendConstants</code> on the builder.</p>
|
|
|
</div><h4 id='method.set_depth_bias' class="method"><code id='set_depth_bias.v'>pub unsafe fn <a href='#method.set_depth_bias' class='fnname'>set_depth_bias</a>(<br> &mut self, <br> constant_factor: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <br> clamp: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <br> slope_factor: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><br>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1308-1313' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdSetDepthBias</code> on the builder.</p>
|
|
|
</div><h4 id='method.set_depth_bounds' class="method"><code id='set_depth_bounds.v'>pub unsafe fn <a href='#method.set_depth_bounds' class='fnname'>set_depth_bounds</a>(&mut self, min: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, max: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1317-1323' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdSetDepthBounds</code> on the builder.</p>
|
|
|
</div><h4 id='method.set_event' class="method"><code id='set_event.v'>pub unsafe fn <a href='#method.set_event' class='fnname'>set_event</a>(&mut self, event: &<a class="struct" href="../../../vulkano/sync/struct.Event.html" title="struct vulkano::sync::Event">Event</a>, stages: <a class="struct" href="../../../vulkano/sync/struct.PipelineStages.html" title="struct vulkano::sync::PipelineStages">PipelineStages</a>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1327-1335' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdSetEvent</code> on the builder.</p>
|
|
|
</div><h4 id='method.set_line_width' class="method"><code id='set_line_width.v'>pub unsafe fn <a href='#method.set_line_width' class='fnname'>set_line_width</a>(&mut self, line_width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1339-1344' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdSetLineWidth</code> on the builder.</p>
|
|
|
</div><h4 id='method.set_stencil_compare_mask' class="method"><code id='set_stencil_compare_mask.v'>pub unsafe fn <a href='#method.set_stencil_compare_mask' class='fnname'>set_stencil_compare_mask</a>(<br> &mut self, <br> face_mask: <a class="enum" href="../../../vulkano/pipeline/depth_stencil/enum.StencilFaceFlags.html" title="enum vulkano::pipeline::depth_stencil::StencilFaceFlags">StencilFaceFlags</a>, <br> compare_mask: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1349-1353' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdSetStencilCompareMask</code> on the builder.</p>
|
|
|
</div><h4 id='method.set_stencil_reference' class="method"><code id='set_stencil_reference.v'>pub unsafe fn <a href='#method.set_stencil_reference' class='fnname'>set_stencil_reference</a>(<br> &mut self, <br> face_mask: <a class="enum" href="../../../vulkano/pipeline/depth_stencil/enum.StencilFaceFlags.html" title="enum vulkano::pipeline::depth_stencil::StencilFaceFlags">StencilFaceFlags</a>, <br> reference: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1358-1362' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdSetStencilReference</code> on the builder.</p>
|
|
|
</div><h4 id='method.set_stencil_write_mask' class="method"><code id='set_stencil_write_mask.v'>pub unsafe fn <a href='#method.set_stencil_write_mask' class='fnname'>set_stencil_write_mask</a>(<br> &mut self, <br> face_mask: <a class="enum" href="../../../vulkano/pipeline/depth_stencil/enum.StencilFaceFlags.html" title="enum vulkano::pipeline::depth_stencil::StencilFaceFlags">StencilFaceFlags</a>, <br> write_mask: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1366-1370' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdSetStencilWriteMask</code> on the builder.</p>
|
|
|
</div><h4 id='method.set_scissor' class="method"><code id='set_scissor.v'>pub unsafe fn <a href='#method.set_scissor' class='fnname'>set_scissor</a><I>(&mut self, first_scissor: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, scissors: I) <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../../../vulkano/pipeline/viewport/struct.Scissor.html" title="struct vulkano::pipeline::viewport::Scissor">Scissor</a>>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1376-1402' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdSetScissor</code> on the builder.</p>
|
|
|
<p>If the list is empty then the command is automatically ignored.</p>
|
|
|
</div><h4 id='method.set_viewport' class="method"><code id='set_viewport.v'>pub unsafe fn <a href='#method.set_viewport' class='fnname'>set_viewport</a><I>(&mut self, first_viewport: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, viewports: I) <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../../../vulkano/pipeline/viewport/struct.Viewport.html" title="struct vulkano::pipeline::viewport::Viewport">Viewport</a>>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1408-1431' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdSetViewport</code> on the builder.</p>
|
|
|
<p>If the list is empty then the command is automatically ignored.</p>
|
|
|
</div><h4 id='method.update_buffer' class="method"><code id='update_buffer.v'>pub unsafe fn <a href='#method.update_buffer' class='fnname'>update_buffer</a><B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, D>(&mut self, buffer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>B, data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>D) <span class="where fmt-newline">where<br> B: <a class="trait" href="../../../vulkano/buffer/trait.BufferAccess.html" title="trait vulkano::buffer::BufferAccess">BufferAccess</a>,<br> D: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1435-1462' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdUpdateBuffer</code> on the builder.</p>
|
|
|
</div><h4 id='method.write_timestamp' class="method"><code id='write_timestamp.v'>pub unsafe fn <a href='#method.write_timestamp' class='fnname'>write_timestamp</a>(<br> &mut self, <br> query: <a class="struct" href="../../../vulkano/query/struct.UnsafeQuery.html" title="struct vulkano::query::UnsafeQuery">UnsafeQuery</a>, <br> stages: <a class="struct" href="../../../vulkano/sync/struct.PipelineStages.html" title="struct vulkano::sync::PipelineStages">PipelineStages</a><br>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1466-1473' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdWriteTimestamp</code> on the builder.</p>
|
|
|
</div><h4 id='method.debug_marker_begin' class="method"><code id='debug_marker_begin.v'>pub unsafe fn <a href='#method.debug_marker_begin' class='fnname'>debug_marker_begin</a>(&mut self, name: &<a class="struct" href="https://doc.rust-lang.org/nightly/std/ffi/c_str/struct.CStr.html" title="struct std::ffi::c_str::CStr">CStr</a>, color: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1484-1494' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdDebugMarkerBeginEXT</code> on the builder.</p>
|
|
|
<h1 id="panics" class="section-header"><a href="#panics">Panics</a></h1>
|
|
|
<p>Requires the <code>VK_EXT_debug_marker</code> device extension to be loaded.</p>
|
|
|
<h1 id="safety-2" class="section-header"><a href="#safety-2">Safety</a></h1>
|
|
|
<p>The command pool that this command buffer was allocated from must support graphics or
|
|
|
compute operations</p>
|
|
|
</div><h4 id='method.debug_marker_end' class="method"><code id='debug_marker_end.v'>pub unsafe fn <a href='#method.debug_marker_end' class='fnname'>debug_marker_end</a>(&mut self)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1507-1511' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdDebugMarkerEndEXT</code> on the builder.</p>
|
|
|
<h1 id="panics-1" class="section-header"><a href="#panics-1">Panics</a></h1>
|
|
|
<p>Requires the <code>VK_EXT_debug_marker</code> device extension to be loaded.</p>
|
|
|
<h1 id="safety-3" class="section-header"><a href="#safety-3">Safety</a></h1>
|
|
|
<p>There must be an outstanding <code>vkCmdDebugMarkerBeginEXT</code> command prior to the
|
|
|
<code>vkCmdDebugMarkerEndEXT</code> on the queue that this command buffer is submitted to. If the
|
|
|
matching <code>vkCmdDebugMarkerBeginEXT</code> command was in a secondary command buffer, the
|
|
|
<code>vkCmdDebugMarkerEndEXT</code> must be in the same command buffer.</p>
|
|
|
</div><h4 id='method.debug_marker_insert' class="method"><code id='debug_marker_insert.v'>pub unsafe fn <a href='#method.debug_marker_insert' class='fnname'>debug_marker_insert</a>(&mut self, name: &<a class="struct" href="https://doc.rust-lang.org/nightly/std/ffi/c_str/struct.CStr.html" title="struct std::ffi::c_str::CStr">CStr</a>, color: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>)</code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1522-1532' title='goto source code'>[src]</a></h4><div class='docblock'><p>Calls <code>vkCmdDebugMarkerInsertEXT</code> on the builder.</p>
|
|
|
<h1 id="panics-2" class="section-header"><a href="#panics-2">Panics</a></h1>
|
|
|
<p>Requires the <code>VK_EXT_debug_marker</code> device extension to be loaded.</p>
|
|
|
<h1 id="safety-4" class="section-header"><a href="#safety-4">Safety</a></h1>
|
|
|
<p>The command pool that this command buffer was allocated from must support graphics or
|
|
|
compute operations</p>
|
|
|
</div></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-DeviceOwned' class='impl'><code class='in-band'>impl<P> <a class="trait" href="../../../vulkano/device/trait.DeviceOwned.html" title="trait vulkano::device::DeviceOwned">DeviceOwned</a> for <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilder.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilder">UnsafeCommandBufferBuilder</a><P></code><a href='#impl-DeviceOwned' class='anchor'></a><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1535-1540' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.device' class="method hidden"><code id='device.v'>fn <a href='../../../vulkano/device/trait.DeviceOwned.html#tymethod.device' class='fnname'>device</a>(&self) -> &<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><<a class="struct" href="../../../vulkano/device/struct.Device.html" title="struct vulkano::device::Device">Device</a>></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1537-1539' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the device that owns <code>Self</code>.</p>
|
|
|
</div></div><h3 id='impl-VulkanObject' class='impl'><code class='in-band'>impl<P> <a class="trait" href="../../../vulkano/trait.VulkanObject.html" title="trait vulkano::VulkanObject">VulkanObject</a> for <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilder.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilder">UnsafeCommandBufferBuilder</a><P></code><a href='#impl-VulkanObject' class='anchor'></a><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1542-1552' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Object' class="type"><code id='Object.t'>type <a href='../../../vulkano/trait.VulkanObject.html#associatedtype.Object' class="type">Object</a> = <a class="type" href="../../../vk_sys/type.CommandBuffer.html" title="type vk_sys::CommandBuffer">CommandBuffer</a></code></h4><div class='docblock'><p>The type of the object.</p>
|
|
|
</div><h4 id='associatedconstant.TYPE' class="associatedconstant hidden"><code id='TYPE.v'>const <a href='../../../vulkano/trait.VulkanObject.html#associatedconstant.TYPE' class="constant"><b>TYPE</b></a>: <a class="type" href="../../../vk_sys/type.DebugReportObjectTypeEXT.html" title="type vk_sys::DebugReportObjectTypeEXT">DebugReportObjectTypeEXT</a></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1545' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The <code>DebugReportObjectTypeEXT</code> of the internal Vulkan handle.</p>
|
|
|
</div><h4 id='method.internal_object' class="method hidden"><code id='internal_object.v'>fn <a href='../../../vulkano/trait.VulkanObject.html#tymethod.internal_object' class='fnname'>internal_object</a>(&self) -> <a class="type" href="../../../vk_sys/type.CommandBuffer.html" title="type vk_sys::CommandBuffer">CommandBuffer</a></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#1548-1551' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a reference to the object.</p>
|
|
|
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl<P> <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilder.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilder">UnsafeCommandBufferBuilder</a><P></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#183-188' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../../src/vulkano/command_buffer/sys.rs.html#185-187' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
|
|
|
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl<P> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilder.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilder">UnsafeCommandBufferBuilder</a><P> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl<P> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilder.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilder">UnsafeCommandBufferBuilder</a><P> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>, </span></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl<P> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilder.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilder">UnsafeCommandBufferBuilder</a><P> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>, </span></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl<P> <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilder.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilder">UnsafeCommandBufferBuilder</a><P> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl<P> <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../vulkano/command_buffer/sys/struct.UnsafeCommandBufferBuilder.html" title="struct vulkano::command_buffer::sys::UnsafeCommandBufferBuilder">UnsafeCommandBufferBuilder</a><P> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a>, </span></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-DeviceOwned-1' class='impl'><code class='in-band'>impl<T> <a class="trait" href="../../../vulkano/device/trait.DeviceOwned.html" title="trait vulkano::device::DeviceOwned">DeviceOwned</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,<br> <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a>: <a class="trait" href="../../../vulkano/device/trait.DeviceOwned.html" title="trait vulkano::device::DeviceOwned">DeviceOwned</a>, </span></code><a href='#impl-DeviceOwned-1' class='anchor'></a><a class='srclink' href='../../../src/vulkano/device/mod.rs.html#557-565' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.device-1' class="method hidden"><code id='device.v-1'>fn <a href='../../../vulkano/device/trait.DeviceOwned.html#tymethod.device' class='fnname'>device</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self) -> &<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><<a class="struct" href="../../../vulkano/device/struct.Device.html" title="struct vulkano::device::Device">Device</a>></code><a class='srclink' href='../../../src/vulkano/device/mod.rs.html#562-564' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the device that owns <code>Self</code>.</p>
|
|
|
</div></div><h3 id='impl-Content' class='impl'><code class='in-band'>impl<T> <a class="trait" href="../../../vulkano/memory/trait.Content.html" title="trait vulkano::memory::Content">Content</a> for T</code><a href='#impl-Content' class='anchor'></a><a class='srclink' href='../../../src/vulkano/memory/mod.rs.html#171-190' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ref_from_ptr' class="method hidden"><code id='ref_from_ptr.v'>fn <a href='../../../vulkano/memory/trait.Content.html#tymethod.ref_from_ptr' class='fnname'>ref_from_ptr</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut T</a>></code><a class='srclink' href='../../../src/vulkano/memory/mod.rs.html#173-179' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Builds a pointer to this type from a raw pointer.</p>
|
|
|
</div><h4 id='method.is_size_suitable' class="method hidden"><code id='is_size_suitable.v'>fn <a href='../../../vulkano/memory/trait.Content.html#tymethod.is_size_suitable' class='fnname'>is_size_suitable</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../../src/vulkano/memory/mod.rs.html#182-184' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns true if the size is suitable to store a type like this.</p>
|
|
|
</div><h4 id='method.indiv_size' class="method hidden"><code id='indiv_size.v'>fn <a href='../../../vulkano/memory/trait.Content.html#tymethod.indiv_size' class='fnname'>indiv_size</a>() -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../../src/vulkano/memory/mod.rs.html#187-189' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the size of an individual element.</p>
|
|
|
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -> U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -> T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
|
|
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
|
|
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
|
|
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
|
|
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
|
|
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "vulkano";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html> |