25#ifndef vtkPBRPrefilterTexture_h
26#define vtkPBRPrefilterTexture_h
29#include "vtkRenderingOpenGL2Module.h"
65 vtkGetMacro(PrefilterSize,
unsigned int);
73 vtkGetMacro(PrefilterLevels,
unsigned int);
74 vtkSetMacro(PrefilterLevels,
unsigned int);
84 vtkGetMacro(PrefilterMaxSamples,
unsigned int);
85 vtkSetMacro(PrefilterMaxSamples,
unsigned int);
94 vtkGetMacro(ConvertToLinear,
bool);
95 vtkSetMacro(ConvertToLinear,
bool);
96 vtkBooleanMacro(ConvertToLinear,
bool);
112 unsigned int PrefilterLevels = 5;
113 unsigned int PrefilterMaxSamples = 512;
115 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
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.
static vtkPBRPrefilterTexture * New()
void SetInputTexture(vtkOpenGLTexture *)
Get/Set the input texture.
unsigned int PrefilterSize
vtkPBRPrefilterTexture()=default
create a window for renderers to draw into
abstract specification for renderers
window superclass for vtkRenderWindow