RENDERGROUP Enumerations

From Garry's Mod
Jump to: navigation, search

Enumerations used by ClientsideModel, ENT.RenderGroup in ENT structure and Entity:GetRenderGroup.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
RENDERGROUP_STATIC_HUGE 0 Huge static prop, possibly leftover from goldsrc
RENDERGROUP_OPAQUE_HUGE 1 Huge opaque entity, possibly leftover from goldsrc
RENDERGROUP_STATIC 6 Static props?


RENDERGROUP_OPAQUE 7 For non transparent/solid entities.


For scripted entities, this will have ENTITY:Draw called

RENDERGROUP_TRANSLUCENT 8 For translucent/transparent entities


For scripted entities, this will have ENTITY:DrawTranslucent called

RENDERGROUP_BOTH 9 For both translucent/transparent and opaque/solid anim entities


For scripted entities, this will have both, ENTITY:Draw and ENTITY:DrawTranslucent called

RENDERGROUP_VIEWMODEL 10 Solid weapon view models
RENDERGROUP_VIEWMODEL_TRANSLUCENT 11 Transparent overlays etc
RENDERGROUP_OPAQUE_BRUSH 12 For brush entities
RENDERGROUP_OTHER 13 Unclassfied. Won't get drawn.
Personal tools
Navigation