~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to GL/IBM/rasterpos_clip.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.rasterpos_clip
 
2
 
 
3
This module customises the behaviour of the 
 
4
OpenGL.raw.GL.IBM.rasterpos_clip to provide a more 
 
5
Python-friendly API
 
6
 
 
7
Overview (from the spec)
 
8
        
 
9
        IBM_rasterpos_clip extends the semantics of the RasterPos functions.  It
 
10
        provides an enable that allows a raster position that would normally be
 
11
        clipped to be treated as a valid (albeit out-of-viewport) position.
 
12
        
 
13
        This extension allows applications to specify geometry-aligned pixel
 
14
        primitives that may be partially off-screen.  These primitives are
 
15
        tested on a pixel-by-pixel basis without being rejected completely
 
16
        because of an invalid raster position.
 
17
 
 
18
The official definition of this extension is available here:
 
19
http://www.opengl.org/registry/specs/IBM/rasterpos_clip.txt
 
20
'''
 
21
from OpenGL import platform, constants, constant, arrays
 
22
from OpenGL import extensions, wrapper
 
23
from OpenGL.GL import glget
 
24
import ctypes
 
25
from OpenGL.raw.GL.IBM.rasterpos_clip import *
 
26
### END AUTOGENERATED SECTION
 
 
b'\\ No newline at end of file'