~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to GL/ARB/copy_buffer.py

  • Committer: matobet at gmail
  • Date: 2010-06-26 14:11:04 UTC
  • Revision ID: matobet@gmail.com-20100626141104-k011ofmltgiiu60g
Initial

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'''OpenGL extension ARB.copy_buffer
 
2
 
 
3
This module customises the behaviour of the 
 
4
OpenGL.raw.GL.ARB.copy_buffer to provide a more 
 
5
Python-friendly API
 
6
 
 
7
Overview (from the spec)
 
8
        
 
9
        This extension provides a mechanism to do an accelerated copy from one
 
10
        buffer object to another. This may be useful to load buffer objects
 
11
        in a "loading thread" while minimizing cost and synchronization effort
 
12
        in the "rendering thread."
 
13
 
 
14
The official definition of this extension is available here:
 
15
http://www.opengl.org/registry/specs/ARB/copy_buffer.txt
 
16
'''
 
17
from OpenGL import platform, constants, constant, arrays
 
18
from OpenGL import extensions, wrapper
 
19
from OpenGL.GL import glget
 
20
import ctypes
 
21
from OpenGL.raw.GL.ARB.copy_buffer import *
 
22
### END AUTOGENERATED SECTION
 
 
b'\\ No newline at end of file'