132#ifndef vtkOpenGLTexture_h
133#define vtkOpenGLTexture_h
135#include "vtkRenderingOpenGL2Module.h"
182 vtkGetMacro(IsDepthTexture,
int);
183 vtkSetMacro(IsDepthTexture,
int);
190 vtkGetMacro(TextureType,
int);
191 vtkSetMacro(TextureType,
int);
222 int PrevBlendParams[4];
226 int& xsize,
int& ysize,
unsigned char* dptr,
int bpp,
int maxDimGL);
a simple class to control print indentation
void Load(vtkRenderer *) override
Implement base class method.
int GetTextureUnit() override
Return the texture unit used for this texture.
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.
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this texture.
int IsTranslucent() override
Is this Texture Translucent? returns false (0) if the texture is either fully opaque or has only full...
unsigned char * ResampleToPowerOfTwo(int &xsize, int &ysize, unsigned char *dptr, int bpp, int maxDimGL)
static vtkOpenGLTexture * New()
void PostRender(vtkRenderer *) override
Cleans up after the texture rendering to restore the state of the graphics context.
void SetTextureObject(vtkTextureObject *)
void Render(vtkRenderer *ren) override
Renders a texture map.
vtkWeakPointer< vtkRenderWindow > RenderWindow
~vtkOpenGLTexture() override
vtkTextureObject * TextureObject
bool ExternalTextureObject
create a window for renderers to draw into
abstract specification for renderers
abstracts an OpenGL texture object.
handles properties associated with a texture map
record modification and/or execution time
window superclass for vtkRenderWindow