68 vtkGetMacro(PrefilterSize,
unsigned int);
76 vtkGetMacro(PrefilterLevels,
unsigned int);
77 vtkSetMacro(PrefilterLevels,
unsigned int);
87 vtkGetMacro(PrefilterMaxSamples,
unsigned int);
88 vtkSetMacro(PrefilterMaxSamples,
unsigned int);
97 vtkGetMacro(ConvertToLinear,
bool);
98 vtkSetMacro(ConvertToLinear,
bool);
99 vtkBooleanMacro(ConvertToLinear,
bool);
109 vtkGetMacro(HalfPrecision,
bool);
110 vtkSetMacro(HalfPrecision,
bool);
111 vtkBooleanMacro(HalfPrecision,
bool);
127 unsigned int PrefilterLevels = 5;
128 unsigned int PrefilterMaxSamples = 512;
130 bool ConvertToLinear =
false;
131 bool HalfPrecision =
true;
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