MCPcopy Create free account
hub / github.com/Kitware/VTK / ExitDepthPass

Method ExitDepthPass

Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx:2073–2082  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2071
2072//------------------------------------------------------------------------------
2073void vtkOpenGLGPUVolumeRayCastMapper::vtkInternal::ExitDepthPass(vtkRenderer* vtkNotUsed(ren))
2074{
2075 this->DPFBO->DeactivateDrawBuffers();
2076 vtkOpenGLState* ostate = this->DPFBO->GetContext()->GetState();
2077 ostate->PopFramebufferBindings();
2078
2079 this->DPDepthBufferTextureObject->Deactivate();
2080 this->DPColorTextureObject->Deactivate();
2081 ostate->vtkglDisable(GL_DEPTH_TEST);
2082}
2083
2084//------------------------------------------------------------------------------
2085void vtkOpenGLGPUVolumeRayCastMapper::vtkInternal ::ReleaseRenderToTextureGraphicsResources(

Callers 1

RenderContourPassMethod · 0.95

Calls 5

DeactivateDrawBuffersMethod · 0.80
vtkglDisableMethod · 0.80
GetStateMethod · 0.45
GetContextMethod · 0.45
DeactivateMethod · 0.45

Tested by

no test coverage detected