|
128 | 128 | coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a><I, DIM, ARRAYED>, |
129 | 129 | ) -> SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a><div class="where">where |
130 | 130 | I: <a class="trait" href="../trait.Integer.html" title="trait spirv_std::Integer">Integer</a>,</div></h4></section></summary><div class="docblock"><p>Read a texel from an image without a sampler.</p> |
131 | | -</div></details><details class="toggle method-toggle" open><summary><section id="method.write" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#800">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.write" class="fn">write</a><I, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>( |
| 131 | +</div></details><details class="toggle method-toggle" open><summary><section id="method.write" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#800">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.write" class="fn">write</a><I>( |
132 | 132 | &self, |
133 | 133 | coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a><I, DIM, ARRAYED>, |
134 | | - texels: impl <a class="trait" href="../trait.Vector.html" title="trait spirv_std::Vector">Vector</a><SampledType, N>, |
| 134 | + texels: SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a>, |
135 | 135 | )<div class="where">where |
136 | 136 | I: <a class="trait" href="../trait.Integer.html" title="trait spirv_std::Integer">Integer</a>,</div></h4></section></summary><div class="docblock"><p>Write a texel to an image without a sampler.</p> |
137 | 137 | </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+%7B+Sampled::Unknown+as+u32+%7D,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#824-896">Source</a><a href="#impl-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+%7B+Sampled::Unknown+as+u32+%7D,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl<SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a><FORMAT, COMPONENTS>, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a><SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, { _ }, FORMAT, COMPONENTS></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.read-1" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#845">Source</a><h4 class="code-header">pub fn <a href="#method.read-1" class="fn">read</a><I>( |
138 | 138 | &self, |
139 | 139 | coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a><I, DIM, ARRAYED>, |
140 | 140 | ) -> SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a><div class="where">where |
141 | 141 | I: <a class="trait" href="../trait.Integer.html" title="trait spirv_std::Integer">Integer</a>,</div></h4></section></summary><div class="docblock"><p>Read a texel from an image without a sampler.</p> |
142 | | -</div></details><details class="toggle method-toggle" open><summary><section id="method.write-1" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#874">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.write-1" class="fn">write</a><I, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>( |
| 142 | +</div></details><details class="toggle method-toggle" open><summary><section id="method.write-1" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#874">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.write-1" class="fn">write</a><I>( |
143 | 143 | &self, |
144 | 144 | coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a><I, DIM, ARRAYED>, |
145 | | - texels: impl <a class="trait" href="../trait.Vector.html" title="trait spirv_std::Vector">Vector</a><SampledType, N>, |
| 145 | + texels: SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a>, |
146 | 146 | )<div class="where">where |
147 | 147 | I: <a class="trait" href="../trait.Integer.html" title="trait spirv_std::Integer">Integer</a>,</div></h4></section></summary><div class="docblock"><p>Write a texel to an image without a sampler.</p> |
148 | 148 | </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Image%3CSampledType,+%7B+Dimensionality::SubpassData+as+u32+%7D,+DEPTH,+ARRAYED,+MULTISAMPLED,+%7B+Sampled::No+as+u32+%7D,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#898-946">Source</a><a href="#impl-Image%3CSampledType,+%7B+Dimensionality::SubpassData+as+u32+%7D,+DEPTH,+ARRAYED,+MULTISAMPLED,+%7B+Sampled::No+as+u32+%7D,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl<SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a><FORMAT, COMPONENTS>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a><SampledType, { _ }, DEPTH, ARRAYED, MULTISAMPLED, { _ }, FORMAT, COMPONENTS></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.read_subpass" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#919">Source</a><h4 class="code-header">pub fn <a href="#method.read_subpass" class="fn">read_subpass</a><I>( |
|
0 commit comments