Developer documentation
Version 3.0.3-105-gd3941f44
MR::GUI::MRView::Tool::ShaderBase Class Referenceabstract

#include "gui/mrview/tool/connectome/shaders.h"

Inheritance diagram for MR::GUI::MRView::Tool::ShaderBase:
MR::GUI::GL::Shader::Program MR::GUI::MRView::Tool::EdgeShader MR::GUI::MRView::Tool::NodeShader

Protected Attributes

std::string vertex_shader_source
 
std::string geometry_shader_source
 
std::string fragment_shader_source
 
bool crop_to_slab
 
bool is_3D
 
bool use_lighting
 
float slab_thickness
 
- Protected Attributes inherited from MR::GUI::GL::Shader::Program
GLuint index_
 

Additional Inherited Members

- Public Member Functions inherited from MR::GUI::GL::Shader::Program
 Program ()
 
 Program (Program &&other)
 
 Program (const Program &)=delete
 
Programoperator= (const Program &)=delete
 
Programoperator= (Program &&other)
 
 ~Program ()
 
void clear ()
 
 operator GLuint () const
 
template<GLint TYPE>
void attach (const Object< TYPE > &object)
 
template<GLint TYPE>
void detach (const Object< TYPE > &object)
 
void link ()
 
void start () const
 
void debug () const
 
- Static Public Member Functions inherited from MR::GUI::GL::Shader::Program
static void stop ()
 

Detailed Description

Definition at line 37 of file shaders.h.

Member Data Documentation

◆ crop_to_slab

bool MR::GUI::MRView::Tool::ShaderBase::crop_to_slab
protected

Definition at line 56 of file shaders.h.

◆ fragment_shader_source

std::string MR::GUI::MRView::Tool::ShaderBase::fragment_shader_source
protected

Definition at line 55 of file shaders.h.

◆ geometry_shader_source

std::string MR::GUI::MRView::Tool::ShaderBase::geometry_shader_source
protected

Definition at line 55 of file shaders.h.

◆ is_3D

bool MR::GUI::MRView::Tool::ShaderBase::is_3D
protected

Definition at line 56 of file shaders.h.

◆ slab_thickness

float MR::GUI::MRView::Tool::ShaderBase::slab_thickness
protected

Definition at line 57 of file shaders.h.

◆ use_lighting

bool MR::GUI::MRView::Tool::ShaderBase::use_lighting
protected

Definition at line 56 of file shaders.h.

◆ vertex_shader_source

std::string MR::GUI::MRView::Tool::ShaderBase::vertex_shader_source
protected

Definition at line 55 of file shaders.h.


The documentation for this class was generated from the following file: