documenting

master
mitchellhansen 5 years ago
parent da836f318e
commit 4b8fffc6bf

File diff suppressed because one or more lines are too long

@ -1,3 +1,3 @@
<!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 `dynamic_vertex` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, dynamic_vertex"><title>sfml_rust::canvas::shader::dynamic_vertex - 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 mod"><!--[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='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module dynamic_vertex</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>shader</a></p><script>window.sidebarCurrent = {name: 'dynamic_vertex', ty: 'mod', 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'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/shader/dynamic_vertex.rs.html#1-155' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a class="mod" href=''>dynamic_vertex</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<!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 `dynamic_vertex` mod in crate `sfml_rust`."><meta name="keywords" content="rust, rustlang, rust-lang, dynamic_vertex"><title>sfml_rust::canvas::shader::dynamic_vertex - 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 mod"><!--[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='../../../../sfml_rust/index.html'><div class='logo-container'><img src='../../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module dynamic_vertex</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><p class='location'><a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>shader</a></p><script>window.sidebarCurrent = {name: 'dynamic_vertex', ty: 'mod', 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'>&#x2212;</span>]</a></span><a class='srclink' href='../../../../src/sfml_rust/canvas/shader/dynamic_vertex.rs.html#1-182' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../../index.html'>sfml_rust</a>::<wbr><a href='../../index.html'>canvas</a>::<wbr><a href='../index.html'>shader</a>::<wbr><a class="mod" href=''>dynamic_vertex</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct.RuntimeVertexDef.html" title='sfml_rust::canvas::shader::dynamic_vertex::RuntimeVertexDef struct'>RuntimeVertexDef</a></td><td class='docblock-short'><p>Runtime Vertex def is just a generic holder of &quot;dynamic vertex definitions&quot;</p>
</td></tr></table></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 = "sfml_rust";</script><script src="../../../../aliases.js"></script><script src="../../../../main.js"></script><script defer src="../../../../search-index.js"></script></body></html>

File diff suppressed because one or more lines are too long

@ -153,6 +153,33 @@
<span id="153">153</span>
<span id="154">154</span>
<span id="155">155</span>
<span id="156">156</span>
<span id="157">157</span>
<span id="158">158</span>
<span id="159">159</span>
<span id="160">160</span>
<span id="161">161</span>
<span id="162">162</span>
<span id="163">163</span>
<span id="164">164</span>
<span id="165">165</span>
<span id="166">166</span>
<span id="167">167</span>
<span id="168">168</span>
<span id="169">169</span>
<span id="170">170</span>
<span id="171">171</span>
<span id="172">172</span>
<span id="173">173</span>
<span id="174">174</span>
<span id="175">175</span>
<span id="176">176</span>
<span id="177">177</span>
<span id="178">178</span>
<span id="179">179</span>
<span id="180">180</span>
<span id="181">181</span>
<span id="182">182</span>
</pre><div class="example-wrap"><pre class="rust ">
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">vertex</span>::{<span class="ident">VertexDefinition</span>, <span class="ident">InputRate</span>, <span class="ident">AttributeInfo</span>, <span class="ident">IncompatibleVertexDefinitionError</span>, <span class="ident">VertexSource</span>, <span class="ident">VertexMemberInfo</span>, <span class="ident">VertexMemberTy</span>};
<span class="kw">use</span> <span class="ident">vulkano</span>::<span class="ident">pipeline</span>::<span class="ident">shader</span>::<span class="ident">ShaderInterfaceDef</span>;
@ -160,6 +187,7 @@
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">sync</span>::<span class="ident">Arc</span>;
<span class="kw">use</span> <span class="ident">cgmath</span>::<span class="ident">num_traits</span>::<span class="ident">real</span>::<span class="ident">Real</span>;
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">vec</span>::<span class="ident">IntoIter</span> <span class="kw">as</span> <span class="ident">VecIntoIter</span>;
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">mem</span>;
<span class="doccomment">/// Runtime Vertex def is just a generic holder of &quot;dynamic vertex definitions&quot;</span>
<span class="comment">// This baby needs to be able to be copied....</span>
@ -187,7 +215,7 @@
<span class="comment">// https://github.com/tomaka/vulkano-examples/blob/gltf/gltf/gltf_system.rs</span>
<span class="ident">num_vertices</span> <span class="op">=</span> <span class="number">3</span>;
<span class="comment">// for (attribute_id, attribute) in primitive.attributes().enumerate() {</span>
@ -267,32 +295,58 @@
<span class="kw">let</span> <span class="ident">buffers_iter</span> <span class="op">=</span> <span class="self">self</span>.<span class="ident">buffers</span>.<span class="ident">clone</span>().<span class="ident">into_iter</span>();
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">attribs_iter</span> <span class="op">=</span> <span class="self">self</span>.<span class="ident">attributes</span>.<span class="ident">iter</span>().<span class="ident">map</span>(<span class="op">|</span><span class="kw-2">&amp;</span>(<span class="kw-2">ref</span> <span class="ident">name</span>, <span class="ident">buffer_id</span>, <span class="kw-2">ref</span> <span class="ident">infos</span>)<span class="op">|</span> {
<span class="kw">let</span> <span class="ident">attrib_loc</span> <span class="op">=</span> <span class="ident">interface</span>
.<span class="ident">elements</span>()
.<span class="ident">find</span>(<span class="op">|</span><span class="ident">e</span><span class="op">|</span> <span class="ident">e</span>.<span class="ident">name</span>.<span class="ident">as_ref</span>().<span class="ident">map</span>(<span class="op">|</span><span class="ident">n</span><span class="op">|</span> <span class="kw-2">&amp;</span><span class="ident">n</span>[..]) <span class="op">=</span><span class="op">=</span> <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span><span class="ident">name</span>[..]))
.<span class="ident">unwrap</span>()
.<span class="ident">location</span>.<span class="ident">start</span>;
(<span class="ident">attrib_loc</span> <span class="kw">as</span> <span class="ident">u32</span>, <span class="ident">buffer_id</span>, <span class="ident">AttributeInfo</span> { <span class="ident">offset</span>: <span class="ident">infos</span>.<span class="ident">offset</span>, <span class="ident">format</span>: <span class="ident">infos</span>.<span class="ident">format</span> })
}).<span class="ident">collect</span>::<span class="op">&lt;</span><span class="ident">Vec</span><span class="op">&lt;</span><span class="kw">_</span><span class="op">&gt;</span><span class="op">&gt;</span>();
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">attributes</span> <span class="op">=</span> <span class="ident">Vec</span>::<span class="ident">default</span>();
<span class="kw">for</span> <span class="ident">input</span> <span class="kw">in</span> <span class="ident">interface</span>.<span class="ident">elements</span>() {
<span class="ident">attributes</span>.<span class="ident">push</span>((
<span class="ident">input</span>.<span class="ident">location</span>.<span class="ident">start</span> <span class="kw">as</span> <span class="ident">u32</span>,
<span class="ident">input</span>.<span class="ident">location</span>.<span class="ident">start</span> <span class="kw">as</span> <span class="ident">u32</span>,
<span class="ident">AttributeInfo</span> { <span class="ident">offset</span>: <span class="number">0</span>, <span class="ident">format</span>: <span class="ident">input</span>.<span class="ident">format</span> }
));
<span class="macro">println</span><span class="macro">!</span>(<span class="string">&quot;{:?}&quot;</span>, <span class="ident">input</span>.<span class="ident">location</span>);
<span class="macro">println</span><span class="macro">!</span>(<span class="string">&quot;{:?}&quot;</span>, <span class="ident">input</span>.<span class="ident">format</span>);
<span class="macro">println</span><span class="macro">!</span>(<span class="string">&quot;{:?}&quot;</span>, <span class="ident">input</span>.<span class="ident">name</span>);
}
<span class="comment">// Add dummy attributes.</span>
<span class="comment">// Binding is</span>
<span class="comment">// let mut attribs_iter = self.attributes.iter().map(|&amp;(ref name, buffer_id, ref infos)| {</span>
<span class="comment">// let attrib_loc = interface</span>
<span class="comment">// .elements()</span>
<span class="comment">// .find(|e| e.name.as_ref().map(|n| &amp;n[..]) == Some(&amp;name[..]))</span>
<span class="comment">// .unwrap()</span>
<span class="comment">// .location.start;</span>
<span class="comment">//</span>
<span class="comment">// (</span>
<span class="comment">// attrib_loc as u32,</span>
<span class="comment">// buffer_id,</span>
<span class="comment">// AttributeInfo { offset: infos.offset, format: infos.format }</span>
<span class="comment">// )</span>
<span class="comment">// }).collect::&lt;Vec&lt;_&gt;&gt;();</span>
<span class="comment">// This does nothing?</span>
<span class="kw">for</span> <span class="ident">binding</span> <span class="kw">in</span> <span class="ident">interface</span>.<span class="ident">elements</span>() {
<span class="kw">if</span> <span class="ident">attribs_iter</span>.<span class="ident">iter</span>().<span class="ident">any</span>(<span class="op">|</span><span class="ident">a</span><span class="op">|</span> <span class="ident">a</span>.<span class="number">0</span> <span class="op">=</span><span class="op">=</span> <span class="ident">binding</span>.<span class="ident">location</span>.<span class="ident">start</span>) {
<span class="kw">if</span> <span class="ident">attributes</span>.<span class="ident">iter</span>().<span class="ident">any</span>(<span class="op">|</span><span class="ident">a</span><span class="op">|</span> <span class="ident">a</span>.<span class="number">0</span> <span class="op">=</span><span class="op">=</span> <span class="ident">binding</span>.<span class="ident">location</span>.<span class="ident">start</span>) {
<span class="kw">continue</span>;
}
<span class="ident">attribs_iter</span>.<span class="ident">push</span>((<span class="ident">binding</span>.<span class="ident">location</span>.<span class="ident">start</span>, <span class="number">0</span>,
<span class="ident">attributes</span>.<span class="ident">push</span>((<span class="ident">binding</span>.<span class="ident">location</span>.<span class="ident">start</span>, <span class="number">0</span>,
<span class="ident">AttributeInfo</span> { <span class="ident">offset</span>: <span class="number">0</span>, <span class="ident">format</span>: <span class="ident">binding</span>.<span class="ident">format</span> }));
}
<span class="comment">// let buffers = vec![</span>
<span class="comment">// (0, mem::size_of::&lt;T&gt;(), InputRate::Vertex),</span>
<span class="comment">// (1, mem::size_of::&lt;U&gt;(), InputRate::Instance),</span>
<span class="comment">// ].into_iter();</span>
<span class="comment">// The number of actually bound inputs</span>
<span class="kw">let</span> <span class="ident">buffers</span> <span class="op">=</span> <span class="macro">vec</span><span class="macro">!</span>[
(<span class="number">0</span>, <span class="ident">mem</span>::<span class="ident">size_of</span>::<span class="op">&lt;</span><span class="ident">i32</span><span class="op">&gt;</span>(), <span class="ident">InputRate</span>::<span class="ident">Vertex</span>),
(<span class="number">1</span>, <span class="ident">mem</span>::<span class="ident">size_of</span>::<span class="op">&lt;</span><span class="ident">i32</span><span class="op">&gt;</span>(), <span class="ident">InputRate</span>::<span class="ident">Vertex</span>),
(<span class="number">2</span>, <span class="ident">mem</span>::<span class="ident">size_of</span>::<span class="op">&lt;</span><span class="ident">i32</span><span class="op">&gt;</span>(), <span class="ident">InputRate</span>::<span class="ident">Vertex</span>),
(<span class="number">3</span>, <span class="ident">mem</span>::<span class="ident">size_of</span>::<span class="op">&lt;</span><span class="ident">i32</span><span class="op">&gt;</span>(), <span class="ident">InputRate</span>::<span class="ident">Vertex</span>),
(<span class="number">4</span>, <span class="ident">mem</span>::<span class="ident">size_of</span>::<span class="op">&lt;</span><span class="ident">i32</span><span class="op">&gt;</span>(), <span class="ident">InputRate</span>::<span class="ident">Vertex</span>),
(<span class="number">5</span>, <span class="ident">mem</span>::<span class="ident">size_of</span>::<span class="op">&lt;</span><span class="ident">i32</span><span class="op">&gt;</span>(), <span class="ident">InputRate</span>::<span class="ident">Vertex</span>),
(<span class="number">6</span>, <span class="ident">mem</span>::<span class="ident">size_of</span>::<span class="op">&lt;</span><span class="ident">i32</span><span class="op">&gt;</span>(), <span class="ident">InputRate</span>::<span class="ident">Vertex</span>),
].<span class="ident">into_iter</span>();
<span class="prelude-val">Ok</span>((<span class="ident">buffers_iter</span>, <span class="ident">attribs_iter</span>.<span class="ident">into_iter</span>()))
<span class="prelude-val">Ok</span>((<span class="ident">buffers</span>, <span class="ident">attributes</span>.<span class="ident">into_iter</span>()))
}
}
@ -308,5 +362,6 @@
<span class="number">1</span> <span class="comment">// Number of instances</span>
)
}
}</pre></div>
}
</pre></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 = "sfml_rust";</script><script src="../../../../aliases.js"></script><script src="../../../../main.js"></script><script src="../../../../source-script.js"></script><script src="../../../../source-files.js"></script><script defer src="../../../../search-index.js"></script></body></html>

