framebuffer_object.py :  » Game-2D-3D » PyOpenGL » PyOpenGL-3.0.1 » OpenGL » raw » GL » ARB » Python Open Source

Home
Python Open Source
1.3.1.2 Python
2.Ajax
3.Aspect Oriented
4.Blog
5.Build
6.Business Application
7.Chart Report
8.Content Management Systems
9.Cryptographic
10.Database
11.Development
12.Editor
13.Email
14.ERP
15.Game 2D 3D
16.GIS
17.GUI
18.IDE
19.Installer
20.IRC
21.Issue Tracker
22.Language Interface
23.Log
24.Math
25.Media Sound Audio
26.Mobile
27.Network
28.Parser
29.PDF
30.Project Management
31.RSS
32.Search
33.Security
34.Template Engines
35.Test
36.UML
37.USB Serial
38.Web Frameworks
39.Web Server
40.Web Services
41.Web Unit
42.Wiki
43.Windows
44.XML
Python Open Source » Game 2D 3D » PyOpenGL 
PyOpenGL » PyOpenGL 3.0.1 » OpenGL » raw » GL » ARB » framebuffer_object.py
'''OpenGL extension ARB.framebuffer_object

Automatically generated by the get_gl_extensions script, do not edit!
'''
from OpenGL import platform,constants,constant,arrays
from OpenGL import extensions
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_ARB_framebuffer_object'
_DEPRECATED = False
GL_INVALID_FRAMEBUFFER_OPERATION = constant.Constant( 'GL_INVALID_FRAMEBUFFER_OPERATION', 0x506 )
GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING', 0x8210 )
GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE', 0x8211 )
GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE', 0x8212 )
GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE', 0x8213 )
GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE', 0x8214 )
GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE', 0x8215 )
GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE', 0x8216 )
GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE', 0x8217 )
GL_FRAMEBUFFER_DEFAULT = constant.Constant( 'GL_FRAMEBUFFER_DEFAULT', 0x8218 )
GL_FRAMEBUFFER_UNDEFINED = constant.Constant( 'GL_FRAMEBUFFER_UNDEFINED', 0x8219 )
GL_DEPTH_STENCIL_ATTACHMENT = constant.Constant( 'GL_DEPTH_STENCIL_ATTACHMENT', 0x821A )
GL_MAX_RENDERBUFFER_SIZE = constant.Constant( 'GL_MAX_RENDERBUFFER_SIZE', 0x84E8 )
glget.addGLGetConstant( GL_MAX_RENDERBUFFER_SIZE, (1,) )
GL_DEPTH_STENCIL = constant.Constant( 'GL_DEPTH_STENCIL', 0x84F9 )
GL_UNSIGNED_INT_24_8 = constant.Constant( 'GL_UNSIGNED_INT_24_8', 0x84FA )
GL_DEPTH24_STENCIL8 = constant.Constant( 'GL_DEPTH24_STENCIL8', 0x88F0 )
GL_TEXTURE_STENCIL_SIZE = constant.Constant( 'GL_TEXTURE_STENCIL_SIZE', 0x88F1 )
GL_TEXTURE_RED_TYPE = constant.Constant( 'GL_TEXTURE_RED_TYPE', 0x8C10 )
GL_TEXTURE_GREEN_TYPE = constant.Constant( 'GL_TEXTURE_GREEN_TYPE', 0x8C11 )
GL_TEXTURE_BLUE_TYPE = constant.Constant( 'GL_TEXTURE_BLUE_TYPE', 0x8C12 )
GL_TEXTURE_ALPHA_TYPE = constant.Constant( 'GL_TEXTURE_ALPHA_TYPE', 0x8C13 )
GL_TEXTURE_DEPTH_TYPE = constant.Constant( 'GL_TEXTURE_DEPTH_TYPE', 0x8C16 )
GL_UNSIGNED_NORMALIZED = constant.Constant( 'GL_UNSIGNED_NORMALIZED', 0x8C17 )
GL_FRAMEBUFFER_BINDING = constant.Constant( 'GL_FRAMEBUFFER_BINDING', 0x8CA6 )
GL_RENDERBUFFER_BINDING = constant.Constant( 'GL_RENDERBUFFER_BINDING', 0x8CA7 )
glget.addGLGetConstant( GL_RENDERBUFFER_BINDING, (1,) )
GL_READ_FRAMEBUFFER = constant.Constant( 'GL_READ_FRAMEBUFFER', 0x8CA8 )
GL_DRAW_FRAMEBUFFER = constant.Constant( 'GL_DRAW_FRAMEBUFFER', 0x8CA9 )
GL_READ_FRAMEBUFFER_BINDING = constant.Constant( 'GL_READ_FRAMEBUFFER_BINDING', 0x8CAA )
GL_RENDERBUFFER_SAMPLES = constant.Constant( 'GL_RENDERBUFFER_SAMPLES', 0x8CAB )
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE', 0x8CD0 )
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME', 0x8CD1 )
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL', 0x8CD2 )
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE', 0x8CD3 )
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = constant.Constant( 'GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER', 0x8CD4 )
GL_FRAMEBUFFER_COMPLETE = constant.Constant( 'GL_FRAMEBUFFER_COMPLETE', 0x8CD5 )
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = constant.Constant( 'GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT', 0x8CD6 )
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = constant.Constant( 'GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT', 0x8CD7 )
GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER = constant.Constant( 'GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER', 0x8CDB )
GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER = constant.Constant( 'GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER', 0x8CDC )
GL_FRAMEBUFFER_UNSUPPORTED = constant.Constant( 'GL_FRAMEBUFFER_UNSUPPORTED', 0x8CDD )
GL_MAX_COLOR_ATTACHMENTS = constant.Constant( 'GL_MAX_COLOR_ATTACHMENTS', 0x8CDF )
glget.addGLGetConstant( GL_MAX_COLOR_ATTACHMENTS, (1,) )
GL_COLOR_ATTACHMENT0 = constant.Constant( 'GL_COLOR_ATTACHMENT0', 0x8CE0 )
GL_COLOR_ATTACHMENT1 = constant.Constant( 'GL_COLOR_ATTACHMENT1', 0x8CE1 )
GL_COLOR_ATTACHMENT2 = constant.Constant( 'GL_COLOR_ATTACHMENT2', 0x8CE2 )
GL_COLOR_ATTACHMENT3 = constant.Constant( 'GL_COLOR_ATTACHMENT3', 0x8CE3 )
GL_COLOR_ATTACHMENT4 = constant.Constant( 'GL_COLOR_ATTACHMENT4', 0x8CE4 )
GL_COLOR_ATTACHMENT5 = constant.Constant( 'GL_COLOR_ATTACHMENT5', 0x8CE5 )
GL_COLOR_ATTACHMENT6 = constant.Constant( 'GL_COLOR_ATTACHMENT6', 0x8CE6 )
GL_COLOR_ATTACHMENT7 = constant.Constant( 'GL_COLOR_ATTACHMENT7', 0x8CE7 )
GL_COLOR_ATTACHMENT8 = constant.Constant( 'GL_COLOR_ATTACHMENT8', 0x8CE8 )
GL_COLOR_ATTACHMENT9 = constant.Constant( 'GL_COLOR_ATTACHMENT9', 0x8CE9 )
GL_COLOR_ATTACHMENT10 = constant.Constant( 'GL_COLOR_ATTACHMENT10', 0x8CEA )
GL_COLOR_ATTACHMENT11 = constant.Constant( 'GL_COLOR_ATTACHMENT11', 0x8CEB )
GL_COLOR_ATTACHMENT12 = constant.Constant( 'GL_COLOR_ATTACHMENT12', 0x8CEC )
GL_COLOR_ATTACHMENT13 = constant.Constant( 'GL_COLOR_ATTACHMENT13', 0x8CED )
GL_COLOR_ATTACHMENT14 = constant.Constant( 'GL_COLOR_ATTACHMENT14', 0x8CEE )
GL_COLOR_ATTACHMENT15 = constant.Constant( 'GL_COLOR_ATTACHMENT15', 0x8CEF )
GL_DEPTH_ATTACHMENT = constant.Constant( 'GL_DEPTH_ATTACHMENT', 0x8D00 )
GL_STENCIL_ATTACHMENT = constant.Constant( 'GL_STENCIL_ATTACHMENT', 0x8D20 )
GL_FRAMEBUFFER = constant.Constant( 'GL_FRAMEBUFFER', 0x8D40 )
GL_RENDERBUFFER = constant.Constant( 'GL_RENDERBUFFER', 0x8D41 )
GL_RENDERBUFFER_WIDTH = constant.Constant( 'GL_RENDERBUFFER_WIDTH', 0x8D42 )
GL_RENDERBUFFER_HEIGHT = constant.Constant( 'GL_RENDERBUFFER_HEIGHT', 0x8D43 )
GL_RENDERBUFFER_INTERNAL_FORMAT = constant.Constant( 'GL_RENDERBUFFER_INTERNAL_FORMAT', 0x8D44 )
GL_STENCIL_INDEX1 = constant.Constant( 'GL_STENCIL_INDEX1', 0x8D46 )
GL_STENCIL_INDEX4 = constant.Constant( 'GL_STENCIL_INDEX4', 0x8D47 )
GL_STENCIL_INDEX8 = constant.Constant( 'GL_STENCIL_INDEX8', 0x8D48 )
GL_STENCIL_INDEX16 = constant.Constant( 'GL_STENCIL_INDEX16', 0x8D49 )
GL_RENDERBUFFER_RED_SIZE = constant.Constant( 'GL_RENDERBUFFER_RED_SIZE', 0x8D50 )
GL_RENDERBUFFER_GREEN_SIZE = constant.Constant( 'GL_RENDERBUFFER_GREEN_SIZE', 0x8D51 )
GL_RENDERBUFFER_BLUE_SIZE = constant.Constant( 'GL_RENDERBUFFER_BLUE_SIZE', 0x8D52 )
GL_RENDERBUFFER_ALPHA_SIZE = constant.Constant( 'GL_RENDERBUFFER_ALPHA_SIZE', 0x8D53 )
GL_RENDERBUFFER_DEPTH_SIZE = constant.Constant( 'GL_RENDERBUFFER_DEPTH_SIZE', 0x8D54 )
GL_RENDERBUFFER_STENCIL_SIZE = constant.Constant( 'GL_RENDERBUFFER_STENCIL_SIZE', 0x8D55 )
GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = constant.Constant( 'GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE', 0x8D56 )
GL_MAX_SAMPLES = constant.Constant( 'GL_MAX_SAMPLES', 0x8D57 )
glget.addGLGetConstant( GL_MAX_SAMPLES, (1,) )
glIsRenderbuffer = platform.createExtensionFunction( 
'glIsRenderbuffer',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLboolean, 
argTypes=(constants.GLuint,),
doc='glIsRenderbuffer(GLuint(renderbuffer)) -> constants.GLboolean',
argNames=('renderbuffer',),
deprecated=_DEPRECATED,
)

