SetRenderMode
This function can be used to selectively filter which types of objects a decal is projected onto. For example, a large decorative decal should appear on brush geometry but not on models.
Syntax
- void SetRenderMode(const int classid, const bool mode)
Parameters
- classid: The entity class to set the render mode for.
- mode: if set to true, the decal will appear on this type of object, otherwise it will filter out the object when the decal is rendered.