@ -0,0 +1,30 @@
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2020-02-03T23:42:36-08:00
====== CanvasFont ======
< Link to Documentation > [[~/source/Trac3r-rust/doc/sfml_rust/vkprocessor/struct.VkProcessor.html|Documentation]]
===== Details =====
<details>
**<notes>**
--------------------
===== Data =====
**Borrowed:**
**Owns:**
--------------------

@ -0,0 +1,29 @@
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2020-02-03T23:57:15-08:00
====== CanvasFrame ======
[[~/source/Trac3r-rust/doc/sfml_rust/canvas_frame/struct.CanvasFrame.html|Documentation]]
===== Details =====
Canvas frame
**<notes>**
--------------------
===== Data =====
**Borrowed:**
**Owns:**
--------------------

@ -0,0 +1,30 @@
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2020-02-03T23:42:33-08:00
====== CanvasImage ======
< Link to Documentation > [[~/source/Trac3r-rust/doc/sfml_rust/vkprocessor/struct.VkProcessor.html|Documentation]]
===== Details =====
<details>
**<notes>**
--------------------
===== Data =====
**Borrowed:**
**Owns:**
--------------------

@ -0,0 +1,67 @@
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2020-02-03T23:30:41-08:00
====== CanvasState ======
[[~/source/Trac3r-rust/doc/sfml_rust/canvas/struct.CanvasState.html|Documentation]]
===== Details =====
The gist of this class is basically draw everything 2D and have all the resources to do so. It holds binary buffer blobs for resources, it's own compiled shaders, render_pass, and all of the vertex buffers in order to draw those binary buffer blobs.
**window_size_dependent_setup** is currently hosted inside this class. If a second graphics class is added I will add some shared library for this to live.
**render_pass **the render pass is created with our depth stencil data **D32Sfloat_S8Uint** and the color attachment for the render output. This is highly 2D dependent
===== Interface =====
Generally there is a get for handle and pointer and a load (or create) for each of the stored items.
The class then interacts with these stored items by taking and executing a list of operations to perform on them.
CanvasFrame
--------------------
===== Data =====
**Borrowed:**
queue
device
**Owns:**
render_pass
[[CanvasImage]]
[[CanvasTexture]]
[[CanvasFont]]
CompiledGraphicsPipeline
colored_vertex_buffer
image_vertex_buffer
text_instances
--------------------

