Microsoft DirectX 8.0 (Visual Basic) |
This section contains reference information for the component modifiers implemented by the Direct3DX vertex shader assembler.
As shown in the following table, component modifiers (where r is a valid register, either an, c[n], rn, vn, or any of the output registers) can be applied to the individual components of the vector data.
Component Modifier | Description |
---|---|
r.{x}{y}{z}{w} | Destination mask |
r.[xyzw][xyzw][xyzw][xywz] | Source swizzle |
-r | Source negation |