formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Shaders

# fz_shdr_set_col

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(

fz_rgb_float_td * | col )

Parameters

col [Input]

The pixel color

Returns

none

Availability

5.0.0.0

Function Set

fz_shdr_fset

Defined in

fz_rzne_shdr_api.h