pragmatism first

AL_USE_SHADER(3ALLEG5) - Linux manual page online | Library functions

Allegro 5 API.

Chapter
al_use_shader(3alleg5) al_use_shader(3alleg5)

NAME

al_use_shader - Allegro 5 API

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 incompati‐ ble with the target bitmap.

SINCE

5.1.6

SEE ALSO

al_destroy_shader(3alleg5), al_set_shader_sampler(3alleg5), al_set_shader_matrix(3alleg5), al_set_shader_int(3alleg5), al_set_shader_float(3alleg5), al_set_shader_bool(3alleg5), al_set_shader_int_vector(3alleg5), al_set_shader_float_vector(3alleg5)
Allegro reference manual al_use_shader(3alleg5)
This manual Reference Other manuals
al_use_shader(3alleg5) referred by al_build_shader(3alleg5) | al_create_shader(3alleg5) | al_set_shader_bool(3alleg5) | al_set_shader_float(3alleg5) | al_set_shader_float_vector(3alleg5) | al_set_shader_int(3alleg5) | al_set_shader_int_vector(3alleg5) | al_set_shader_matrix(3alleg5) | al_set_shader_sampler(3alleg5)
refer to al_destroy_shader(3alleg5) | al_set_shader_bool(3alleg5) | al_set_shader_float(3alleg5) | al_set_shader_float_vector(3alleg5) | al_set_shader_int(3alleg5) | al_set_shader_int_vector(3alleg5) | al_set_shader_matrix(3alleg5) | al_set_shader_sampler(3alleg5)
Download raw manual
Index Allegro reference manual (+999) № 3 (+68044)
Go top