formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Shaders
Description
Sets the value of the current surface pixel color to a given value. This function is usually not necessary as a color shader's pixel function returns this color to formZ. However, if it becomes necessary to set the pixel color from another shader, which does not compute the pixel color (such as a transparency shader), this function may be called. Beware of the side effects !
Plugin Prototype
void fz_shdr_set_col(
col ) |
Parameters
col [Input]
The pixel color
Returns
none
Availability
5.0.0.0
Function Set
Defined in