Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ALLEGRO_SHADER(3)	   Library Functions Manual	     ALLEGRO_SHADER(3)

NAME
       ALLEGRO_SHADER -	Allegro	5 API

SYNOPSIS
	      #include <allegro5/allegro.h>

	      typedef struct ALLEGRO_SHADER ALLEGRO_SHADER;

DESCRIPTION
       An  ALLEGRO_SHADER(3)  is  a program that runs on the GPU.  It combines
       both a  vertex  and  a  pixel  shader.	(In  OpenGL  terms,  an	 ALLE-
       GRO_SHADER(3)  is  actually a program which has one or more shaders at-
       tached.	This can be confusing.)

       The source code for the underlying vertex or pixel shader can  be  pro-
       vided  either  as  GLSL	or  HLSL,  depending  on  the  value  of ALLE-
       GRO_SHADER_PLATFORM(3) used when	creating it.

SINCE
       5.1.0

Allegro	reference manual				     ALLEGRO_SHADER(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=ALLEGRO_SHADER&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help