Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkOpenGLTexture, simply invoke its constructor as follows
obj = vtkOpenGLTexture
obj
is an instance of the vtkOpenGLTexture class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkOpenGLTexture = obj.NewInstance ()
vtkOpenGLTexture = obj.SafeDownCast (vtkObject o)
obj.Load (vtkRenderer ren)
- Implement base class method.
obj.PostRender (vtkRenderer ren)
obj.ReleaseGraphicsResources (vtkWindow )
- Release any graphics resources that are being consumed by this texture.
The parameter window could be used to determine which graphic
resources to release. Using the same texture object in multiple
render windows is NOT currently supported.
long = obj.GetIndex ()
- Get the openGL texture name to which this texture is bound.
This is available only if GL version >= 1.1