~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to GL/SGIX/vertex_preclip.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 SGIX.vertex_preclip
 
2
 
 
3
This module customises the behaviour of the 
 
4
OpenGL.raw.GL.SGIX.vertex_preclip to provide a more 
 
5
Python-friendly API
 
6
 
 
7
Overview (from the spec)
 
8
        
 
9
        Certain graphics subsystems are capable of performing fast
 
10
        2D viewport or, in some cases, 3D volume "scissoring" operations
 
11
        within some coordinate range much faster that the host CPU could
 
12
        re-tesselate clipped primitives.
 
13
        
 
14
        This extension introduces the notion of an extended rasterizable view
 
15
        volume that is an expansion of the clip-space view volume.      This volume
 
16
        is the space within which a particular graphics system is much more
 
17
        efficient at rejecting fragments that lie outside the view volume than
 
18
        it is at performing strict view volume clipping.
 
19
        
 
20
        Clip-checking can be turned on or off through the glEnable/glDisable
 
21
        mechanism, and can be further controlled by using glHint.
 
22
 
 
23
The official definition of this extension is available here:
 
24
http://www.opengl.org/registry/specs/SGIX/vertex_preclip.txt
 
25
'''
 
26
from OpenGL import platform, constants, constant, arrays
 
27
from OpenGL import extensions, wrapper
 
28
from OpenGL.GL import glget
 
29
import ctypes
 
30
from OpenGL.raw.GL.SGIX.vertex_preclip import *
 
31
### END AUTOGENERATED SECTION
 
 
b'\\ No newline at end of file'