output::setUV4
Sets the fourth UV coordinate set for the rendered output mesh.
Declaration
void output::setUV4(float4 value)Parameters
- value:
The UV coordinate value to assign to all vertices in the output range.
Discussion
This function assigns a custom UV coordinate to the fourth texture coordinate channel of the output mesh. If the mesh doesn’t already have a UV4 channel, it will be created. This enables multi-texturing and advanced shader effects.