Microsoft DirectX 8.0 (Visual Basic) |
Provides a method to specify the type and version of the shader code.
ps.mainVer.subVer
The following example illustrates how the ps instruction might be used.
ps.1.0 ; Pixel shader version 1.0.
This instruction is required to be at the beginning of all pixel shaders.