1 | shader_set(shader) |
2 | shader_set_uniform_f(u_time, (current_time / 20000)) |
3 | shader_set_uniform_f(u_str, str) |
4 | shader_set_uniform_f(u_uvs, uvs[0], uvs[1], uvs[2], uvs[3]) |
5 | texture_set_stage(u_texture, texture) |
6 | draw_self() |
7 | shader_reset() |