24 #ifndef vtkPBRIrradianceTexture_h
25 #define vtkPBRIrradianceTexture_h
28 #include "vtkRenderingOpenGL2Module.h"
65 vtkGetMacro(IrradianceSize,
unsigned int);
66 vtkSetMacro(IrradianceSize,
unsigned int);
76 vtkGetMacro(IrradianceStep,
float);
77 vtkSetMacro(IrradianceStep,
float);
86 vtkGetMacro(ConvertToLinear,
bool);
87 vtkSetMacro(ConvertToLinear,
bool);
88 vtkBooleanMacro(ConvertToLinear,
bool);
103 float IrradianceStep = 0.04908738521;
104 unsigned int IrradianceSize = 256;
106 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 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