Go to the documentation of this file.
42 #ifndef vtkDepthPeelingPass_h
43 #define vtkDepthPeelingPass_h
45 #include "vtkRenderingOpenGLModule.h"
49 class vtkDepthPeelingPassLayerList;
81 virtual void SetTranslucentPass(
vtkRenderPass *translucentPass);
94 vtkSetClampMacro(OcclusionRatio,
double,0.0,0.5);
95 vtkGetMacro(OcclusionRatio,
double);
105 vtkGetMacro(MaximumNumberOfPeels,
int);
113 vtkGetMacro(LastRenderingUsedDepthPeeling,
bool);
144 void CheckCompilation(
unsigned int fragmentShader);
vtkRenderPass * TranslucentPass
Implement an Order Independent Transparency render pass.
virtual void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
record modification and/or execution time
unsigned int DepthFormat
Actual depth format: vtkgl::DEPTH_COMPONENT16_ARB or vtkgl::DEPTH_COMPONENT24_ARB.
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
unsigned int TransparentLayerZ
window superclass for vtkRenderWindow
a simple class to control print indentation
int DepthPeelingHigherLayer
unsigned int OpaqueLayerZ
vtkDepthPeelingPassLayerList * LayerList
Used by the depth peeling technique to store the transparency layers.
int ViewportX
Cache viewport values for depth peeling.
bool LastRenderingUsedDepthPeeling
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
Context in which a vtkRenderPass will render.
int MaximumNumberOfPeels
In case of depth peeling, define the maximum number of peeling layers.
double OcclusionRatio
In case of use of depth peeling technique for rendering translucent material, define the threshold un...
Perform part of the rendering of a vtkRenderer.