HLSL
Posted tekkaman
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了HLSL相关的知识,希望对你有一定的参考价值。
【HLSL】
1、Direct3D 9 shaders can be designed using shader model 1, shader model 2 and shader model 3;
Direct3D 10 shaders can only be designed on shader model 4.
Direct3D 11 shaders can be designed on shader model 5.
Direct3D 11.3 and Direct3D 12 can be designed on shader model 5.1,
Direct3D 12 can also be designed on shader model 6.
2、We create precompiled HLSL functions, package them into libraries, and link them into full shaders at run-time. Shader linking is supported starting with Windows 8.1.
3、
4、
5、
参考:https://docs.microsoft.com/en-us/windows/desktop/direct3dhlsl/dx-graphics-hlsl
以上是关于HLSL的主要内容,如果未能解决你的问题,请参考以下文章