| |
- Exception(BaseException)
-
- Error
-
- CopyError
- GLError
- GLError
- GLUError
- GLUError
- GLUTError
- GLUTError
- NoContext
- NullFunctionError
class GLError(Error) |
|
OpenGL core error implementation class
Primary purpose of this error class is to allow for
annotating an error with more details about the calling
environment so that it's easier to debug errors in the
wrapping process.
Attributes:
err -- the OpenGL error code for the error
result -- the OpenGL result code for the operation
baseOperation -- the "function" being called
pyArgs -- the translated set of Python arguments
cArgs -- the Python objects matching 1:1 the C arguments
cArguments -- ctypes-level arguments to the operation,
often raw integers for pointers and the like
description -- OpenGL description of the error (textual) |
|
- Method resolution order:
- GLError
- Error
- Exception
- BaseException
- object
Methods defined here:
- __init__(self, err=None, result=None, cArguments=None, baseOperation=None, pyArgs=None, cArgs=None, description=None)
- Initialise the GLError, storing metadata for later display
- __repr__(self)
- Produce a much shorter version of the error as a string
- __str__(self)
- Create a fully formatted representation of the error
- format_baseOperation(self, property, value)
- Format a baseOperation reference for display
- format_description(self, property, value)
- Format description using GLU's gluErrorString
- shortRepr(self, value, firstLevel=True)
- Retrieve short representation of the given value
Data and other attributes defined here:
- DISPLAY_ORDER = ('err', 'description', 'baseOperation', 'pyArgs', 'cArgs', 'cArguments', 'result')
Data descriptors inherited from Error:
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes inherited from Exception:
- __new__ = <built-in method __new__ of type object at 0x8108c0>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
Methods inherited from BaseException:
- __delattr__(...)
- x.__delattr__('name') <==> del x.name
- __getattribute__(...)
- x.__getattribute__('name') <==> x.name
- __getitem__(...)
- x.__getitem__(y) <==> x[y]
- __getslice__(...)
- x.__getslice__(i, j) <==> x[i:j]
Use of negative indices is not supported.
- __reduce__(...)
- __setattr__(...)
- x.__setattr__('name', value) <==> x.name = value
- __setstate__(...)
- __unicode__(...)
Data descriptors inherited from BaseException:
- __dict__
- args
- message
|
GLerror = class GLError(Error) |
|
OpenGL core error implementation class
Primary purpose of this error class is to allow for
annotating an error with more details about the calling
environment so that it's easier to debug errors in the
wrapping process.
Attributes:
err -- the OpenGL error code for the error
result -- the OpenGL result code for the operation
baseOperation -- the "function" being called
pyArgs -- the translated set of Python arguments
cArgs -- the Python objects matching 1:1 the C arguments
cArguments -- ctypes-level arguments to the operation,
often raw integers for pointers and the like
description -- OpenGL description of the error (textual) |
|
- Method resolution order:
- GLError
- Error
- Exception
- BaseException
- object
Methods defined here:
- __init__(self, err=None, result=None, cArguments=None, baseOperation=None, pyArgs=None, cArgs=None, description=None)
- Initialise the GLError, storing metadata for later display
- __repr__(self)
- Produce a much shorter version of the error as a string
- __str__(self)
- Create a fully formatted representation of the error
- format_baseOperation(self, property, value)
- Format a baseOperation reference for display
- format_description(self, property, value)
- Format description using GLU's gluErrorString
- shortRepr(self, value, firstLevel=True)
- Retrieve short representation of the given value
Data and other attributes defined here:
- DISPLAY_ORDER = ('err', 'description', 'baseOperation', 'pyArgs', 'cArgs', 'cArguments', 'result')
Data descriptors inherited from Error:
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes inherited from Exception:
- __new__ = <built-in method __new__ of type object at 0x8108c0>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
Methods inherited from BaseException:
- __delattr__(...)
- x.__delattr__('name') <==> del x.name
- __getattribute__(...)
- x.__getattribute__('name') <==> x.name
- __getitem__(...)
- x.__getitem__(y) <==> x[y]
- __getslice__(...)
- x.__getslice__(i, j) <==> x[i:j]
Use of negative indices is not supported.
- __reduce__(...)
- __setattr__(...)
- x.__setattr__('name', value) <==> x.name = value
- __setstate__(...)
- __unicode__(...)
Data descriptors inherited from BaseException:
- __dict__
- args
- message
|
|