Garry's Mod Wiki

Revision Difference

Enums/STUDIO#562937

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