1'''OpenGL extension OES.fbo_render_mipmap
2
3This module customises the behaviour of the
4OpenGL.raw.GLES1.OES.fbo_render_mipmap to provide a more
5Python-friendly API
6
7Overview (from the spec)
8
9	OES_framebuffer_object allows rendering to the base level of a
10	texture only.  This extension removes this limitation by
11	allowing implementations to support rendering to any mip-level
12	of a texture(s) that is attached to a framebuffer object(s).
13
14	If this extension is supported, FramebufferTexture2DOES, and
15	FramebufferTexture3DOES can be used to render directly into
16	any mip level of a texture image
17
18The official definition of this extension is available here:
19http://www.opengl.org/registry/specs/OES/fbo_render_mipmap.txt
20'''
21from OpenGL import platform, constant, arrays
22from OpenGL import extensions, wrapper
23import ctypes
24from OpenGL.raw.GLES1 import _types, _glgets
25from OpenGL.raw.GLES1.OES.fbo_render_mipmap import *
26from OpenGL.raw.GLES1.OES.fbo_render_mipmap import _EXTENSION_NAME
27
28def glInitFboRenderMipmapOES():
29    '''Return boolean indicating whether this extension is available'''
30    from OpenGL import extensions
31    return extensions.hasGLExtension( _EXTENSION_NAME )
32
33
34### END AUTOGENERATED SECTION