------------------------------------------------------------------------------
| 3897 | |
| 3898 | //------------------------------------------------------------------------------ |
| 3899 | void vtkOpenGLGPUVolumeRayCastMapper::DoGPURender(vtkRenderer* ren, vtkOpenGLCamera* cam, |
| 3900 | vtkShaderProgram* prog, vtkOpenGLShaderProperty* shaderProperty) |
| 3901 | { |
| 3902 | if (!prog) |
| 3903 | { |
| 3904 | return; |
| 3905 | } |
| 3906 | |
| 3907 | // Upload the value of user-defined uniforms in the program |
| 3908 | auto vu = static_cast<vtkOpenGLUniforms*>(shaderProperty->GetVertexCustomUniforms()); |
| 3909 | vu->SetUniforms(prog); |
| 3910 | auto fu = static_cast<vtkOpenGLUniforms*>(shaderProperty->GetFragmentCustomUniforms()); |
| 3911 | fu->SetUniforms(prog); |
| 3912 | auto gu = static_cast<vtkOpenGLUniforms*>(shaderProperty->GetGeometryCustomUniforms()); |
| 3913 | gu->SetUniforms(prog); |
| 3914 | |
| 3915 | this->SetShaderParametersRenderPass(); |
| 3916 | if (!this->Impl->MultiVolume) |
| 3917 | { |
| 3918 | this->Impl->RenderSingleInput(ren, cam, prog); |
| 3919 | } |
| 3920 | else |
| 3921 | { |
| 3922 | this->Impl->RenderMultipleInputs(ren, cam, prog); |
| 3923 | } |
| 3924 | } |
| 3925 | |
| 3926 | //------------------------------------------------------------------------------ |
| 3927 | void vtkOpenGLGPUVolumeRayCastMapper::vtkInternal::RenderMultipleInputs( |
no test coverage detected