@ -0,0 +1,30 @@
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2020-02-03T23:43:28-08:00
====== CanvasTexture ======
< Link to Documentation > [[~/source/Trac3r-rust/doc/sfml_rust/vkprocessor/struct.VkProcessor.html|Documentation]]
===== Details =====
<details>
**<notes>**
--------------------
===== Data =====
**Borrowed:**
**Owns:**
--------------------

@ -0,0 +1,30 @@
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2020-02-03T22:18:20-08:00
====== CompuState ======
[[~/source/Trac3r-rust/doc/sfml_rust/compu_state/struct.CompuState.html|Documentation]]
===== Details =====
Compustate is a very simplified sibling to the CanvasState. We only hold the binary [[~/source/Trac3r-rust/doc/sfml_rust/compu_buffer/struct.CompuBuffers.html|CompuBuffers]] and the compiled kernels to compute them.
--------------------
===== Data =====
**Borrowed:**
device
**Owns:**
[[~/source/Trac3r-rust/doc/sfml_rust/compu_buffer/struct.CompuBuffers.html|CompuBuffers]]
CompuKernel
--------------------

@ -3,11 +3,8 @@ Wiki-Format: zim 0.4
Creation-Date: 2020-01-22T18:39:43-08:00
====== Dynamic Vertex ======
Created Wednesday 22 January 2020
{{{code: lang="rust" linenumbers="True"
#[derive(Default, Debug, Clone)]
pub struct RuntimeVertexDef {
buffers: Vec<(u32, usize, InputRate)>, // (attribute id, stride, Vertex or Instance data)
@ -63,3 +60,6 @@ unsafe impl VertexSource<Vec<Arc<dyn BufferAccess + Send + Sync>>> for RuntimeVe
}
}
}}}

