.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_get_opengl_fbo" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_opengl_fbo - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include GLuint al_get_opengl_fbo(ALLEGRO_BITMAP *bitmap) \f[R] .fi .SH DESCRIPTION .PP Returns the OpenGL FBO id internally used by the given bitmap if it uses one, otherwise returns zero. No attempt will be made to create an FBO if the bitmap is not owned by the current display. .PP The FBO returned by this function will only be freed when the bitmap is destroyed, or if you call al_remove_opengl_fbo(3alleg5) on the bitmap. .RS .PP \f[I]Note:\f[R] In Allegro 5.0.0 this function only returned an FBO which had previously been created by calling al_set_target_bitmap(3alleg5). It would not attempt to create an FBO itself. This has since been changed. .RE .SH SEE ALSO .PP al_remove_opengl_fbo(3alleg5), al_set_target_bitmap(3alleg5)