shadermodel
Specifies the shader model.
shadermodel ("value")
Parameters
value
is one of:
2.0
: Shader Model 2.03.0
: Shader Model 3.04.0_level_9_1
: Shader Model 4.0 Level 9_14.0_level_9_3
: Shader Model 4.0 Level 9_34.0
: Shader Model 4.04.1
: Shader Model 4.15.0
: Shader Model 5.05.1
: Shader Model 5.1rootsig_1.0
: Root Signature Version 1.0rootsig_1.1
: Root Signature Version 1.16.0
: Shader Model 6.06.1
: Shader Model 6.16.2
: Shader Model 6.26.3
: Shader Model 6.36.4
: Shader Model 6.46.5
: Shader Model 6.56.6
: Shader Model 6.6
Applies To
The config
scope.
Availability
Premake 5.0.0 alpha 14 or later.
Examples
shadermodel ("5.0")