@ -0,0 +1,13 @@
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2020-02-03T22:11:42-08:00
====== Home ======
[[~/source/Trac3r-rust/doc/sfml_rust/index.html|Documentation Root]]
[[VkProcessor]] [[~/source/Trac3r-rust/doc/sfml_rust/vkprocessor/struct.VkProcessor.html|===========]]
[[CanvasState]] [[~/source/Trac3r-rust/doc/sfml_rust/canvas/canvas_state/index.html|===========]]
[[CompuState]] [[~/source/Trac3r-rust/doc/sfml_rust/compute/compu_state/struct.CompuState.html|===========]]

@ -0,0 +1,42 @@
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2020-02-03T23:31:13-08:00
====== TemplateStructPage ======
< Link to Documentation > [[~/source/Trac3r-rust/doc/sfml_rust/vkprocessor/struct.VkProcessor.html|Documentation]]
===== Details =====
<details>
**<notes>**
--------------------
===== Data =====
**Borrowed:**
**Owns:**
--------------------

File diff suppressed because one or more lines are too long

@ -10,3 +10,7 @@ endofline=unix
disable_trash=False
profile=
[JournalPlugin]
namespace=Journal
granularity=Day

@ -0,0 +1,3 @@
rm -rf doc
rsync -avzh target/doc .
Loading…
Cancel
Save