{"id":1867,"date":"2022-08-30T15:20:06","date_gmt":"2022-08-30T15:20:06","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/02\/problem-about-direct3d10-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:20:06","modified_gmt":"2022-08-30T15:20:06","slug":"problem-about-direct3d10-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-direct3d10-collection-of-common-programming-errors\/","title":{"rendered":"problem about direct3d10-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4c9e3a50da7c28834a47cb8b8d457737?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nvdbuilder<br \/>\nlayout input unhandled-exception direct3d10<br \/>\nMy application keeps failing to compile when I try to create a Vertex Layout in direct3D 10. Heres the code:\/\/ Create the vertex input layout. D3D10_INPUT_ELEMENT_DESC vertexDesc[] = {{&#8220;POSITION&#8221;, 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D10_INPUT_PER_VERTEX_DATA, 0},{&#8220;COLOR&#8221;, 0, DXGI_FORMAT_R32G32B32A32_FLOAT, 0, 12, D3D10_INPUT_PER_VERTEX_DATA, 0} };\/\/ Create the input layout D3D10_PASS_DESC PassDesc; mTech-&gt;GetPassByIndex(0)-&gt;GetDesc(&amp;PassDesc); HR(md3dDevice-&gt;CreateInputLayout<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-12-02 21:06:04. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>vdbuilder layout input unhandled-exception direct3d10 My application keeps failing to compile when I try to create a Vertex Layout in direct3D 10. Heres the code:\/\/ Create the vertex input layout. D3D10_INPUT_ELEMENT_DESC vertexDesc[] = {{&#8220;POSITION&#8221;, 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D10_INPUT_PER_VERTEX_DATA, 0},{&#8220;COLOR&#8221;, 0, DXGI_FORMAT_R32G32B32A32_FLOAT, 0, 12, D3D10_INPUT_PER_VERTEX_DATA, 0} };\/\/ Create the input layout D3D10_PASS_DESC PassDesc; mTech-&gt;GetPassByIndex(0)-&gt;GetDesc(&amp;PassDesc); HR(md3dDevice-&gt;CreateInputLayout [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1867","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1867"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1867\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}