glBindRenderbuffer = platform.createExtensionFunction( 
'glBindRenderbuffer',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,constants.GLuint,),
doc='glBindRenderbuffer(GLenum(target), GLuint(renderbuffer)) -> None',
argNames=('target','renderbuffer',),
deprecated=_DEPRECATED,
)

glDeleteRenderbuffers = platform.createExtensionFunction( 
'glDeleteRenderbuffers',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLsizei,arrays.GLuintArray,),
doc='glDeleteRenderbuffers(GLsizei(n), GLuintArray(renderbuffers)) -> None',
argNames=('n','renderbuffers',),
deprecated=_DEPRECATED,
)

glGenRenderbuffers = platform.createExtensionFunction( 
'glGenRenderbuffers',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLsizei,arrays.GLuintArray,),
doc='glGenRenderbuffers(GLsizei(n), GLuintArray(renderbuffers)) -> None',
argNames=('n','renderbuffers',),
deprecated=_DEPRECATED,
)

glRenderbufferStorage = platform.createExtensionFunction( 
'glRenderbufferStorage',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,constants.GLenum,constants.GLsizei,constants.GLsizei,),
doc='glRenderbufferStorage(GLenum(target), GLenum(internalformat), GLsizei(width), GLsizei(height)) -> None',
argNames=('target','internalformat','width','height',),
deprecated=_DEPRECATED,
)

