void Load(vtkRenderer *)
Implement base class method.
void CopyTexImage(int x, int y, int width, int height)
copy the renderers read buffer into this texture
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned char * ResampleToPowerOfTwo(int &xsize, int &ysize, unsigned char *dptr, int bpp)
void SetTextureObject(vtkTextureObject *)
virtual int IsTranslucent()
Is this Texture Translucent? returns false (0) if the texture is either fully opaque or has only full...
virtual void Render(vtkRenderer *ren)
Renders a texture map.
virtual int GetTextureUnit()
Return the texture unit used for this texture.
virtual void PostRender(vtkRenderer *)
Cleans up after the texture rendering to restore the state of the graphics context.
vtkTextureObject * TextureObject
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this texture.
bool ExternalTextureObject
static vtkOpenGLTexture * New()
abstracts an OpenGL texture object.
handles properties associated with a texture map