C4 Engine
C4 Engine API Documentation

Drawable::InvalidatePipelineData

Defined in:  C4Renderable.h
Invalidates the pipeline data for a drawable.
Prototype

void InvalidatePipelineData(void);

Description
The InvalidatePipelineData function causes the internal pipeline data for a drawable to be discarded. The pipeline data is rebuilt the next time the drawable is rendered. It is necessary to call this function whenever a drawable's material object or material attribute list is altered. However, it is usually not necessary to call this function in the case that a color or texture is changed in an existing attribute.
See Also

Renderable::InvalidatePipelineData