24 #ifndef vtkPBRIrradianceTexture_h
25 #define vtkPBRIrradianceTexture_h
28 #include "vtkRenderingOpenGL2Module.h"
30 VTK_ABI_NAMESPACE_BEGIN
66 vtkGetMacro(IrradianceSize,
unsigned int);
67 vtkSetMacro(IrradianceSize,
unsigned int);
77 vtkGetMacro(IrradianceStep,
float);
78 vtkSetMacro(IrradianceStep,
float);
87 vtkGetMacro(ConvertToLinear,
bool);
88 vtkSetMacro(ConvertToLinear,
bool);
89 vtkBooleanMacro(ConvertToLinear,
bool);
104 float IrradianceStep = 0.04908738521;
105 unsigned int IrradianceSize = 256;
107 bool ConvertToLinear =
false;
114 VTK_ABI_NAMESPACE_END
a simple class to control print indentation
Internal class which encapsulates OpenGL FramebufferObject.
void Load(vtkRenderer *) override
Implement base class method.
precompute irradiance texture used in physically based rendering
void Render(vtkRenderer *ren) override
Implement base class method.
static vtkPBRIrradianceTexture * New()
vtkPBRIrradianceTexture()=default
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this texture.
void Load(vtkRenderer *) override
Implement base class method.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkPBRIrradianceTexture() override
void SetInputTexture(vtkOpenGLTexture *texture)
Get/Set the input texture.
create a window for renderers to draw into
abstract specification for renderers
window superclass for vtkRenderWindow