~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to GL/IBM/texture_mirrored_repeat.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 IBM.texture_mirrored_repeat
 
2
 
 
3
This module customises the behaviour of the 
 
4
OpenGL.raw.GL.IBM.texture_mirrored_repeat to provide a more 
 
5
Python-friendly API
 
6
 
 
7
Overview (from the spec)
 
8
        
 
9
        IBM_texture_mirrored_repeat extends the set of texture wrap modes to
 
10
        include a mode (GL_MIRRORED_REPEAT_IBM) that effectively uses a texture
 
11
        map twice as large at the original image in which the additional half of
 
12
        the new image is a mirror image of the original image.
 
13
        
 
14
        This new mode relaxes the need to generate images whose opposite edges
 
15
        match by using the original image to generate a matching "mirror image".
 
16
 
 
17
The official definition of this extension is available here:
 
18
http://www.opengl.org/registry/specs/IBM/texture_mirrored_repeat.txt
 
19
'''
 
20
from OpenGL import platform, constants, constant, arrays
 
21
from OpenGL import extensions, wrapper
 
22
from OpenGL.GL import glget
 
23
import ctypes
 
24
from OpenGL.raw.GL.IBM.texture_mirrored_repeat import *
 
25
### END AUTOGENERATED SECTION
 
 
b'\\ No newline at end of file'