25 #ifndef vtkPBRPrefilterTexture_h
26 #define vtkPBRPrefilterTexture_h
29 #include "vtkRenderingOpenGL2Module.h"
68 vtkGetMacro(PrefilterSize,
unsigned int);
69 vtkSetMacro(PrefilterSize,
unsigned int);
79 vtkGetMacro(PrefilterSamples,
unsigned int);
80 vtkSetMacro(PrefilterSamples,
unsigned int);
88 vtkGetMacro(PrefilterLevels,
unsigned int);
89 vtkSetMacro(PrefilterLevels,
unsigned int);
98 vtkGetMacro(ConvertToLinear,
bool);
99 vtkSetMacro(ConvertToLinear,
bool);
100 vtkBooleanMacro(ConvertToLinear,
bool);
115 unsigned int PrefilterSize = 128;
116 unsigned int PrefilterLevels = 5;
117 unsigned int PrefilterSamples = 1024;
119 bool ConvertToLinear =
false;
a simple class to control print indentation
Internal class which encapsulates OpenGL FramebufferObject.
void Load(vtkRenderer *) override
Implement base class method.
precompute prefilter texture used in physically based rendering
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkPBRPrefilterTexture() override
static vtkPBRPrefilterTexture * New()
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this texture.
void Load(vtkRenderer *) override
Implement base class method.
void Render(vtkRenderer *ren) override
Implement base class method.
void SetInputTexture(vtkOpenGLTexture *)
Get/Set the input texture.
vtkPBRPrefilterTexture()=default
create a window for renderers to draw into
abstract specification for renderers
window superclass for vtkRenderWindow