shader_start

Used at the beginning of draw scripts to recolor the following draw calls according to the character’s color profile. Must be followed by shader_end()  Reference→

Example, called from post_draw.gml:

// draws a hat that is recolored by the shader:
shader_start();
draw_sprite_ext( sprite_get( "cool_hat" ), hat_image_index, x, y );
shader_end();