glGetRenderbufferParameteriv = platform.createExtensionFunction( 
'glGetRenderbufferParameteriv',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,constants.GLenum,arrays.GLintArray,),
doc='glGetRenderbufferParameteriv(GLenum(target), GLenum(pname), GLintArray(params)) -> None',
argNames=('target','pname','params',),
deprecated=_DEPRECATED,
)

glIsFramebuffer = platform.createExtensionFunction( 
'glIsFramebuffer',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLboolean, 
argTypes=(constants.GLuint,),
doc='glIsFramebuffer(GLuint(framebuffer)) -> constants.GLboolean',
argNames=('framebuffer',),
deprecated=_DEPRECATED,
)

glBindFramebuffer = platform.createExtensionFunction( 
'glBindFramebuffer',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,constants.GLuint,),
doc='glBindFramebuffer(GLenum(target), GLuint(framebuffer)) -> None',
argNames=('target','framebuffer',),
deprecated=_DEPRECATED,
)

glDeleteFramebuffers = platform.createExtensionFunction( 
'glDeleteFramebuffers',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLsizei,arrays.GLuintArray,),
doc='glDeleteFramebuffers(GLsizei(n), GLuintArray(framebuffers)) -> None',
argNames=('n','framebuffers',),
deprecated=_DEPRECATED,
)

glGenFramebuffers = platform.createExtensionFunction( 
'glGenFramebuffers',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLsizei,arrays.GLuintArray,),
doc='glGenFramebuffers(GLsizei(n), GLuintArray(framebuffers)) -> None',
argNames=('n','framebuffers',),
deprecated=_DEPRECATED,
)

