The "sys_shader_perform" Function

Syntax

sys_shader_perform(entity, index);
ArgumentTypeDescription
entityintegerThe data structure of the entity to be animated
indexintegerThe index of the row containing the target entity

Description

Performs a shader on the input entity which has been initialized with sys_shader_init.

As this script is run automatically by VNgen draw functions, it is almost never necessary to run sys_shader_perform manually.

See Shaders for a list of included shaders.