File: texture_multisample.py

package info (click to toggle)
pyopengl 3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,936 kB
  • ctags: 9,720
  • sloc: python: 49,408; makefile: 3
file content (32 lines) | stat: -rw-r--r-- 1,116 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
'''OpenGL extension NV.texture_multisample

This module customises the behaviour of the 
OpenGL.raw.GL.NV.texture_multisample to provide a more 
Python-friendly API

Overview (from the spec)
	
	This specification extends NV_gpu_program4 to support per-sample fetching
	from multisample textures described in ARB_texture_multisample.
	Specifically, it adds:
	
	  * The TXFMS sample fetch instruction.
	
	  * Texture targets corresponding to the multisample textures added by
	    ARB_texture_multisample.
	
	  * A program option to enable these features.
	
	This specification also extends the ARB_texture_multisample extension
	by adding support for EXT_direct_state_access and VCAA multisample
	coverage with seperate <colorSamples> and <coverageSamples> parameters.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/NV/texture_multisample.txt
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions, wrapper
from OpenGL.GL import glget
import ctypes
from OpenGL.raw.GL.NV.texture_multisample import *
### END AUTOGENERATED SECTION