272 lines
50 KiB
HTML
272 lines
50 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.5"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>dl: dl/vk/dl_vertex.h 源文件</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">dl
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- 制作者 Doxygen 1.9.5 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>首页</span></a></li>
|
|
<li><a href="pages.html"><span>相关页面</span></a></li>
|
|
<li><a href="namespaces.html"><span>命名空间</span></a></li>
|
|
<li><a href="concepts.html"><span>概念</span></a></li>
|
|
<li><a href="annotated.html"><span>类</span></a></li>
|
|
<li class="current"><a href="files.html"><span>文件</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>文件列表</span></a></li>
|
|
<li><a href="globals.html"><span>文件成员</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_17297ffb27ce571941f5fb5008f01a1f.html">dl</a></li><li class="navelem"><a class="el" href="dir_f3f071c0dbef45ad74a3835f45225495.html">vk</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">dl_vertex.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="dl__vertex_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include <vulkan/vulkan.h></span></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include "<a class="code" href="vk_2dl__type_8h.html">dl_type.h</a>"</span></div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacedl.html">dl</a></div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span>{</div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex.html"> 21</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structdl_1_1_vertex.html">Vertex</a></div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span>{</div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex.html#a47b3f24eb95fb9c3d490b94ab9e7387a"> 23</a></span> <a class="code hl_typedef" href="namespacedl.html#a7d07deda01ae45d04f3323a4e6445e51">Position3</a> <a class="code hl_variable" href="structdl_1_1_vertex.html#a47b3f24eb95fb9c3d490b94ab9e7387a">_pos</a>;</div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex.html#ad1441be5e3ceb85c8013cb1b6c9ce4de"> 24</a></span> <a class="code hl_typedef" href="namespacedl.html#a7d07deda01ae45d04f3323a4e6445e51">Position3</a> <a class="code hl_variable" href="structdl_1_1_vertex.html#ad1441be5e3ceb85c8013cb1b6c9ce4de">_uv</a>;</div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex.html#a3e3a155631d1429746de9eb7783c6fe5"> 25</a></span> <a class="code hl_typedef" href="namespacedl.html#a7d07deda01ae45d04f3323a4e6445e51">Position3</a> <a class="code hl_variable" href="structdl_1_1_vertex.html#a3e3a155631d1429746de9eb7783c6fe5">_normal</a>;</div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex.html#ab5918886d9478913376808d7be90715f"> 26</a></span> <a class="code hl_typedef" href="namespacedl.html#a7d07deda01ae45d04f3323a4e6445e51">Position3</a> <a class="code hl_variable" href="structdl_1_1_vertex.html#ab5918886d9478913376808d7be90715f">_tangent</a>;</div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex.html#a25969966c0fb482a4f4c041614f0c992"> 27</a></span> <span class="keyword">static</span> VkVertexInputBindingDescription <a class="code hl_function" href="structdl_1_1_vertex.html#a25969966c0fb482a4f4c041614f0c992">getBindingDescription</a>()</div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> {</div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> VkVertexInputBindingDescription bindingDescription{};</div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> bindingDescription.binding = 0;</div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> bindingDescription.stride = <span class="keyword">sizeof</span>(<a class="code hl_struct" href="structdl_1_1_vertex.html">Vertex</a>);</div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> bindingDescription.inputRate = VK_VERTEX_INPUT_RATE_VERTEX;</div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keywordflow">return</span> bindingDescription;</div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> }</div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex.html#a7de88600dada4eaf6413bf976b52a0b1"> 35</a></span> <span class="keyword">static</span> std::array<VkVertexInputAttributeDescription, 4> <a class="code hl_function" href="structdl_1_1_vertex.html#a7de88600dada4eaf6413bf976b52a0b1">getAttributeDescriptions</a>()</div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> {</div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> std::array<VkVertexInputAttributeDescription, 4> attributeDescriptions{};</div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> attributeDescriptions[0].binding = 0;</div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> attributeDescriptions[0].location = 0;</div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> attributeDescriptions[0].format = VK_FORMAT_R32G32B32_SFLOAT;</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> attributeDescriptions[0].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex.html">Vertex</a>, <a class="code hl_variable" href="structdl_1_1_vertex.html#a47b3f24eb95fb9c3d490b94ab9e7387a">_pos</a>);</div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> attributeDescriptions[1].binding = 0;</div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> attributeDescriptions[1].location = 1;</div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> attributeDescriptions[1].format = VK_FORMAT_R32G32_SFLOAT;</div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> attributeDescriptions[1].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex.html">Vertex</a>, <a class="code hl_variable" href="structdl_1_1_vertex.html#ad1441be5e3ceb85c8013cb1b6c9ce4de">_uv</a>);</div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> attributeDescriptions[2].binding = 0;</div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> attributeDescriptions[2].location = 2;</div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> attributeDescriptions[2].format = VK_FORMAT_R32G32B32_SFLOAT;</div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> attributeDescriptions[2].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex.html">Vertex</a>, <a class="code hl_variable" href="structdl_1_1_vertex.html#a3e3a155631d1429746de9eb7783c6fe5">_normal</a>);</div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> attributeDescriptions[3].binding = 0;</div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> attributeDescriptions[3].location = 3;</div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> attributeDescriptions[3].format = VK_FORMAT_R32G32B32_SFLOAT;</div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> attributeDescriptions[3].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex.html">Vertex</a>, <a class="code hl_variable" href="structdl_1_1_vertex.html#ab5918886d9478913376808d7be90715f">_tangent</a>);</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keywordflow">return</span> attributeDescriptions;</div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> }</div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span>};</div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="namespacedl.html#a71f73559ae9dad4fbd456357b793e7e2"> 58</a></span><span class="keyword">constexpr</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="namespacedl.html#a71f73559ae9dad4fbd456357b793e7e2">NUM_BONE</a> = 4;</div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_bone.html"> 60</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structdl_1_1_vertex_bone.html">VertexBone</a></div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span>{</div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_bone.html#a29b0be2bf0e36a330ea6f2785baaa0f0"> 62</a></span> <a class="code hl_typedef" href="namespacedl.html#a7d07deda01ae45d04f3323a4e6445e51">Position3</a> <a class="code hl_variable" href="structdl_1_1_vertex_bone.html#a29b0be2bf0e36a330ea6f2785baaa0f0">_pos</a>;</div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_bone.html#a87bdff7f9d0499489d68f997800e25d1"> 63</a></span> <a class="code hl_typedef" href="namespacedl.html#a7ee6a6f8d53fc64ade71aba098184fa9">Position2</a> <a class="code hl_variable" href="structdl_1_1_vertex_bone.html#a87bdff7f9d0499489d68f997800e25d1">_uv</a>;</div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_bone.html#a79f94f226107fa1931b217d11501e4d9"> 64</a></span> <a class="code hl_typedef" href="namespacedl.html#a7d07deda01ae45d04f3323a4e6445e51">Position3</a> <a class="code hl_variable" href="structdl_1_1_vertex_bone.html#a79f94f226107fa1931b217d11501e4d9">_normal</a>;</div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_bone.html#a3c6f8d084a0b62538241d6ad309b59ae"> 65</a></span> <a class="code hl_typedef" href="namespacedl.html#a7d07deda01ae45d04f3323a4e6445e51">Position3</a> <a class="code hl_variable" href="structdl_1_1_vertex_bone.html#a3c6f8d084a0b62538241d6ad309b59ae">_tangent</a>;</div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_bone.html#aedfd0df41e1afd9405ee202a99f03e24"> 66</a></span> <a class="code hl_typedef" href="namespacedl.html#a7d07deda01ae45d04f3323a4e6445e51">Position3</a> <a class="code hl_variable" href="structdl_1_1_vertex_bone.html#aedfd0df41e1afd9405ee202a99f03e24">_boneWeight</a>;</div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_bone.html#a2e6084e2379d8f0e2293fc5ade5a2545"> 67</a></span> uint8_t <a class="code hl_variable" href="structdl_1_1_vertex_bone.html#a2e6084e2379d8f0e2293fc5ade5a2545">_boneID</a>[<a class="code hl_variable" href="namespacedl.html#a71f73559ae9dad4fbd456357b793e7e2">NUM_BONE</a>];</div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_bone.html#a9eb04b3bfe6711d739219575be95de75"> 68</a></span> <span class="keyword">static</span> VkVertexInputBindingDescription <a class="code hl_function" href="structdl_1_1_vertex_bone.html#a9eb04b3bfe6711d739219575be95de75">getBindingDescription</a>()</div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> {</div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> VkVertexInputBindingDescription bindingDescription{};</div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> bindingDescription.binding = 0;</div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> bindingDescription.stride = <span class="keyword">sizeof</span>(<a class="code hl_struct" href="structdl_1_1_vertex_bone.html">VertexBone</a>);</div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> bindingDescription.inputRate = VK_VERTEX_INPUT_RATE_VERTEX;</div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keywordflow">return</span> bindingDescription;</div>
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> }</div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_bone.html#ac6e6d14c4571b2e78ee7b6a37f73164f"> 76</a></span> <span class="keyword">static</span> std::array<VkVertexInputAttributeDescription, 6> <a class="code hl_function" href="structdl_1_1_vertex_bone.html#ac6e6d14c4571b2e78ee7b6a37f73164f">getAttributeDescriptions</a>()</div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> {</div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> std::array<VkVertexInputAttributeDescription, 6> attributeDescriptions{};</div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> attributeDescriptions[0].binding = 0;</div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> attributeDescriptions[0].location = 0;</div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> attributeDescriptions[0].format = VK_FORMAT_R32G32B32_SFLOAT;</div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> attributeDescriptions[0].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex_bone.html">VertexBone</a>, <a class="code hl_variable" href="structdl_1_1_vertex_bone.html#a29b0be2bf0e36a330ea6f2785baaa0f0">_pos</a>);</div>
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> attributeDescriptions[1].binding = 0;</div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> attributeDescriptions[1].location = 1;</div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> attributeDescriptions[1].format = VK_FORMAT_R32G32_SFLOAT;</div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> attributeDescriptions[1].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex_bone.html">VertexBone</a>, <a class="code hl_variable" href="structdl_1_1_vertex_bone.html#a87bdff7f9d0499489d68f997800e25d1">_uv</a>);</div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> attributeDescriptions[2].binding = 0;</div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> attributeDescriptions[2].location = 2;</div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> attributeDescriptions[2].format = VK_FORMAT_R32G32B32_SFLOAT;</div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> attributeDescriptions[2].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex_bone.html">VertexBone</a>, <a class="code hl_variable" href="structdl_1_1_vertex_bone.html#a79f94f226107fa1931b217d11501e4d9">_normal</a>);</div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> attributeDescriptions[3].binding = 0;</div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> attributeDescriptions[3].location = 3;</div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> attributeDescriptions[3].format = VK_FORMAT_R32G32B32_SFLOAT;</div>
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> attributeDescriptions[3].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex_bone.html">VertexBone</a>, <a class="code hl_variable" href="structdl_1_1_vertex_bone.html#a3c6f8d084a0b62538241d6ad309b59ae">_tangent</a>);</div>
|
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> attributeDescriptions[4].binding = 0;</div>
|
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> attributeDescriptions[4].location = 4;</div>
|
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> attributeDescriptions[4].format = VK_FORMAT_R32G32B32_SFLOAT;</div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> attributeDescriptions[4].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex_bone.html">VertexBone</a>, <a class="code hl_variable" href="structdl_1_1_vertex_bone.html#aedfd0df41e1afd9405ee202a99f03e24">_boneWeight</a>);</div>
|
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> attributeDescriptions[5].binding = 0;</div>
|
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> attributeDescriptions[5].location = 5;</div>
|
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> attributeDescriptions[5].format = VK_FORMAT_R8G8B8A8_UINT;</div>
|
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> attributeDescriptions[5].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex_bone.html">VertexBone</a>, <a class="code hl_variable" href="structdl_1_1_vertex_bone.html#a2e6084e2379d8f0e2293fc5ade5a2545">_boneID</a>);</div>
|
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
|
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">return</span> attributeDescriptions;</div>
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> }</div>
|
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span>};</div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="structdl_1_1_material.html"> 109</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structdl_1_1_material.html">Material</a></div>
|
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span>{</div>
|
|
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="structdl_1_1_material.html#a4eed2d3f6382108914a86c13a7c5c0ef"> 111</a></span> <a class="code hl_typedef" href="namespacedl.html#aa36525eecbb6603a7ae4a63340c205f9">Position4</a> <a class="code hl_variable" href="structdl_1_1_material.html#a4eed2d3f6382108914a86c13a7c5c0ef">_diffuseAlbedo</a>;<span class="comment">//漫反射率</span></div>
|
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="structdl_1_1_material.html#a5ec7a0f7a3ff8b42b8b28a5e2e58ded2"> 112</a></span> <a class="code hl_typedef" href="namespacedl.html#a7d07deda01ae45d04f3323a4e6445e51">Position3</a> <a class="code hl_variable" href="structdl_1_1_material.html#a5ec7a0f7a3ff8b42b8b28a5e2e58ded2">_fresnelR0</a>; <span class="comment">//菲涅耳系数</span></div>
|
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="structdl_1_1_material.html#a448ab03a441d143797d1939704fca696"> 113</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="structdl_1_1_material.html#a448ab03a441d143797d1939704fca696">_roughness</a>; <span class="comment">//粗糙度</span></div>
|
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
|
|
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="structdl_1_1_material.html#a98829f8d7e27f6c2cddaf84575015925"> 115</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structdl_1_1_material.html#a98829f8d7e27f6c2cddaf84575015925">operator==</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structdl_1_1_material.html">Material</a>& b)<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="structdl_1_1_material.html#a448ab03a441d143797d1939704fca696">_roughness</a> == b.<a class="code hl_variable" href="structdl_1_1_material.html#a448ab03a441d143797d1939704fca696">_roughness</a></div>
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> && <a class="code hl_variable" href="structdl_1_1_material.html#a5ec7a0f7a3ff8b42b8b28a5e2e58ded2">_fresnelR0</a> == b.<a class="code hl_variable" href="structdl_1_1_material.html#a5ec7a0f7a3ff8b42b8b28a5e2e58ded2">_fresnelR0</a></div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> && <a class="code hl_variable" href="structdl_1_1_material.html#a4eed2d3f6382108914a86c13a7c5c0ef">_diffuseAlbedo</a> == b.<a class="code hl_variable" href="structdl_1_1_material.html#a4eed2d3f6382108914a86c13a7c5c0ef">_diffuseAlbedo</a>;</div>
|
|
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> }</div>
|
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span>};</div>
|
|
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> </div>
|
|
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
|
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex2_d.html"> 125</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structdl_1_1_vertex2_d.html">Vertex2D</a></div>
|
|
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span>{</div>
|
|
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex2_d.html#a508191749d4b81d6b7bd01ce314ca065"> 127</a></span> <a class="code hl_typedef" href="namespacedl.html#a7d07deda01ae45d04f3323a4e6445e51">Position3</a> <a class="code hl_variable" href="structdl_1_1_vertex2_d.html#a508191749d4b81d6b7bd01ce314ca065">_pos</a>;</div>
|
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex2_d.html#add7da1e5e7eed84255864fa1b1ffd043"> 128</a></span> <a class="code hl_typedef" href="namespacedl.html#ac3cfd79939c705954635e85e24b44b93">Color</a> <a class="code hl_variable" href="structdl_1_1_vertex2_d.html#add7da1e5e7eed84255864fa1b1ffd043">_color</a>;</div>
|
|
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex2_d.html#a503f079fe00628cfb688fdf3e444a246"> 129</a></span> <a class="code hl_typedef" href="namespacedl.html#a7ee6a6f8d53fc64ade71aba098184fa9">Position2</a> <a class="code hl_variable" href="structdl_1_1_vertex2_d.html#a503f079fe00628cfb688fdf3e444a246">_uv</a>;</div>
|
|
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex2_d.html#abe1d7d59c46f2513eea5718c76fe3159"> 130</a></span> <span class="keyword">static</span> VkVertexInputBindingDescription <a class="code hl_function" href="structdl_1_1_vertex2_d.html#abe1d7d59c46f2513eea5718c76fe3159">getBindingDescription</a>()</div>
|
|
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> {</div>
|
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> VkVertexInputBindingDescription bindingDescription{};</div>
|
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> bindingDescription.binding = 0;</div>
|
|
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> bindingDescription.stride = <span class="keyword">sizeof</span>(<a class="code hl_struct" href="structdl_1_1_vertex2_d.html">Vertex2D</a>);</div>
|
|
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> bindingDescription.inputRate = VK_VERTEX_INPUT_RATE_VERTEX;</div>
|
|
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <span class="keywordflow">return</span> bindingDescription;</div>
|
|
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> }</div>
|
|
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex2_d.html#a4bb101fb2f9254ad2b2cd3eee9910b2b"> 138</a></span> <span class="keyword">static</span> std::array<VkVertexInputAttributeDescription, 3> <a class="code hl_function" href="structdl_1_1_vertex2_d.html#a4bb101fb2f9254ad2b2cd3eee9910b2b">getAttributeDescriptions</a>()</div>
|
|
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> {</div>
|
|
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> std::array<VkVertexInputAttributeDescription, 3> attributeDescriptions{};</div>
|
|
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> attributeDescriptions[0].binding = 0;</div>
|
|
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> attributeDescriptions[0].location = 0;</div>
|
|
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> attributeDescriptions[0].format = VK_FORMAT_R32G32B32_SFLOAT;</div>
|
|
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> attributeDescriptions[0].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex2_d.html">Vertex2D</a>, <a class="code hl_variable" href="structdl_1_1_vertex2_d.html#a508191749d4b81d6b7bd01ce314ca065">_pos</a>);</div>
|
|
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> attributeDescriptions[1].binding = 0;</div>
|
|
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> attributeDescriptions[1].location = 1;</div>
|
|
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> attributeDescriptions[1].format = VK_FORMAT_R32G32B32A32_SFLOAT;</div>
|
|
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> attributeDescriptions[1].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex2_d.html">Vertex2D</a>, <a class="code hl_variable" href="structdl_1_1_vertex2_d.html#add7da1e5e7eed84255864fa1b1ffd043">_color</a>);</div>
|
|
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> attributeDescriptions[2].binding = 0;</div>
|
|
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> attributeDescriptions[2].location = 2;</div>
|
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> attributeDescriptions[2].format = VK_FORMAT_R32G32_SFLOAT;</div>
|
|
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> attributeDescriptions[2].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex2_d.html">Vertex2D</a>, <a class="code hl_variable" href="structdl_1_1_vertex2_d.html#a503f079fe00628cfb688fdf3e444a246">_uv</a>);</div>
|
|
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <span class="keywordflow">return</span> attributeDescriptions;</div>
|
|
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> }</div>
|
|
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span>};</div>
|
|
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> </div>
|
|
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_gfx.html"> 158</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structdl_1_1_vertex_gfx.html">VertexGfx</a></div>
|
|
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span>{</div>
|
|
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_gfx.html#a4d10919323e853b4a679ca0ea9d14ba3"> 160</a></span> <a class="code hl_typedef" href="namespacedl.html#a7d07deda01ae45d04f3323a4e6445e51">Position3</a> <a class="code hl_variable" href="structdl_1_1_vertex_gfx.html#a4d10919323e853b4a679ca0ea9d14ba3">_pos</a>;</div>
|
|
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_gfx.html#ade6e2df604386644ae299cfd338a0f01"> 161</a></span> <a class="code hl_typedef" href="namespacedl.html#ac3cfd79939c705954635e85e24b44b93">Color</a> <a class="code hl_variable" href="structdl_1_1_vertex_gfx.html#ade6e2df604386644ae299cfd338a0f01">_color</a>;</div>
|
|
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_gfx.html#ad5751b408973ced201af6a15672ca6af"> 162</a></span> <span class="keyword">static</span> VkVertexInputBindingDescription <a class="code hl_function" href="structdl_1_1_vertex_gfx.html#ad5751b408973ced201af6a15672ca6af">getBindingDescription</a>()</div>
|
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> {</div>
|
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> VkVertexInputBindingDescription bindingDescription{};</div>
|
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> bindingDescription.binding = 0;</div>
|
|
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> bindingDescription.stride = <span class="keyword">sizeof</span>(<a class="code hl_struct" href="structdl_1_1_vertex_gfx.html">VertexGfx</a>);</div>
|
|
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> bindingDescription.inputRate = VK_VERTEX_INPUT_RATE_VERTEX;</div>
|
|
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> <span class="keywordflow">return</span> bindingDescription;</div>
|
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> }</div>
|
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"><a class="line" href="structdl_1_1_vertex_gfx.html#aa9a145daac7266ca28809d4baffdf462"> 170</a></span> <span class="keyword">static</span> std::array<VkVertexInputAttributeDescription, 2> <a class="code hl_function" href="structdl_1_1_vertex_gfx.html#aa9a145daac7266ca28809d4baffdf462">getAttributeDescriptions</a>()</div>
|
|
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> {</div>
|
|
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> std::array<VkVertexInputAttributeDescription, 2> attributeDescriptions{};</div>
|
|
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> attributeDescriptions[0].binding = 0;</div>
|
|
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> attributeDescriptions[0].location = 0;</div>
|
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> attributeDescriptions[0].format = VK_FORMAT_R32G32B32_SFLOAT;</div>
|
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> attributeDescriptions[0].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex_gfx.html">VertexGfx</a>, <a class="code hl_variable" href="structdl_1_1_vertex_gfx.html#a4d10919323e853b4a679ca0ea9d14ba3">_pos</a>);</div>
|
|
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> attributeDescriptions[1].binding = 0;</div>
|
|
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> attributeDescriptions[1].location = 1;</div>
|
|
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> attributeDescriptions[1].format = VK_FORMAT_R32G32B32A32_SFLOAT;</div>
|
|
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> attributeDescriptions[1].offset = offsetof(<a class="code hl_struct" href="structdl_1_1_vertex_gfx.html">VertexGfx</a>, <a class="code hl_variable" href="structdl_1_1_vertex_gfx.html#ade6e2df604386644ae299cfd338a0f01">_color</a>);</div>
|
|
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> <span class="keywordflow">return</span> attributeDescriptions;</div>
|
|
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> }</div>
|
|
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span>};</div>
|
|
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> </div>
|
|
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span>}</div>
|
|
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> </div>
|
|
<div class="ttc" id="anamespacedl_html"><div class="ttname"><a href="namespacedl.html">dl</a></div><div class="ttdef"><b>Definition:</b> <a href="dl__array2_8h_source.html#l00016">dl_array2.h:17</a></div></div>
|
|
<div class="ttc" id="anamespacedl_html_a71f73559ae9dad4fbd456357b793e7e2"><div class="ttname"><a href="namespacedl.html#a71f73559ae9dad4fbd456357b793e7e2">dl::NUM_BONE</a></div><div class="ttdeci">constexpr size_t NUM_BONE</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00058">dl_vertex.h:58</a></div></div>
|
|
<div class="ttc" id="anamespacedl_html_a7d07deda01ae45d04f3323a4e6445e51"><div class="ttname"><a href="namespacedl.html#a7d07deda01ae45d04f3323a4e6445e51">dl::Position3</a></div><div class="ttdeci">std::array< Float, 3 > Position3</div><div class="ttdef"><b>Definition:</b> <a href="dl__type__def_8h_source.html#l00041">dl_type_def.h:41</a></div></div>
|
|
<div class="ttc" id="anamespacedl_html_a7ee6a6f8d53fc64ade71aba098184fa9"><div class="ttname"><a href="namespacedl.html#a7ee6a6f8d53fc64ade71aba098184fa9">dl::Position2</a></div><div class="ttdeci">std::array< Float, 2 > Position2</div><div class="ttdef"><b>Definition:</b> <a href="dl__type__def_8h_source.html#l00040">dl_type_def.h:40</a></div></div>
|
|
<div class="ttc" id="anamespacedl_html_aa36525eecbb6603a7ae4a63340c205f9"><div class="ttname"><a href="namespacedl.html#aa36525eecbb6603a7ae4a63340c205f9">dl::Position4</a></div><div class="ttdeci">std::array< Float, 4 > Position4</div><div class="ttdef"><b>Definition:</b> <a href="dl__type__def_8h_source.html#l00042">dl_type_def.h:42</a></div></div>
|
|
<div class="ttc" id="anamespacedl_html_ac3cfd79939c705954635e85e24b44b93"><div class="ttname"><a href="namespacedl.html#ac3cfd79939c705954635e85e24b44b93">dl::Color</a></div><div class="ttdeci">std::array< float, 4 > Color</div><div class="ttdef"><b>Definition:</b> <a href="dl__type__def_8h_source.html#l00049">dl_type_def.h:49</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_material_html"><div class="ttname"><a href="structdl_1_1_material.html">dl::Material</a></div><div class="ttdoc">材质</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00109">dl_vertex.h:110</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_material_html_a448ab03a441d143797d1939704fca696"><div class="ttname"><a href="structdl_1_1_material.html#a448ab03a441d143797d1939704fca696">dl::Material::_roughness</a></div><div class="ttdeci">float _roughness</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00113">dl_vertex.h:113</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_material_html_a4eed2d3f6382108914a86c13a7c5c0ef"><div class="ttname"><a href="structdl_1_1_material.html#a4eed2d3f6382108914a86c13a7c5c0ef">dl::Material::_diffuseAlbedo</a></div><div class="ttdeci">Position4 _diffuseAlbedo</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00111">dl_vertex.h:111</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_material_html_a5ec7a0f7a3ff8b42b8b28a5e2e58ded2"><div class="ttname"><a href="structdl_1_1_material.html#a5ec7a0f7a3ff8b42b8b28a5e2e58ded2">dl::Material::_fresnelR0</a></div><div class="ttdeci">Position3 _fresnelR0</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00112">dl_vertex.h:112</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_material_html_a98829f8d7e27f6c2cddaf84575015925"><div class="ttname"><a href="structdl_1_1_material.html#a98829f8d7e27f6c2cddaf84575015925">dl::Material::operator==</a></div><div class="ttdeci">bool operator==(const Material &b) const</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00115">dl_vertex.h:115</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex2_d_html"><div class="ttname"><a href="structdl_1_1_vertex2_d.html">dl::Vertex2D</a></div><div class="ttdoc">2d顶点</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00125">dl_vertex.h:126</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex2_d_html_a4bb101fb2f9254ad2b2cd3eee9910b2b"><div class="ttname"><a href="structdl_1_1_vertex2_d.html#a4bb101fb2f9254ad2b2cd3eee9910b2b">dl::Vertex2D::getAttributeDescriptions</a></div><div class="ttdeci">static std::array< VkVertexInputAttributeDescription, 3 > getAttributeDescriptions()</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00138">dl_vertex.h:138</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex2_d_html_a503f079fe00628cfb688fdf3e444a246"><div class="ttname"><a href="structdl_1_1_vertex2_d.html#a503f079fe00628cfb688fdf3e444a246">dl::Vertex2D::_uv</a></div><div class="ttdeci">Position2 _uv</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00129">dl_vertex.h:129</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex2_d_html_a508191749d4b81d6b7bd01ce314ca065"><div class="ttname"><a href="structdl_1_1_vertex2_d.html#a508191749d4b81d6b7bd01ce314ca065">dl::Vertex2D::_pos</a></div><div class="ttdeci">Position3 _pos</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00127">dl_vertex.h:127</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex2_d_html_abe1d7d59c46f2513eea5718c76fe3159"><div class="ttname"><a href="structdl_1_1_vertex2_d.html#abe1d7d59c46f2513eea5718c76fe3159">dl::Vertex2D::getBindingDescription</a></div><div class="ttdeci">static VkVertexInputBindingDescription getBindingDescription()</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00130">dl_vertex.h:130</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex2_d_html_add7da1e5e7eed84255864fa1b1ffd043"><div class="ttname"><a href="structdl_1_1_vertex2_d.html#add7da1e5e7eed84255864fa1b1ffd043">dl::Vertex2D::_color</a></div><div class="ttdeci">Color _color</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00128">dl_vertex.h:128</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_bone_html"><div class="ttname"><a href="structdl_1_1_vertex_bone.html">dl::VertexBone</a></div><div class="ttdoc">3d顶点(带骨骼)</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00060">dl_vertex.h:61</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_bone_html_a29b0be2bf0e36a330ea6f2785baaa0f0"><div class="ttname"><a href="structdl_1_1_vertex_bone.html#a29b0be2bf0e36a330ea6f2785baaa0f0">dl::VertexBone::_pos</a></div><div class="ttdeci">Position3 _pos</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00062">dl_vertex.h:62</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_bone_html_a2e6084e2379d8f0e2293fc5ade5a2545"><div class="ttname"><a href="structdl_1_1_vertex_bone.html#a2e6084e2379d8f0e2293fc5ade5a2545">dl::VertexBone::_boneID</a></div><div class="ttdeci">uint8_t _boneID[NUM_BONE]</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00067">dl_vertex.h:67</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_bone_html_a3c6f8d084a0b62538241d6ad309b59ae"><div class="ttname"><a href="structdl_1_1_vertex_bone.html#a3c6f8d084a0b62538241d6ad309b59ae">dl::VertexBone::_tangent</a></div><div class="ttdeci">Position3 _tangent</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00065">dl_vertex.h:65</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_bone_html_a79f94f226107fa1931b217d11501e4d9"><div class="ttname"><a href="structdl_1_1_vertex_bone.html#a79f94f226107fa1931b217d11501e4d9">dl::VertexBone::_normal</a></div><div class="ttdeci">Position3 _normal</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00064">dl_vertex.h:64</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_bone_html_a87bdff7f9d0499489d68f997800e25d1"><div class="ttname"><a href="structdl_1_1_vertex_bone.html#a87bdff7f9d0499489d68f997800e25d1">dl::VertexBone::_uv</a></div><div class="ttdeci">Position2 _uv</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00063">dl_vertex.h:63</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_bone_html_a9eb04b3bfe6711d739219575be95de75"><div class="ttname"><a href="structdl_1_1_vertex_bone.html#a9eb04b3bfe6711d739219575be95de75">dl::VertexBone::getBindingDescription</a></div><div class="ttdeci">static VkVertexInputBindingDescription getBindingDescription()</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00068">dl_vertex.h:68</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_bone_html_ac6e6d14c4571b2e78ee7b6a37f73164f"><div class="ttname"><a href="structdl_1_1_vertex_bone.html#ac6e6d14c4571b2e78ee7b6a37f73164f">dl::VertexBone::getAttributeDescriptions</a></div><div class="ttdeci">static std::array< VkVertexInputAttributeDescription, 6 > getAttributeDescriptions()</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00076">dl_vertex.h:76</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_bone_html_aedfd0df41e1afd9405ee202a99f03e24"><div class="ttname"><a href="structdl_1_1_vertex_bone.html#aedfd0df41e1afd9405ee202a99f03e24">dl::VertexBone::_boneWeight</a></div><div class="ttdeci">Position3 _boneWeight</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00066">dl_vertex.h:66</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_gfx_html"><div class="ttname"><a href="structdl_1_1_vertex_gfx.html">dl::VertexGfx</a></div><div class="ttdoc">顶点</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00158">dl_vertex.h:159</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_gfx_html_a4d10919323e853b4a679ca0ea9d14ba3"><div class="ttname"><a href="structdl_1_1_vertex_gfx.html#a4d10919323e853b4a679ca0ea9d14ba3">dl::VertexGfx::_pos</a></div><div class="ttdeci">Position3 _pos</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00160">dl_vertex.h:160</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_gfx_html_aa9a145daac7266ca28809d4baffdf462"><div class="ttname"><a href="structdl_1_1_vertex_gfx.html#aa9a145daac7266ca28809d4baffdf462">dl::VertexGfx::getAttributeDescriptions</a></div><div class="ttdeci">static std::array< VkVertexInputAttributeDescription, 2 > getAttributeDescriptions()</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00170">dl_vertex.h:170</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_gfx_html_ad5751b408973ced201af6a15672ca6af"><div class="ttname"><a href="structdl_1_1_vertex_gfx.html#ad5751b408973ced201af6a15672ca6af">dl::VertexGfx::getBindingDescription</a></div><div class="ttdeci">static VkVertexInputBindingDescription getBindingDescription()</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00162">dl_vertex.h:162</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_gfx_html_ade6e2df604386644ae299cfd338a0f01"><div class="ttname"><a href="structdl_1_1_vertex_gfx.html#ade6e2df604386644ae299cfd338a0f01">dl::VertexGfx::_color</a></div><div class="ttdeci">Color _color</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00161">dl_vertex.h:161</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_html"><div class="ttname"><a href="structdl_1_1_vertex.html">dl::Vertex</a></div><div class="ttdoc">3d顶点</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00021">dl_vertex.h:22</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_html_a25969966c0fb482a4f4c041614f0c992"><div class="ttname"><a href="structdl_1_1_vertex.html#a25969966c0fb482a4f4c041614f0c992">dl::Vertex::getBindingDescription</a></div><div class="ttdeci">static VkVertexInputBindingDescription getBindingDescription()</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00027">dl_vertex.h:27</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_html_a3e3a155631d1429746de9eb7783c6fe5"><div class="ttname"><a href="structdl_1_1_vertex.html#a3e3a155631d1429746de9eb7783c6fe5">dl::Vertex::_normal</a></div><div class="ttdeci">Position3 _normal</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00025">dl_vertex.h:25</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_html_a47b3f24eb95fb9c3d490b94ab9e7387a"><div class="ttname"><a href="structdl_1_1_vertex.html#a47b3f24eb95fb9c3d490b94ab9e7387a">dl::Vertex::_pos</a></div><div class="ttdeci">Position3 _pos</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00023">dl_vertex.h:23</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_html_a7de88600dada4eaf6413bf976b52a0b1"><div class="ttname"><a href="structdl_1_1_vertex.html#a7de88600dada4eaf6413bf976b52a0b1">dl::Vertex::getAttributeDescriptions</a></div><div class="ttdeci">static std::array< VkVertexInputAttributeDescription, 4 > getAttributeDescriptions()</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00035">dl_vertex.h:35</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_html_ab5918886d9478913376808d7be90715f"><div class="ttname"><a href="structdl_1_1_vertex.html#ab5918886d9478913376808d7be90715f">dl::Vertex::_tangent</a></div><div class="ttdeci">Position3 _tangent</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00026">dl_vertex.h:26</a></div></div>
|
|
<div class="ttc" id="astructdl_1_1_vertex_html_ad1441be5e3ceb85c8013cb1b6c9ce4de"><div class="ttname"><a href="structdl_1_1_vertex.html#ad1441be5e3ceb85c8013cb1b6c9ce4de">dl::Vertex::_uv</a></div><div class="ttdeci">Position3 _uv</div><div class="ttdef"><b>Definition:</b> <a href="dl__vertex_8h_source.html#l00024">dl_vertex.h:24</a></div></div>
|
|
<div class="ttc" id="avk_2dl__type_8h_html"><div class="ttname"><a href="vk_2dl__type_8h.html">dl_type.h</a></div><div class="ttdoc">通用类型</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
|
|
</small></address>
|
|
</body>
|
|
</html>
|