You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Trac3r-rust/doc/vulkano/pipeline/struct.GraphicsPipelineBuil...

175 lines
92 KiB

5 years ago
<!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 `GraphicsPipelineBuilder` struct in crate `vulkano`."><meta name="keywords" content="rust, rustlang, rust-lang, GraphicsPipelineBuilder"><title>vulkano::pipeline::GraphicsPipelineBuilder - 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">&#9776;</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 GraphicsPipelineBuilder</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.alpha_to_coverage_disabled">alpha_to_coverage_disabled</a><a href="#method.alpha_to_coverage_enabled">alpha_to_coverage_enabled</a><a href="#method.alpha_to_one_disabled">alpha_to_one_disabled</a><a href="#method.alpha_to_one_enabled">alpha_to_one_enabled</a><a href="#method.blend_alpha_blending">blend_alpha_blending</a><a href="#method.blend_collective">blend_collective</a><a href="#method.blend_constants">blend_constants</a><a href="#method.blend_constants_dynamic">blend_constants_dynamic</a><a href="#method.blend_individual">blend_individual</a><a href="#method.blend_logic_op">blend_logic_op</a><a href="#method.blend_logic_op_disabled">blend_logic_op_disabled</a><a href="#method.blend_pass_through">blend_pass_through</a><a href="#method.build">build</a><a href="#method.cull_mode_back">cull_mode_back</a><a href="#method.cull_mode_disabled">cull_mode_disabled</a><a href="#method.cull_mode_front">cull_mode_front</a><a href="#method.cull_mode_front_and_back">cull_mode_front_and_back</a><a href="#method.depth_clamp">depth_clamp</a><a href="#method.depth_stencil">depth_stencil</a><a href="#method.depth_stencil_disabled">depth_stencil_disabled</a><a href="#method.depth_stencil_simple_depth">depth_stencil_simple_depth</a><a href="#method.depth_write">depth_write</a><a href="#method.fragment_shader">fragment_shader</a><a href="#method.front_face_clockwise">front_face_clockwise</a><a href="#method.front_face_counter_clockwise">front_face_counter_clockwise</a><a href="#method.geometry_shader">geometry_shader</a><a href="#method.geometry_shader_disabled">geometry_shader_disabled</a><a href="#method.line_list">line_list</a><a href="#method.line_list_with_adjacency">line_list_with_adjacency</a><a href="#method.line_strip">line_strip</a><a href="#method.line_strip_with_adjacency">line_strip_with_adjacency</a><a href="#method.line_width">line_width</a><a href="#method.line_width_dynamic">line_width_dynamic</a><a href="#method.patch_list">patch_list</a><a href="#method.point_list">point_list</a><a href="#method.polygon_mode_fill">polygon_mode_fill</a><a href="#method.polygon_mode_line">polygon_mode_line</a><a href="#method.polygon_mode_point">polygon_mode_point</a><a href="#method.primitive_restart">primitive_restart</a><a href="#method.primitive_topology">primitive_topology</a><a href="#method.render_pass">render_pass</a><a href="#method.sample_shading_disabled">sample_shading_disabled</a><a href="#method.sample_shading_enabled">sample_shading_enabled</a><a href="#method.tessellation_shaders">
</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&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt; <a class="struct" href="../../vulkano/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Vdef: <a class="trait" href="../../vulkano/pipeline/vertex/trait.VertexDefinition.html" title="trait vulkano::pipeline::vertex::VertexDefinition">VertexDefinition</a>&lt;Vs::<a class="type" href="../../vulkano/pipeline/shader/trait.GraphicsEntryPointAbstract.html#associatedtype.InputDefinition" title="type vulkano::pipeline::shader::GraphicsEntryPointAbstract::InputDefinition">InputDefinition</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;Vs: <a class="trait" href="../../vulkano/pipeline/shader/trait.GraphicsEntryPointAbstract.html" title="trait vulkano::pipeline::shader::GraphicsEntryPointAbstract">GraphicsEntryPointAbstract</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fs: <a class="trait" href="../../vulkano/pipeline/shader/trait.GraphicsEntryPointAbstract.html" title="trait vulkano::pipeline::shader::GraphicsEntryPointAbstract">GraphicsEntryPointAbstract</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Gs: <a class="trait" href="../../vulkano/pipeline/shader/trait.GraphicsEntryPointAbstract.html" title="trait vulkano::pipeline::shader::GraphicsEntryPointAbstract">GraphicsEntryPointAbstract</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tcs: <a class="trait" href="../../vulkano/pipeline/shader/trait.GraphicsEntryPointAbstract.html" title="trait vulkano::pipeline::shader::GraphicsEntryPointAbstract">GraphicsEntryPointAbstract</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tes: <a class="trait" href="../../vulkano/pipeline/shader/trait.GraphicsEntryPointAbstract.html" title="trait vulkano::pipeline::shader::GraphicsEntryPointAbstract">GraphicsEntryPointAbstract</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Vss: <a class="trait" href="../../vulkano/pipeline/shader/trait.SpecializationConstants.html" title="trait vulkano::pipeline::shader::SpecializationConstants">SpecializationConstants</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tcss: <a class="trait" href="../../vulkano/pipeline/shader/trait.SpecializationConstants.html" title="trait vulkano::pipeline::shader::SpecializationConstants">SpecializationConstants</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tess: <a class="trait" href="../../vulkano/pipeline/shader/trait.SpecializationConstants.html" title="trait vulkano::pipeline::shader::SpecializationConstants">SpecializationConstants</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Gss: <a class="trait" href="../../vulkano/pipeline/shader/trait.SpecializationConstants.html" title="trait vulkano::pipeline::shader::SpecializationConstants">SpecializationConstants</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fss: <a class="trait" href="../../vulkano/pipeline/shader/trait.SpecializationConstants.html" title="trait vulkano::pipeline::shader::SpecializationConstants">SpecializationConstants</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Vs::<a class="type" href="../../vulkano/pipeline/shader/trait.EntryPointAbstract.html#associatedtype.PipelineLayout" title="type vulkano::pipeline::shader::EntryPointAbstract::PipelineLayout">PipelineLayout</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fs::<a class="type" href="../../vulkano/pipeline/shader/trait.EntryPointAbstract.html#associatedtype.PipelineLayout" title="type vulkano::pipeline::shader::EntryPointAbstract::PipelineLayout">PipelineLayout</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trai
</div><h4 id='method.with_auto_layout' class="method"><code id='with_auto_layout.v'>pub fn <a href='#method.with_auto_layout' class='fnname'>with_auto_layout</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../vulkano/device/struct.Device.html" title="struct vulkano::device::Device">Device</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;dynamic_buffers: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[</a><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.tuple.html">)</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../vulkano/pipeline/struct.GraphicsPipeline.html" title="struct vulkano::pipeline::GraphicsPipeline">GraphicsPipeline</a>&lt;Vdef, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../vulkano/descriptor/pipeline_layout/trait.PipelineLayoutAbstract.html" title="trait vulkano::descriptor::pipeline_layout::PipelineLayoutAbstract">PipelineLayoutAbstract</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;, Rp&gt;, <a class="enum" href="../../vulkano/pipeline/enum.GraphicsPipelineCreationError.html" title="enum vulkano::pipeline::GraphicsPipelineCreationError">GraphicsPipelineCreationError</a>&gt;</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#168-301' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds the graphics pipeline, using an inferred pipeline layout with some dynamic buffers.</p>
<p>Configures the inferred layout for each descriptor <code>(set, binding)</code> in <code>dynamic_buffers</code> to accept dynamic
buffers.</p>
</div><h4 id='method.with_pipeline_layout' class="method"><code id='with_pipeline_layout.v'>pub fn <a href='#method.with_pipeline_layout' class='fnname'>with_pipeline_layout</a>&lt;Pl&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;device: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="../../vulkano/device/struct.Device.html" title="struct vulkano::device::Device">Device</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;pipeline_layout: Pl<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../vulkano/pipeline/struct.GraphicsPipeline.html" title="struct vulkano::pipeline::GraphicsPipeline">GraphicsPipeline</a>&lt;Vdef, Pl, Rp&gt;, <a class="enum" href="../../vulkano/pipeline/enum.GraphicsPipelineCreationError.html" title="enum vulkano::pipeline::GraphicsPipelineCreationError">GraphicsPipelineCreationError</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Pl: <a class="trait" href="../../vulkano/descriptor/pipeline_layout/trait.PipelineLayoutAbstract.html" title="trait vulkano::descriptor::pipeline_layout::PipelineLayoutAbstract">PipelineLayoutAbstract</a>,&nbsp;</span></code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#308-1111' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds the graphics pipeline.</p>
<p>Does the same as <code>build</code>, except that <code>build</code> automatically builds the pipeline layout
object corresponding to the union of your shaders while this function allows you to specify
the pipeline layout.</p>
</div></div><h3 id='impl-1' class='impl'><code class='in-band'>impl&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt; <a class="struct" href="../../vulkano/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt;</code><a href='#impl-1' class='anchor'></a><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1116-1765' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.vertex_input' class="method"><code id='vertex_input.v'>pub fn <a href='#method.vertex_input' class='fnname'>vertex_input</a>&lt;T&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;vertex_input: T<br>) -&gt; <a class="struct" href="../../vulkano/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;T, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt;</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1122-1140' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the vertex input.</p>
</div><h4 id='method.vertex_input_single_buffer' class="method"><code id='vertex_input_single_buffer.v'>pub fn <a href='#method.vertex_input_single_buffer' class='fnname'>vertex_input_single_buffer</a>&lt;V&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="../../vulkano/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;<a class="struct" href="../../vulkano/pipeline/vertex/struct.SingleBufferDefinition.html" title="struct vulkano::pipeline::vertex::SingleBufferDefinition">SingleBufferDefinition</a>&lt;V&gt;, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt;</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1147-1161' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the vertex input to a single vertex buffer.</p>
<p>You will most likely need to explicitly specify the template parameter to the type of a
vertex.</p>
</div><h4 id='method.vertex_shader' class="method"><code id='vertex_shader.v'>pub fn <a href='#method.vertex_shader' class='fnname'>vertex_shader</a>&lt;Vs2, Vss2&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;shader: Vs2, <br>&nbsp;&nbsp;&nbsp;&nbsp;specialization_constants: Vss2<br>) -&gt; <a class="struct" href="../../vulkano/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;Vdef, Vs2, Vss2, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Vs2: <a class="trait" href="../../vulkano/pipeline/shader/trait.GraphicsEntryPointAbstract.html" title="trait vulkano::pipeline::shader::GraphicsEntryPointAbstract">GraphicsEntryPointAbstract</a>&lt;SpecializationConstants = Vss2&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;Vss2: <a class="trait" href="../../vulkano/pipeline/shader/trait.SpecializationConstants.html" title="trait vulkano::pipeline::shader::SpecializationConstants">SpecializationConstants</a>,&nbsp;</span></code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1166-1187' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the vertex shader to use.</p>
</div><h4 id='method.primitive_restart' class="method"><code id='primitive_restart.v'>pub fn <a href='#method.primitive_restart' class='fnname'>primitive_restart</a>(self, enabled: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1191-1199' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets whether primitive restart if enabled.</p>
</div><h4 id='method.primitive_topology' class="method"><code id='primitive_topology.v'>pub fn <a href='#method.primitive_topology' class='fnname'>primitive_topology</a>(self, topology: <a class="enum" href="../../vulkano/pipeline/input_assembly/enum.PrimitiveTopology.html" title="enum vulkano::pipeline::input_assembly::PrimitiveTopology">PrimitiveTopology</a>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1203-1207' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the topology of the primitives that are expected by the pipeline.</p>
</div><h4 id='method.point_list' class="method"><code id='point_list.v'>pub fn <a href='#method.point_list' class='fnname'>point_list</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1214-1216' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the topology of the primitives to a list of points.</p>
<blockquote>
<p><strong>Note</strong>: This is equivalent to
<code>self.primitive_topology(PrimitiveTopology::PointList)</code>.</p>
</blockquote>
</div><h4 id='method.line_list' class="method"><code id='line_list.v'>pub fn <a href='#method.line_list' class='fnname'>line_list</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1223-1225' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the topology of the primitives to a list of lines.</p>
<blockquote>
<p><strong>Note</strong>: This is equivalent to
<code>self.primitive_topology(PrimitiveTopology::LineList)</code>.</p>
</blockquote>
</div><h4 id='method.line_strip' class="method"><code id='line_strip.v'>pub fn <a href='#method.line_strip' class='fnname'>line_strip</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1232-1234' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the topology of the primitives to a line strip.</p>
<blockquote>
<p><strong>Note</strong>: This is equivalent to
<code>self.primitive_topology(PrimitiveTopology::LineStrip)</code>.</p>
</blockquote>
</div><h4 id='method.triangle_list' class="method"><code id='triangle_list.v'>pub fn <a href='#method.triangle_list' class='fnname'>triangle_list</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1241-1243' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the topology of the primitives to a list of triangles. Note that this is the default.</p>
<blockquote>
<p><strong>Note</strong>: This is equivalent to
<code>self.primitive_topology(PrimitiveTopology::TriangleList)</code>.</p>
</blockquote>
</div><h4 id='method.triangle_strip' class="method"><code id='triangle_strip.v'>pub fn <a href='#method.triangle_strip' class='fnname'>triangle_strip</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1250-1252' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the topology of the primitives to a triangle strip.</p>
<blockquote>
<p><strong>Note</strong>: This is equivalent to
<code>self.primitive_topology(PrimitiveTopology::TriangleStrip)</code>.</p>
</blockquote>
</div><h4 id='method.triangle_fan' class="method"><code id='triangle_fan.v'>pub fn <a href='#method.triangle_fan' class='fnname'>triangle_fan</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1259-1261' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the topology of the primitives to a fan of triangles.</p>
<blockquote>
<p><strong>Note</strong>: This is equivalent to
<code>self.primitive_topology(PrimitiveTopology::TriangleFan)</code>.</p>
</blockquote>
</div><h4 id='method.line_list_with_adjacency' class="method"><code id='line_list_with_adjacency.v'>pub fn <a href='#method.line_list_with_adjacency' class='fnname'>line_list_with_adjacency</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1268-1270' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the topology of the primitives to a list of lines with adjacency information.</p>
<blockquote>
<p><strong>Note</strong>: This is equivalent to
<code>self.primitive_topology(PrimitiveTopology::LineListWithAdjacency)</code>.</p>
</blockquote>
</div><h4 id='method.line_strip_with_adjacency' class="method"><code id='line_strip_with_adjacency.v'>pub fn <a href='#method.line_strip_with_adjacency' class='fnname'>line_strip_with_adjacency</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1277-1279' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the topology of the primitives to a line strip with adjacency information.</p>
<blockquote>
<p><strong>Note</strong>: This is equivalent to
<code>self.primitive_topology(PrimitiveTopology::LineStripWithAdjacency)</code>.</p>
</blockquote>
</div><h4 id='method.triangle_list_with_adjacency' class="method"><code id='triangle_list_with_adjacency.v'>pub fn <a href='#method.triangle_list_with_adjacency' class='fnname'>triangle_list_with_adjacency</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1286-1288' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the topology of the primitives to a list of triangles with adjacency information.</p>
<blockquote>
<p><strong>Note</strong>: This is equivalent to
<code>self.primitive_topology(PrimitiveTopology::TriangleListWithAdjacency)</code>.</p>
</blockquote>
</div><h4 id='method.triangle_strip_with_adjacency' class="method"><code id='triangle_strip_with_adjacency.v'>pub fn <a href='#method.triangle_strip_with_adjacency' class='fnname'>triangle_strip_with_adjacency</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1295-1297' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the topology of the primitives to a triangle strip with adjacency information`</p>
<blockquote>
<p><strong>Note</strong>: This is equivalent to
<code>self.primitive_topology(PrimitiveTopology::TriangleStripWithAdjacency)</code>.</p>
</blockquote>
</div><h4 id='method.patch_list' class="method"><code id='patch_list.v'>pub fn <a href='#method.patch_list' class='fnname'>patch_list</a>(self, vertices_per_patch: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1305-1307' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the topology of the primitives to a list of patches. Can only be used and must be used
with a tessellation shader.</p>
<blockquote>
<p><strong>Note</strong>: This is equivalent to
<code>self.primitive_topology(PrimitiveTopology::PatchList { vertices_per_patch })</code>.</p>
</blockquote>
</div><h4 id='method.tessellation_shaders' class="method"><code id='tessellation_shaders.v'>pub fn <a href='#method.tessellation_shaders' class='fnname'>tessellation_shaders</a>&lt;Tcs2, Tcss2, Tes2, Tess2&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;tessellation_control_shader: Tcs2, <br>&nbsp;&nbsp;&nbsp;&nbsp;tessellation_control_shader_spec_constants: Tcss2, <br>&nbsp;&nbsp;&nbsp;&nbsp;tessellation_evaluation_shader: Tes2, <br>&nbsp;&nbsp;&nbsp;&nbsp;tessellation_evaluation_shader_spec_constants: Tess2<br>) -&gt; <a class="struct" href="../../vulkano/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;Vdef, Vs, Vss, Tcs2, Tcss2, Tes2, Tess2, Gs, Gss, Fs, Fss, Rp&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Tcs2: <a class="trait" href="../../vulkano/pipeline/shader/trait.GraphicsEntryPointAbstract.html" title="trait vulkano::pipeline::shader::GraphicsEntryPointAbstract">GraphicsEntryPointAbstract</a>&lt;SpecializationConstants = Tcss2&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tes2: <a class="trait" href="../../vulkano/pipeline/shader/trait.GraphicsEntryPointAbstract.html" title="trait vulkano::pipeline::shader::GraphicsEntryPointAbstract">GraphicsEntryPointAbstract</a>&lt;SpecializationConstants = Tess2&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tcss2: <a class="trait" href="../../vulkano/pipeline/shader/trait.SpecializationConstants.html" title="trait vulkano::pipeline::shader::SpecializationConstants">SpecializationConstants</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tess2: <a class="trait" href="../../vulkano/pipeline/shader/trait.SpecializationConstants.html" title="trait vulkano::pipeline::shader::SpecializationConstants">SpecializationConstants</a>,&nbsp;</span></code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1312-1344' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the tessellation shaders to use.</p>
</div><h4 id='method.tessellation_shaders_disabled' class="method"><code id='tessellation_shaders_disabled.v'>pub fn <a href='#method.tessellation_shaders_disabled' class='fnname'>tessellation_shaders_disabled</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1348-1351' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the tessellation shaders stage as disabled. This is the default.</p>
</div><h4 id='method.geometry_shader' class="method"><code id='geometry_shader.v'>pub fn <a href='#method.geometry_shader' class='fnname'>geometry_shader</a>&lt;Gs2, Gss2&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;shader: Gs2, <br>&nbsp;&nbsp;&nbsp;&nbsp;specialization_constants: Gss2<br>) -&gt; <a class="struct" href="../../vulkano/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs2, Gss2, Fs, Fss, Rp&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Gs2: <a class="trait" href="../../vulkano/pipeline/shader/trait.GraphicsEntryPointAbstract.html" title="trait vulkano::pipeline::shader::GraphicsEntryPointAbstract">GraphicsEntryPointAbstract</a>&lt;SpecializationConstants = Gss2&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;Gss2: <a class="trait" href="../../vulkano/pipeline/shader/trait.SpecializationConstants.html" title="trait vulkano::pipeline::shader::SpecializationConstants">SpecializationConstants</a>,&nbsp;</span></code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1356-1377' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the geometry shader to use.</p>
</div><h4 id='method.geometry_shader_disabled' class="method"><code id='geometry_shader_disabled.v'>pub fn <a href='#method.geometry_shader_disabled' class='fnname'>geometry_shader_disabled</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1381-1384' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the geometry shader stage as disabled. This is the default.</p>
</div><h4 id='method.viewports' class="method"><code id='viewports.v'>pub fn <a href='#method.viewports' class='fnname'>viewports</a>&lt;I&gt;(self, viewports: I) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = <a class="struct" href="../../vulkano/pipeline/viewport/struct.Viewport.html" title="struct vulkano::pipeline::viewport::Viewport">Viewport</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1389-1393' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the viewports to some value, and the scissor boxes to boxes that always cover the
whole viewport.</p>
</div><h4 id='method.viewports_scissors' class="method"><code id='viewports_scissors.v'>pub fn <a href='#method.viewports_scissors' class='fnname'>viewports_scissors</a>&lt;I&gt;(self, viewports: I) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../vulkano/pipeline/viewport/struct.Viewport.html" title="struct vulkano::pipeline::viewport::Viewport">Viewport</a>, <a class="struct" href="../../vulkano/pipeline/viewport/struct.Scissor.html" title="struct vulkano::pipeline::viewport::Scissor">Scissor</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1397-1402' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the characteristics of viewports and scissor boxes in advance.</p>
</div><h4 id='method.viewports_dynamic_scissors_fixed' class="method"><code id='viewports_dynamic_scissors_fixed.v'>pub fn <a href='#method.viewports_dynamic_scissors_fixed' class='fnname'>viewports_dynamic_scissors_fixed</a>&lt;I&gt;(self, scissors: I) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = <a class="struct" href="../../vulkano/pipeline/viewport/struct.Scissor.html" title="struct vulkano::pipeline::viewport::Scissor">Scissor</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1407-1413' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the scissor boxes to some values, and viewports to dynamic. The viewports will
need to be set before drawing.</p>
</div><h4 id='method.viewports_dynamic_scissors_irrelevant' class="method"><code id='viewports_dynamic_scissors_irrelevant.v'>pub fn <a href='#method.viewports_dynamic_scissors_irrelevant' class='fnname'>viewports_dynamic_scissors_irrelevant</a>(self, num: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1418-1423' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the viewports to dynamic, and the scissor boxes to boxes that always cover the whole
viewport. The viewports will need to be set before drawing.</p>
</div><h4 id='method.viewports_fixed_scissors_dynamic' class="method"><code id='viewports_fixed_scissors_dynamic.v'>pub fn <a href='#method.viewports_fixed_scissors_dynamic' class='fnname'>viewports_fixed_scissors_dynamic</a>&lt;I&gt;(self, viewports: I) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = <a class="struct" href="../../vulkano/pipeline/viewport/struct.Viewport.html" title="struct vulkano::pipeline::viewport::Viewport">Viewport</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1428-1434' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the viewports to some values, and scissor boxes to dynamic. The scissor boxes will
need to be set before drawing.</p>
</div><h4 id='method.viewports_scissors_dynamic' class="method"><code id='viewports_scissors_dynamic.v'>pub fn <a href='#method.viewports_scissors_dynamic' class='fnname'>viewports_scissors_dynamic</a>(self, num: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1439-1442' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the viewports and scissor boxes to dynamic. They will both need to be set before
drawing.</p>
</div><h4 id='method.depth_clamp' class="method"><code id='depth_clamp.v'>pub fn <a href='#method.depth_clamp' class='fnname'>depth_clamp</a>(self, clamp: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1448-1451' title='goto source code'>[src]</a></h4><div class='docblock'><p>If true, then the depth value of the vertices will be clamped to the range <code>[0.0 ; 1.0]</code>.
If false, fragments whose depth is outside of this range will be discarded before the
fragment shader even runs.</p>
</div><h4 id='method.front_face_counter_clockwise' class="method"><code id='front_face_counter_clockwise.v'>pub fn <a href='#method.front_face_counter_clockwise' class='fnname'>front_face_counter_clockwise</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1466-1469' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the front-facing faces to counter-clockwise faces. This is the default.</p>
<p>Triangles whose vertices are oriented counter-clockwise on the screen will be considered
as facing their front. Otherwise they will be considered as facing their back.</p>
</div><h4 id='method.front_face_clockwise' class="method"><code id='front_face_clockwise.v'>pub fn <a href='#method.front_face_clockwise' class='fnname'>front_face_clockwise</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1476-1479' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the front-facing faces to clockwise faces.</p>
<p>Triangles whose vertices are oriented clockwise on the screen will be considered
as facing their front. Otherwise they will be considered as facing their back.</p>
</div><h4 id='method.cull_mode_disabled' class="method"><code id='cull_mode_disabled.v'>pub fn <a href='#method.cull_mode_disabled' class='fnname'>cull_mode_disabled</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1483-1486' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets backface culling as disabled. This is the default.</p>
</div><h4 id='method.cull_mode_front' class="method"><code id='cull_mode_front.v'>pub fn <a href='#method.cull_mode_front' class='fnname'>cull_mode_front</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1491-1494' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets backface culling to front faces. The front faces (as chosen with the <code>front_face_*</code>
methods) will be discarded by the GPU when drawing.</p>
</div><h4 id='method.cull_mode_back' class="method"><code id='cull_mode_back.v'>pub fn <a href='#method.cull_mode_back' class='fnname'>cull_mode_back</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1499-1502' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets backface culling to back faces. Faces that are not facing the front (as chosen with
the <code>front_face_*</code> methods) will be discarded by the GPU when drawing.</p>
</div><h4 id='method.cull_mode_front_and_back' class="method"><code id='cull_mode_front_and_back.v'>pub fn <a href='#method.cull_mode_front_and_back' class='fnname'>cull_mode_front_and_back</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1509-1512' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets backface culling to both front and back faces. All the faces will be discarded.</p>
<blockquote>
<p><strong>Note</strong>: This option exists for the sake of completeness. It has no known practical
usage.</p>
</blockquote>
</div><h4 id='method.polygon_mode_fill' class="method"><code id='polygon_mode_fill.v'>pub fn <a href='#method.polygon_mode_fill' class='fnname'>polygon_mode_fill</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1516-1519' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the polygon mode to &quot;fill&quot;. This is the default.</p>
</div><h4 id='method.polygon_mode_line' class="method"><code id='polygon_mode_line.v'>pub fn <a href='#method.polygon_mode_line' class='fnname'>polygon_mode_line</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1523-1526' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the polygon mode to &quot;line&quot;. Triangles will each be turned into three lines.</p>
</div><h4 id='method.polygon_mode_point' class="method"><code id='polygon_mode_point.v'>pub fn <a href='#method.polygon_mode_point' class='fnname'>polygon_mode_point</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1530-1533' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the polygon mode to &quot;point&quot;. Triangles and lines will each be turned into three points.</p>
</div><h4 id='method.line_width' class="method"><code id='line_width.v'>pub fn <a href='#method.line_width' class='fnname'>line_width</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1537-1540' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the width of the lines, if the GPU needs to draw lines. The default is <code>1.0</code>.</p>
</div><h4 id='method.line_width_dynamic' class="method"><code id='line_width_dynamic.v'>pub fn <a href='#method.line_width_dynamic' class='fnname'>line_width_dynamic</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1545-1548' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the width of the lines as dynamic, which means that you will need to set this value
when drawing.</p>
</div><h4 id='method.sample_shading_disabled' class="method"><code id='sample_shading_disabled.v'>pub fn <a href='#method.sample_shading_disabled' class='fnname'>sample_shading_disabled</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1558-1561' title='goto source code'>[src]</a></h4><div class='docblock'><p>Disables sample shading. The fragment shader will only be run once per fragment (ie. per
pixel) and not once by sample. The output will then be copied in all of the covered
samples.</p>
<p>Sample shading is disabled by default.</p>
</div><h4 id='method.sample_shading_enabled' class="method"><code id='sample_shading_enabled.v'>pub fn <a href='#method.sample_shading_enabled' class='fnname'>sample_shading_enabled</a>(self, min_fract: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1580-1585' title='goto source code'>[src]</a></h4><div class='docblock'><p>Enables sample shading. The fragment shader will be run once per sample at the borders of
the object you're drawing.</p>
<p>Enabling sampling shading requires the <code>sample_rate_shading</code> feature to be enabled on the
device.</p>
<p>The <code>min_fract</code> parameter is the minimum fraction of samples shading. For example if its
value is 0.5, then the fragment shader will run for at least half of the samples. The other
half of the samples will get their values determined automatically.</p>
<p>Sample shading is disabled by default.</p>
<h1 id="panic" class="section-header"><a href="#panic">Panic</a></h1>
<ul>
<li>Panics if <code>min_fract</code> is not between 0.0 and 1.0.</li>
</ul>
</div><h4 id='method.alpha_to_coverage_disabled' class="method"><code id='alpha_to_coverage_disabled.v'>pub fn <a href='#method.alpha_to_coverage_disabled' class='fnname'>alpha_to_coverage_disabled</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1588-1591' title='goto source code'>[src]</a></h4><h4 id='method.alpha_to_coverage_enabled' class="method"><code id='alpha_to_coverage_enabled.v'>pub fn <a href='#method.alpha_to_coverage_enabled' class='fnname'>alpha_to_coverage_enabled</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1594-1597' title='goto source code'>[src]</a></h4><h4 id='method.alpha_to_one_disabled' class="method"><code id='alpha_to_one_disabled.v'>pub fn <a href='#method.alpha_to_one_disabled' class='fnname'>alpha_to_one_disabled</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1603-1606' title='goto source code'>[src]</a></h4><div class='docblock'><p>Disables alpha-to-one.</p>
<p>Alpha-to-one is disabled by default.</p>
</div><h4 id='method.alpha_to_one_enabled' class="method"><code id='alpha_to_one_enabled.v'>pub fn <a href='#method.alpha_to_one_enabled' class='fnname'>alpha_to_one_enabled</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1615-1618' title='goto source code'>[src]</a></h4><div class='docblock'><p>Enables alpha-to-one. The alpha component of the first color output of the fragment shader
will be replaced by the value <code>1.0</code>.</p>
<p>Enabling alpha-to-one requires the <code>alpha_to_one</code> feature to be enabled on the device.</p>
<p>Alpha-to-one is disabled by default.</p>
</div><h4 id='method.fragment_shader' class="method"><code id='fragment_shader.v'>pub fn <a href='#method.fragment_shader' class='fnname'>fragment_shader</a>&lt;Fs2, Fss2&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;shader: Fs2, <br>&nbsp;&nbsp;&nbsp;&nbsp;specialization_constants: Fss2<br>) -&gt; <a class="struct" href="../../vulkano/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs2, Fss2, Rp&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Fs2: <a class="trait" href="../../vulkano/pipeline/shader/trait.GraphicsEntryPointAbstract.html" title="trait vulkano::pipeline::shader::GraphicsEntryPointAbstract">GraphicsEntryPointAbstract</a>&lt;SpecializationConstants = Fss2&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fss2: <a class="trait" href="../../vulkano/pipeline/shader/trait.SpecializationConstants.html" title="trait vulkano::pipeline::shader::SpecializationConstants">SpecializationConstants</a>,&nbsp;</span></code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1627-1648' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the fragment shader to use.</p>
<p>The fragment shader is run once for each pixel that is covered by each primitive.</p>
</div><h4 id='method.depth_stencil' class="method"><code id='depth_stencil.v'>pub fn <a href='#method.depth_stencil' class='fnname'>depth_stencil</a>(self, depth_stencil: <a class="struct" href="../../vulkano/pipeline/depth_stencil/struct.DepthStencil.html" title="struct vulkano::pipeline::depth_stencil::DepthStencil">DepthStencil</a>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1652-1655' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the depth/stencil configuration. This function may be removed in the future.</p>
</div><h4 id='method.depth_stencil_disabled' class="method"><code id='depth_stencil_disabled.v'>pub fn <a href='#method.depth_stencil_disabled' class='fnname'>depth_stencil_disabled</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1662-1665' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the depth/stencil tests as disabled.</p>
<blockquote>
<p><strong>Note</strong>: This is a shortcut for all the other <code>depth_*</code> and <code>depth_stencil_*</code> methods
of the builder.</p>
</blockquote>
</div><h4 id='method.depth_stencil_simple_depth' class="method"><code id='depth_stencil_simple_depth.v'>pub fn <a href='#method.depth_stencil_simple_depth' class='fnname'>depth_stencil_simple_depth</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1672-1675' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the depth/stencil tests as a simple depth test and no stencil test.</p>
<blockquote>
<p><strong>Note</strong>: This is a shortcut for setting the depth test to <code>Less</code>, the depth write Into
<code> true</code> and disable the stencil test.</p>
</blockquote>
</div><h4 id='method.depth_write' class="method"><code id='depth_write.v'>pub fn <a href='#method.depth_write' class='fnname'>depth_write</a>(self, write: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1679-1682' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets whether the depth buffer will be written.</p>
</div><h4 id='method.blend_collective' class="method"><code id='blend_collective.v'>pub fn <a href='#method.blend_collective' class='fnname'>blend_collective</a>(self, blend: <a class="struct" href="../../vulkano/pipeline/blend/struct.AttachmentBlend.html" title="struct vulkano::pipeline::blend::AttachmentBlend">AttachmentBlend</a>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1688-1691' title='goto source code'>[src]</a></h4><h4 id='method.blend_individual' class="method"><code id='blend_individual.v'>pub fn <a href='#method.blend_individual' class='fnname'>blend_individual</a>&lt;I&gt;(self, blend: I) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = <a class="struct" href="../../vulkano/pipeline/blend/struct.AttachmentBlend.html" title="struct vulkano::pipeline::blend::AttachmentBlend">AttachmentBlend</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1694-1699' title='goto source code'>[src]</a></h4><h4 id='method.blend_pass_through' class="method"><code id='blend_pass_through.v'>pub fn <a href='#method.blend_pass_through' class='fnname'>blend_pass_through</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1704-1706' title='goto source code'>[src]</a></h4><div class='docblock'><p>Each fragment shader output will have its value directly written to the framebuffer
attachment. This is the default.</p>
</div><h4 id='method.blend_alpha_blending' class="method"><code id='blend_alpha_blending.v'>pub fn <a href='#method.blend_alpha_blending' class='fnname'>blend_alpha_blending</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1709-1711' title='goto source code'>[src]</a></h4><h4 id='method.blend_logic_op' class="method"><code id='blend_logic_op.v'>pub fn <a href='#method.blend_logic_op' class='fnname'>blend_logic_op</a>(self, logic_op: <a class="enum" href="../../vulkano/pipeline/blend/enum.LogicOp.html" title="enum vulkano::pipeline::blend::LogicOp">LogicOp</a>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1714-1717' title='goto source code'>[src]</a></h4><h4 id='method.blend_logic_op_disabled' class="method"><code id='blend_logic_op_disabled.v'>pub fn <a href='#method.blend_logic_op_disabled' class='fnname'>blend_logic_op_disabled</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1721-1724' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the logic operation as disabled. This is the default.</p>
</div><h4 id='method.blend_constants' class="method"><code id='blend_constants.v'>pub fn <a href='#method.blend_constants' class='fnname'>blend_constants</a>(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>) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1730-1733' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the blend constant. The default is <code>[0.0, 0.0, 0.0, 0.0]</code>.</p>
<p>The blend constant is used for some blending calculations. It is irrelevant otherwise.</p>
</div><h4 id='method.blend_constants_dynamic' class="method"><code id='blend_constants_dynamic.v'>pub fn <a href='#method.blend_constants_dynamic' class='fnname'>blend_constants_dynamic</a>(self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1739-1742' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the blend constant value as dynamic. Its value will need to be set before drawing.</p>
<p>The blend constant is used for some blending calculations. It is irrelevant otherwise.</p>
</div><h4 id='method.render_pass' class="method"><code id='render_pass.v'>pub fn <a href='#method.render_pass' class='fnname'>render_pass</a>&lt;Rp2&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;subpass: <a class="struct" href="../../vulkano/framebuffer/struct.Subpass.html" title="struct vulkano::framebuffer::Subpass">Subpass</a>&lt;Rp2&gt;<br>) -&gt; <a class="struct" href="../../vulkano/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp2&gt;</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1746-1764' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the render pass subpass to use.</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-Clone' class='impl'><code class='in-band'>impl&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../vulkano/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Vdef: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Vs: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Vss: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tcs: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tcss: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tes: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tess: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Gs: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Gss: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fs: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fss: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Rp: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1767-1809' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; Self</code><a class='srclink' href='../../src/vulkano/pipeline/graphics_pipeline/builder.rs.html#1782-1808' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">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&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt; !<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/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt;</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&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt; <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/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Fs: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fss: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Gs: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Gss: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Rp: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tcs: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tcss: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tes: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tess: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Vdef: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Vs: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Vss: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,&nbsp;</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&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt; !<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/pipeline/struct.GraphicsPipelineBuilder.html" title="struct vulkano::pipeline::GraphicsPipelineBuilder">GraphicsPipelineBuilder</a>&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt;</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&lt;Vdef, Vs, Vss, Tcs, Tcss, Tes, Tess, Gs, Gss, Fs, Fss, Rp&gt; <a class="trai
</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>) -&gt; <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>() -&gt; <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-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</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) -&gt; 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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; 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) -&gt; 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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</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) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<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>&gt;</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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</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> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<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) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<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>&gt;</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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</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>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</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>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</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&lt;T&gt; <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>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</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>(&amp;self) -&gt; <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>&#9166;</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>