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