Developer documentation
Version 3.0.3-105-gd3941f44
MR::GUI::GL::Shader::Object< TYPE > Class Template Reference

#include "gui/opengl/shader.h"

Public Member Functions

 Object ()
 
 Object (const std::string &source)
 
 Object (const Object &)=delete
 
 Object (Object &&other)
 
Objectoperator= (const Object &)=delete
 
Objectoperator= (Object &&other)
 
 ~Object ()
 
void clear ()
 
 operator GLuint () const
 
void compile (const std::string &source)
 
void debug ()
 

Static Public Member Functions

static const std::string type ()
 

Protected Attributes

GLuint index_
 

Friends

class Program
 

Detailed Description

template<GLint TYPE>
class MR::GUI::GL::Shader::Object< TYPE >

Definition at line 36 of file shader.h.

Constructor & Destructor Documentation

◆ Object() [1/4]

template<GLint TYPE>
MR::GUI::GL::Shader::Object< TYPE >::Object ( )
inline

Definition at line 39 of file shader.h.

◆ Object() [2/4]

template<GLint TYPE>
MR::GUI::GL::Shader::Object< TYPE >::Object ( const std::string &  source)
inline

Definition at line 40 of file shader.h.

◆ Object() [3/4]

template<GLint TYPE>
MR::GUI::GL::Shader::Object< TYPE >::Object ( const Object< TYPE > &  )
delete

◆ Object() [4/4]

template<GLint TYPE>
MR::GUI::GL::Shader::Object< TYPE >::Object ( Object< TYPE > &&  other)
inline

Definition at line 42 of file shader.h.

◆ ~Object()

template<GLint TYPE>
MR::GUI::GL::Shader::Object< TYPE >::~Object ( )
inline

Definition at line 50 of file shader.h.

Member Function Documentation

◆ clear()

template<GLint TYPE>
void MR::GUI::GL::Shader::Object< TYPE >::clear ( )
inline

Definition at line 52 of file shader.h.

◆ compile()

template<GLint TYPE>
void MR::GUI::GL::Shader::Object< TYPE >::compile ( const std::string &  source)
inline

Definition at line 62 of file shader.h.

◆ debug()

template<GLint TYPE>
void MR::GUI::GL::Shader::Object< TYPE >::debug ( )
inline

Definition at line 81 of file shader.h.

◆ operator GLuint()

template<GLint TYPE>
MR::GUI::GL::Shader::Object< TYPE >::operator GLuint ( ) const
inline

Definition at line 60 of file shader.h.

◆ operator=() [1/2]

template<GLint TYPE>
Object & MR::GUI::GL::Shader::Object< TYPE >::operator= ( const Object< TYPE > &  )
delete

◆ operator=() [2/2]

template<GLint TYPE>
Object & MR::GUI::GL::Shader::Object< TYPE >::operator= ( Object< TYPE > &&  other)
inline

Definition at line 44 of file shader.h.

◆ type()

template<GLint TYPE>
static const std::string MR::GUI::GL::Shader::Object< TYPE >::type ( )
inlinestatic

Definition at line 79 of file shader.h.

Friends And Related Function Documentation

◆ Program

template<GLint TYPE>
friend class Program
friend

Definition at line 88 of file shader.h.

Member Data Documentation

◆ index_

template<GLint TYPE>
GLuint MR::GUI::GL::Shader::Object< TYPE >::index_
protected

Definition at line 87 of file shader.h.


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