1'''OpenGL extension IBM.static_data
2
3This module customises the behaviour of the
4OpenGL.raw.GL.IBM.static_data to provide a more
5Python-friendly API
6
7Overview (from the spec)
8
9	The OpenGL specification requires that data be bound at call time.	The
10	IBM_static_data extension relaxes the bind-at-call semantics allowing
11	an implementation to dereference pointers some time after the
12	corresponding calls.
13
14	Because of the bind-at-call sematics of standard OpenGL, an
15	implementation is required to either copy or fully process data at the
16	time it is provided by the application.  Copying data substantially
17	increases the demands on the memory subsystem; processing the data may
18	result in ineffective amortization of fixed costs.	Neither copying nor
19	processing allows multiple rendering threads to operate on the original
20	data.
21
22The official definition of this extension is available here:
23http://www.opengl.org/registry/specs/IBM/static_data.txt
24'''
25from OpenGL import platform, constant, arrays
26from OpenGL import extensions, wrapper
27import ctypes
28from OpenGL.raw.GL import _types, _glgets
29from OpenGL.raw.GL.IBM.static_data import *
30from OpenGL.raw.GL.IBM.static_data import _EXTENSION_NAME
31
32def glInitStaticDataIBM():
33    '''Return boolean indicating whether this extension is available'''
34    from OpenGL import extensions
35    return extensions.hasGLExtension( _EXTENSION_NAME )
36
37
38### END AUTOGENERATED SECTION