~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to GL/NV/vertex_buffer_unified_memory.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 NV.vertex_buffer_unified_memory
 
2
 
 
3
This module customises the behaviour of the 
 
4
OpenGL.raw.GL.NV.vertex_buffer_unified_memory to provide a more 
 
5
Python-friendly API
 
6
 
 
7
Overview (from the spec)
 
8
        
 
9
        This extension provides a mechanism to specify vertex attrib and
 
10
        element array locations using GPU addresses.
 
11
        
 
12
        Binding vertex buffers is one of the most frequent and expensive
 
13
        operations in many GL applications, due to the cost of chasing 
 
14
        pointers and binding objects described in the Overview of 
 
15
        NV_shader_buffer_load. The intent of this extension is to enable a 
 
16
        way for the application to specify vertex attrib state that alleviates
 
17
        the overhead of object binds and driver memory management.
 
18
 
 
19
The official definition of this extension is available here:
 
20
http://www.opengl.org/registry/specs/NV/vertex_buffer_unified_memory.txt
 
21
'''
 
22
from OpenGL import platform, constants, constant, arrays
 
23
from OpenGL import extensions, wrapper
 
24
from OpenGL.GL import glget
 
25
import ctypes
 
26
from OpenGL.raw.GL.NV.vertex_buffer_unified_memory import *
 
27
### END AUTOGENERATED SECTION
 
 
b'\\ No newline at end of file'