# This file was created automatically by SWIG.
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.
import _paletted_texture
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
__version__ = _paletted_texture.__version__
__date__ = _paletted_texture.__date__
__api_version__ = _paletted_texture.__api_version__
__author__ = _paletted_texture.__author__
__doc__ = _paletted_texture.__doc__
glColorTableEXT = _paletted_texture.glColorTableEXT
glGetColorTableEXT = _paletted_texture.glGetColorTableEXT
glGetColorTableParameterivEXT = _paletted_texture.glGetColorTableParameterivEXT
glGetColorTableParameterfvEXT = _paletted_texture.glGetColorTableParameterfvEXT
GL_COLOR_INDEX1_EXT = _paletted_texture.GL_COLOR_INDEX1_EXT
GL_COLOR_INDEX2_EXT = _paletted_texture.GL_COLOR_INDEX2_EXT
GL_COLOR_INDEX4_EXT = _paletted_texture.GL_COLOR_INDEX4_EXT
GL_COLOR_INDEX8_EXT = _paletted_texture.GL_COLOR_INDEX8_EXT
GL_COLOR_INDEX12_EXT = _paletted_texture.GL_COLOR_INDEX12_EXT
GL_COLOR_INDEX16_EXT = _paletted_texture.GL_COLOR_INDEX16_EXT
GL_TEXTURE_INDEX_SIZE_EXT = _paletted_texture.GL_TEXTURE_INDEX_SIZE_EXT
glInitPalettedTextureEXT = _paletted_texture.glInitPalettedTextureEXT
__info = _paletted_texture.__info
|