CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxOpenGLShaders.h
Go to the documentation of this file.
1 #ifndef OPENGLSHADERS_H
2 #define OPENGLSHADERS_H
3 
4 #include <string>
5 
6 namespace cx
7 {
8 
28 static const std::string VS_In_Vec3_TextureCoordinate = "cx_vs_in_texture_coordinates";
29 static const std::string VS_Out_Vec3_TextureCoordinate = "cx_vs_out_texture_coordinates";
30 static const std::string FS_In_Vec3_TextureCoordinate = "cx_fs_in_texture_coordinates";
31 static const std::string FS_Uniform_3DTexture_Volume = "cx_fs_uniform_3Dtexture";
32 static const std::string FS_Uniform_1DTexture_LUT = "cx_fs_uniform_1Dtexture";
33 static const std::string FS_Uniform_Window = "cx_fs_uniform_window";
34 static const std::string FS_Uniform_Level = "cx_fs_uniform_level";
35 static const std::string FS_Uniform_LLR = "cx_fs_uniform_llr";
36 static const std::string FS_Uniform_Alpha = "cx_fs_uniform_alpha";
37 static const std::string FS_Out_Vec4_Color = "cx_fs_out_color";
38 
39 const std::string getVSReplacement_dec(std::string vtk_dec, int numberOfUploadedTextures);
40 const std::string getVSReplacement_impl(std::string vtk_impl, int numberOfUploadedTextures);
41 const std::string getFS(int numberOfUploadedTextures);
42 const std::string getSampleLutImplementation(int numberOfUploadedTextures);
43 
44 } //namespace cx
45 
46 #endif // OPENGLSHADERS_H
const std::string getVSReplacement_impl(std::string vtk_impl, int numberOfUploadedTextures)
const std::string getFS(int numberOfUploadedTextures)
const std::string getSampleLutImplementation(int numberOfUploadedTextures)
getSampleLutImplementation generates code which will sample the LUT WITHOUT using a for loop...
const std::string getVSReplacement_dec(std::string vtk_dec, int numberOfUploadedTextures)
Namespace for all CustusX production code.