The "sys_shader_init" Function


sys_shader_init(entity, index, shader);
entityintegerThe data structure of the entity to be animated
indexintegerThe index of the row containing the target entity
shadershaderThe shader to be performed


Initializes a given shader for the input entity which can be performed with sys_shader_perform.

As this script is run automatically by any shader scripts tailored to specific entity types, it is almost never necessary to run sys_shader_init manually.

See Shaders for a list of included shaders.