Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::GPGPU::Shader Class Reference

#include <mitkGPGPU.h>

Public Member Functions

 Shader (char *source)
 
 ~Shader ()
 
void Activate ()
 
void SetUniform (char *name, int i0)
 
void SetUniform (char *name, int i0, int i1)
 
void SetUniform (char *name, int i0, int i1, int i2)
 
void SetUniform (char *name, int i0, int i1, int i2, int i3)
 
void SetUniform (char *name, float i0)
 
void SetUniform (char *name, float i0, float i1)
 
void SetUniform (char *name, float i0, float i1, float i2)
 
void SetUniform (char *name, float i0, float i1, float i2, float i3)
 

Detailed Description

Definition at line 74 of file mitkGPGPU.h.

Constructor & Destructor Documentation

mitk::GPGPU::Shader::Shader ( char *  source)

Definition at line 288 of file mitkGPGPU.cpp.

References GPGPU_CHECKGLERR, GPGPU_ERROR, and stubVertexShader.

mitk::GPGPU::Shader::~Shader ( )

Definition at line 359 of file mitkGPGPU.cpp.

Member Function Documentation

void mitk::GPGPU::Shader::Activate ( )

Definition at line 366 of file mitkGPGPU.cpp.

References GPGPU_CHECKGLERR.

void mitk::GPGPU::Shader::SetUniform ( char *  name,
int  i0 
)

Definition at line 377 of file mitkGPGPU.cpp.

References GPGPU_CHECKGLERR.

void mitk::GPGPU::Shader::SetUniform ( char *  name,
int  i0,
int  i1 
)

Definition at line 384 of file mitkGPGPU.cpp.

References GPGPU_CHECKGLERR.

void mitk::GPGPU::Shader::SetUniform ( char *  name,
int  i0,
int  i1,
int  i2 
)

Definition at line 393 of file mitkGPGPU.cpp.

References GPGPU_CHECKGLERR.

void mitk::GPGPU::Shader::SetUniform ( char *  name,
int  i0,
int  i1,
int  i2,
int  i3 
)

Definition at line 403 of file mitkGPGPU.cpp.

References GPGPU_CHECKGLERR.

void mitk::GPGPU::Shader::SetUniform ( char *  name,
float  i0 
)

Definition at line 414 of file mitkGPGPU.cpp.

References GPGPU_CHECKGLERR.

void mitk::GPGPU::Shader::SetUniform ( char *  name,
float  i0,
float  i1 
)

Definition at line 421 of file mitkGPGPU.cpp.

References GPGPU_CHECKGLERR.

void mitk::GPGPU::Shader::SetUniform ( char *  name,
float  i0,
float  i1,
float  i2 
)

Definition at line 430 of file mitkGPGPU.cpp.

References GPGPU_CHECKGLERR.

void mitk::GPGPU::Shader::SetUniform ( char *  name,
float  i0,
float  i1,
float  i2,
float  i3 
)

Definition at line 440 of file mitkGPGPU.cpp.

References GPGPU_CHECKGLERR.


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