al_get_opengl_texture man page on DragonFly

Printed from http://www.polarhome.com/service/man/?qf=al_get_opengl_texture&af=0&tf=2&of=DragonFly

al_get_opengl_texture(3)			      al_get_opengl_texture(3)

NAME
       al_get_opengl_texture - Allegro 5 API

SYNOPSIS
	      #include <allegro5/allegro_opengl.h>

	      GLuint al_get_opengl_texture(ALLEGRO_BITMAP *bitmap)

DESCRIPTION
       Returns the OpenGL texture id internally used by the given bitmap if it
       uses one, else 0.

       Example:

	      bitmap = al_load_bitmap("my_texture.png");
	      texture = al_get_opengl_texture(bitmap);
	      if (texture != 0)
		  glBindTexture(GL_TEXTURE_2D, texture);

Allegro reference manual			      al_get_opengl_texture(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net