PreCacheShader( <shader name> )


Module: Precache

Summary:

Precaches the given shader. It must be called before any wait statements in the level script.



Example:

PreCacheShader( "artillery_firing" );



Required Args:

  • 1 : <material name> The name of the shader to precache.