16#ifndef vtkPBRPrefilterTexture_h
17#define vtkPBRPrefilterTexture_h
20#include "vtkRenderingOpenGL2Module.h"
23VTK_ABI_NAMESPACE_BEGIN
58 vtkGetMacro(PrefilterSize,
unsigned int);
66 vtkGetMacro(PrefilterLevels,
unsigned int);
67 vtkSetMacro(PrefilterLevels,
unsigned int);
77 vtkGetMacro(PrefilterMaxSamples,
unsigned int);
78 vtkSetMacro(PrefilterMaxSamples,
unsigned int);
87 vtkGetMacro(ConvertToLinear,
bool);
88 vtkSetMacro(ConvertToLinear,
bool);
89 vtkBooleanMacro(ConvertToLinear,
bool);
99 vtkGetMacro(HalfPrecision,
bool);
100 vtkSetMacro(HalfPrecision,
bool);
101 vtkBooleanMacro(HalfPrecision,
bool);
117 unsigned int PrefilterLevels = 5;
118 unsigned int PrefilterMaxSamples = 512;
120 bool ConvertToLinear =
false;
121 bool HalfPrecision =
true;
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