glCheckFramebufferStatus = platform.createExtensionFunction( 
'glCheckFramebufferStatus',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLenum, 
argTypes=(constants.GLenum,),
doc='glCheckFramebufferStatus(GLenum(target)) -> constants.GLenum',
argNames=('target',),
deprecated=_DEPRECATED,
)

glFramebufferTexture1D = platform.createExtensionFunction( 
'glFramebufferTexture1D',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,constants.GLenum,constants.GLenum,constants.GLuint,constants.GLint,),
doc='glFramebufferTexture1D(GLenum(target), GLenum(attachment), GLenum(textarget), GLuint(texture), GLint(level)) -> None',
argNames=('target','attachment','textarget','texture','level',),
deprecated=_DEPRECATED,
)

glFramebufferTexture2D = platform.createExtensionFunction( 
'glFramebufferTexture2D',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,constants.GLenum,constants.GLenum,constants.GLuint,constants.GLint,),
doc='glFramebufferTexture2D(GLenum(target), GLenum(attachment), GLenum(textarget), GLuint(texture), GLint(level)) -> None',
argNames=('target','attachment','textarget','texture','level',),
deprecated=_DEPRECATED,
)

glFramebufferTexture3D = platform.createExtensionFunction( 
'glFramebufferTexture3D',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,constants.GLenum,constants.GLenum,constants.GLuint,constants.GLint,constants.GLint,),
doc='glFramebufferTexture3D(GLenum(target), GLenum(attachment), GLenum(textarget), GLuint(texture), GLint(level), GLint(zoffset)) -> None',
argNames=('target','attachment','textarget','texture','level','zoffset',),
deprecated=_DEPRECATED,
)

glFramebufferRenderbuffer = platform.createExtensionFunction( 
'glFramebufferRenderbuffer',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,constants.GLenum,constants.GLenum,constants.GLuint,),
doc='glFramebufferRenderbuffer(GLenum(target), GLenum(attachment), GLenum(renderbuffertarget), GLuint(renderbuffer)) -> None',
argNames=('target','attachment','renderbuffertarget','renderbuffer',),
deprecated=_DEPRECATED,
)

glGetFramebufferAttachmentParameteriv = platform.createExtensionFunction( 
'glGetFramebufferAttachmentParameteriv',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,constants.GLenum,constants.GLenum,arrays.GLintArray,),
doc='glGetFramebufferAttachmentParameteriv(GLenum(target), GLenum(attachment), GLenum(pname), GLintArray(params)) -> None',
argNames=('target','attachment','pname','params',),
deprecated=_DEPRECATED,
)

glGenerateMipmap = platform.createExtensionFunction( 
'glGenerateMipmap',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,),
doc='glGenerateMipmap(GLenum(target)) -> None',
argNames=('target',),
deprecated=_DEPRECATED,
)

glBlitFramebuffer = platform.createExtensionFunction( 
'glBlitFramebuffer',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLint,constants.GLint,constants.GLint,constants.GLint,constants.GLint,constants.GLint,constants.GLint,constants.GLint,constants.GLbitfield,constants.GLenum,),
doc='glBlitFramebuffer(GLint(srcX0), GLint(srcY0), GLint(srcX1), GLint(srcY1), GLint(dstX0), GLint(dstY0), GLint(dstX1), GLint(dstY1), GLbitfield(mask), GLenum(filter)) -> None',
argNames=('srcX0','srcY0','srcX1','srcY1','dstX0','dstY0','dstX1','dstY1','mask','filter',),
deprecated=_DEPRECATED,
)

glRenderbufferStorageMultisample = platform.createExtensionFunction( 
'glRenderbufferStorageMultisample',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,constants.GLsizei,constants.GLenum,constants.GLsizei,constants.GLsizei,),
doc='glRenderbufferStorageMultisample(GLenum(target), GLsizei(samples), GLenum(internalformat), GLsizei(width), GLsizei(height)) -> None',
argNames=('target','samples','internalformat','width','height',),
deprecated=_DEPRECATED,
)

glFramebufferTextureLayer = platform.createExtensionFunction( 
'glFramebufferTextureLayer',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLenum,constants.GLenum,constants.GLuint,constants.GLint,constants.GLint,),
doc='glFramebufferTextureLayer(GLenum(target), GLenum(attachment), GLuint(texture), GLint(level), GLint(layer)) -> None',
argNames=('target','attachment','texture','level','layer',),
deprecated=_DEPRECATED,
)
# import legacy entry points to allow checking for bool(entryPoint)
from OpenGL.raw.GL.ARB.framebuffer_object_DEPRECATED import *

def glInitFramebufferObjectARB():
    '''Return boolean indicating whether this extension is available'''
    return extensions.hasGLExtension( EXTENSION_NAME )
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.