Value
Public / Constants
Position
The value represents the vertex position.
This system value may be used by these shaders:
| input | output ---+-------+-------- CS | no | no VS | no | yes TP | yes | yes TV | yes | yes GS | yes | yes PS | yes | no
When used as input of a Pixel Shader, it specifies the window coordinates of the pixel. Otherwise, it specifies the vertex coordinates in clip-space.
Target
The value is output to a color target.
This system value may be used by these shaders:
| input | output ---+-------+-------- CS | no | no VS | no | no TP | no | no TV | no | no GS | no | no PS | no | yes
Depth
The value is output to the depth buffer.
This system value may be used by these shaders:
| input | output ---+-------+-------- CS | no | no VS | no | no TP | no | no TV | no | no GS | no | no PS | no | yes
- See also
DepthLessEqual
The value is output to the depth buffer.
This system value may be used by these shaders:
| input | output ---+-------+-------- CS | no | no VS | no | no TP | no | no TV | no | no GS | no | no PS | no | yes
DepthGreaterEqual
The value is output to the depth buffer.
This system value may be used by these shaders:
| input | output ---+-------+-------- CS | no | no VS | no | no TP | no | no TV | no | no GS | no | no PS | no | yes
DispatchId
The ID-tuple of the dispatched GPU thread group.
This system value may be used by these shaders:
| input | output ---+-------+-------- CS | yes | no VS | no | no TP | no | no TV | no | no GS | no | no PS | no | no
- See also
ThreadId
The ID-tuple of the dispatched thread in its group.
This system value may be used by these shaders:
| input | output ---+-------+-------- CS | yes | no VS | no | no TP | no | no TV | no | no GS | no | no PS | no | no
- See also