pushShader abstract method

int pushShader(
  1. String name
)

Looks up a shader by name from the per-VM ScriptingContext (editor) or file assets (runtime) and pushes the ScriptedShader onto the stack. Returns 1 on success, 0 if not found or compile failed.

Implementation

int pushShader(String name);