The "sys_shader_init" Function
Syntax#
| Argument | Type | Description |
|---|---|---|
entity | integer | The data structure of the entity to be animated |
index | integer | The index of the row containing the target entity |
shader | shader | The shader to be performed |
Description#
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.

X1