STUDIO
Description
Used by ENTITY:Draw, ENTITY:DrawTranslucent, GM:PostPlayerDraw, GM:PrePlayerDraw and Entity:DrawModel.
Values
STUDIO_RENDER | 1 | The current render is for opaque renderables only |
STUDIO_VIEWXFORMATTACHMENTS | 2 | |
STUDIO_DRAWTRANSLUCENTSUBMODELS | 4 | The current render is for translucent renderables only |
STUDIO_TWOPASS | 8 | The current render is for both opaque and translucent renderables |
STUDIO_STATIC_LIGHTING | 16 | |
STUDIO_WIREFRAME | 32 | |
STUDIO_ITEM_BLINK | 64 | |
STUDIO_NOSHADOWS | 128 | |
STUDIO_WIREFRAME_VCOLLIDE | 256 | |
STUDIO_GENERATE_STATS | 16777216 | Not a studio flag, but used to flag when we want studio stats |
STUDIO_SSAODEPTHTEXTURE | 134217728 | Not a studio flag, but used to flag model as using shadow depth material override |
STUDIO_SHADOWDEPTHTEXTURE | 1073741824 | Not a studio flag, but used to flag model as using shadow depth material override |
STUDIO_TRANSPARENCY | 2147483648 | Not a studio flag, but used to flag model as a non-sorting brush model |