GetRenderMode
This function returns the decal render mode for the specified type of object. The decal render mode 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
- bool GetRenderMode(const int classid)
Parameters
- classid: The entity class to set the render mode for.
Returns
If the specified class ID is rendered to, this function will return true, otherwise false is returned.