{"id":5010,"date":"2023-07-29T00:02:02","date_gmt":"2023-07-28T16:02:02","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=5010"},"modified":"2023-07-29T00:02:02","modified_gmt":"2023-07-28T16:02:02","slug":"%e4%bd%bf%e7%94%a8renderdoc%e8%b0%83%e8%af%95unity%e6%b8%b2%e6%9f%93","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=5010","title":{"rendered":"\u4f7f\u7528RenderDoc\u8c03\u8bd5Unity\u6e32\u67d3"},"content":{"rendered":"\n<p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u4f7f\u7528RenderDoc\u622a\u53d6\u4e00\u5e27\u8fdb\u884c\u6162\u6162\u8c03\u8bd5\uff0c\u8981\u6bd4\u5728\u8fd0\u884c\u65f6\u8fdb\u884c\u8c03\u8bd5\u8981\u65b9\u4fbf\u4e0d\u5c11\u3002\u7c7b\u4f3c\u4e0d\u7528\u62c5\u5fc3\u73af\u5883\u88ab\u7834\u574f\u4e86\uff0c\u65e0\u6cd5\u91cd\u73b0\u7b49\u95ee\u9898\uff0c\u53ef\u4ee5\u53cd\u590d\u91cd\u8bd5\u3002<\/p>\n\n\n\n<p>\u5b98\u65b9\u6559\u7a0b\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.unity3d.com\/cn\/current\/Manual\/RenderDocIntegration.html\">https:\/\/docs.unity3d.com\/cn\/current\/Manual\/RenderDocIntegration.html<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u542f\u52a8\u6b65\u9aa4<\/h2>\n\n\n\n<p>\u6b65\u9aa4\u4e00\uff1a\u5b89\u88c5\u6700\u65b0\u7248\u672cRenderDoc<\/p>\n\n\n\n<p>\u6b65\u9aa4\u4e8c\uff1a\u5728Unity\u975e\u8fd0\u884c\u72b6\u6001\u4e0b\uff0cGame\u89c6\u56fe\u53f3\u4e0a\u89d2\u7684\u4e00\u4e2a\u9690\u85cf \u4e09\u4e2a\u70b9 \u7684\u6309\u94ae\u4e0a\uff0c\u70b9\u51fa\u4e0b\u62c9\u83dc\u5355\uff0c\u9009\u62e9\u201cLoad RenderDoc\u201d\uff0c\u8fd9\u65f6\u5019\u4e0a\u9762\u4f1a\u591a\u51fa\u4e00\u4e2a\u5c0f\u7684\u3010\u76f8\u673a\u3011\u6309\u94ae<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"422\" height=\"107\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-28.png\" alt=\"\" class=\"wp-image-5012\" srcset=\"https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-28.png 422w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-28-300x76.png 300w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-28-70x18.png 70w\" sizes=\"(max-width: 422px) 100vw, 422px\" \/><\/figure>\n\n\n\n<p>\u6b65\u9aa4\u4e09\uff1a\u8fd0\u884c\u6e38\u620f\uff0c\u5728\u9700\u8981\u622a\u5e27\u7684\u5730\u65b9\uff0c\u6309\u8fd9\u4e2a\u3010\u76f8\u673a\u3011\u6309\u94ae\uff0c\u5524\u51faRenderDoc\uff0c\u70b9\u201cCapture Frame(s) Immediately\u201d  \u622a\u5e27 \uff0c\u7136\u540e\u5206\u6790\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"623\" height=\"201\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-29.png\" alt=\"\" class=\"wp-image-5013\" srcset=\"https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-29.png 623w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-29-300x97.png 300w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-29-70x23.png 70w\" sizes=\"(max-width: 623px) 100vw, 623px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u4fee\u6539Shader<\/h2>\n\n\n\n<p>\u4e00\u3001\u5728\u8981\u7f16\u8f91\u7684Shader\u4e2d\uff0c\u6dfb\u52a0\u5b8f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#pragma enable_d3d11_debug_symbols<\/code><\/pre>\n\n\n\n<p>\u4e8c\u3001\u5728\u6307\u5b9a\u7684\u9636\u6bb5\uff0c\u76f4\u63a5\u7f16\u8f91Shader\u770b\u6548\u679c<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"279\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-30-1024x279.png\" alt=\"\" class=\"wp-image-5014\" srcset=\"https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-30-1024x279.png 1024w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-30-300x82.png 300w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-30-768x210.png 768w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-30-70x19.png 70w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/07\/image-30.png 1242w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u4f7f\u7528RenderDoc\u622a\u53d6\u4e00\u5e27\u8fdb\u884c\u6162\u6162\u8c03\u8bd5\uff0c\u8981\u6bd4\u5728\u8fd0\u884c\u65f6\u8fdb\u884c\u8c03\u8bd5\u8981\u65b9\u4fbf\u4e0d\u5c11\u3002\u7c7b\u4f3c\u4e0d\u7528\u62c5\u5fc3\u73af\u5883\u88ab\u7834 [&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":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5010"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5010"}],"version-history":[{"count":1,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5010\/revisions"}],"predecessor-version":[{"id":5015,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5010\/revisions\/5015"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}