MeVisLab Toolbox Reference
|
#include "SoShaderSystem.h"
#include <Inventor/SbBasic.h>
Go to the source code of this file.
Classes | |
struct | SoShader |
Shader-releated types. More... | |
Macros | |
#define | SO_SHADER_TYPE_TO_STRING(shaderType) (((shaderType) == SoShader::VERTEX_SHADER) ? "vertex" : (((shaderType) == SoShader::FRAGMENT_SHADER) ? "fragment" : "geometry")) |
#define | SO_SHADER_TYPE_TO_GLTYPE(shaderType) (((shaderType) == SoShader::VERTEX_SHADER) ? GL_VERTEX_SHADER : (((shaderType) == SoShader::FRAGMENT_SHADER) ? GL_FRAGMENT_SHADER : GL_GEOMETRY_SHADER_EXT)) |
#define SO_SHADER_TYPE_TO_GLTYPE | ( | shaderType | ) | (((shaderType) == SoShader::VERTEX_SHADER) ? GL_VERTEX_SHADER : (((shaderType) == SoShader::FRAGMENT_SHADER) ? GL_FRAGMENT_SHADER : GL_GEOMETRY_SHADER_EXT)) |
Definition at line 35 of file SoShaderTypes.h.
#define SO_SHADER_TYPE_TO_STRING | ( | shaderType | ) | (((shaderType) == SoShader::VERTEX_SHADER) ? "vertex" : (((shaderType) == SoShader::FRAGMENT_SHADER) ? "fragment" : "geometry")) |
Definition at line 34 of file SoShaderTypes.h.