D3D11中,怎样在Pixel Shader中设置UAV
实际上绑在Output Merger上。通过方法ID3D11DeviceContext::OMSetRenderTargetsAndUnorderedAccessViews
Practical Renderding\u0026amp;Computation with Direct3D11给的解释是:..., the UAV is actually bound to the pipeline in the output merger stage instead of the pixel shader stage. This is done so that ... any (resources) that will receive output from the pipeline are all bound for output from the pixel shader in the same method call. This also groups all possible pipeline output resources into a single pipeline stage, which somewhat simplifies the pipeline concept.
■网友
@吕猫 的答案是正解。用OMSetRenderTargetsAndUnorderedAccessViews。
推荐阅读
- 聪明人养花,这3种“花”怎样也要养一盆,每年能省不少医药费
- 互联网怎样解决“家政服务上门速度慢”的问题
- 怎样看待从1月8号起,QQ钱包开始提现收费
- 银行it人怎样转型
- 汽车|冬天怎样让车内温度快速升高?座椅加热的最佳使用方式二,外循环的作用总结
- 怎样进入通信行业
- 怎样评价扶他柠檬茶的小说《云养汉》的结尾
- 怎样成为一名合格的Python程序员?
- 怎样评价华为、诺基亚、中兴中标中国移动高端路由交换设备扩容集采
- 怎样评价类似前橙会、百老汇、南极圈这样类型的离职帮抱团,对企业的积极意义和消极意义