Developer documentation
Version 3.0.3-105-gd3941f44
MR::GUI::GL::Shader::Program Class Reference

#include "gui/opengl/shader.h"

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

Public Member Functions

 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

static void stop ()
 

Protected Attributes

GLuint index_
 

Detailed Description

Definition at line 97 of file shader.h.

Constructor & Destructor Documentation

◆ Program() [1/3]

MR::GUI::GL::Shader::Program::Program ( )
inline

Definition at line 100 of file shader.h.

◆ Program() [2/3]

MR::GUI::GL::Shader::Program::Program ( Program &&  other)
inline

Definition at line 101 of file shader.h.

◆ Program() [3/3]

MR::GUI::GL::Shader::Program::Program ( const Program )
delete

◆ ~Program()

MR::GUI::GL::Shader::Program::~Program ( )
inline

Definition at line 110 of file shader.h.

Member Function Documentation

◆ attach()

template<GLint TYPE>
void MR::GUI::GL::Shader::Program::attach ( const Object< TYPE > &  object)
inline

Definition at line 122 of file shader.h.

◆ clear()

void MR::GUI::GL::Shader::Program::clear ( )
inline

Definition at line 112 of file shader.h.

◆ debug()

void MR::GUI::GL::Shader::Program::debug ( ) const
inline

Definition at line 157 of file shader.h.

◆ detach()

template<GLint TYPE>
void MR::GUI::GL::Shader::Program::detach ( const Object< TYPE > &  object)
inline

Definition at line 130 of file shader.h.

◆ link()

void MR::GUI::GL::Shader::Program::link ( )
inline

Definition at line 136 of file shader.h.

◆ operator GLuint()

MR::GUI::GL::Shader::Program::operator GLuint ( ) const
inline

Definition at line 119 of file shader.h.

◆ operator=() [1/2]

Program & MR::GUI::GL::Shader::Program::operator= ( const Program )
delete

◆ operator=() [2/2]

Program & MR::GUI::GL::Shader::Program::operator= ( Program &&  other)
inline

Definition at line 104 of file shader.h.

◆ start()

void MR::GUI::GL::Shader::Program::start ( ) const
inline

Definition at line 147 of file shader.h.

◆ stop()

static void MR::GUI::GL::Shader::Program::stop ( )
inlinestatic

Definition at line 152 of file shader.h.

Member Data Documentation

◆ index_

GLuint MR::GUI::GL::Shader::Program::index_
protected

Definition at line 163 of file shader.h.


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