HLSL

HLSL

1、Direct3D 9 shaders can be designed using shader model 1shader 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

猜你喜欢

转载自www.cnblogs.com/tekkaman/p/9541316.html