SYNOPSIS
-
#include <allegro5/allegro.h>
bool al_use_shader(ALLEGRO_SHADER *shader)
DESCRIPTION
Uses the shader for subsequent drawing operations on the current target bitmap. Pass NULL to stop using any shader on the current target bitmap.
Returns true on success. Otherwise returns false, e.g. because the shader is incompatible with the target bitmap.
SINCE
5.1.6