| GL Studio C++ Runtime API

gls_es20_shaders.h
Go to the documentation of this file.
1/**! \file
2 \brief Strings for the shaders used in the effect factory.
3
4 \par Copyright Information
5
6 Copyright (c) 2017 by The DiSTI Corporation.<br>
7 11301 Corporate Blvd; Suite 100<br>
8 Orlando, Florida 32817<br>
9 USA<br>
10 <br>
11 All rights reserved.<br>
12
13 This Software contains proprietary trade secrets of DiSTI and may not be
14 reproduced, in whole or part, in any form, or by any means of electronic,
15 mechanical, or otherwise, without the written permission of DiSTI. Said
16 permission may be derived through the purchase of applicable DiSTI product
17 licenses which detail the distribution rights of this content and any
18 Derivative Works based on this or other copyrighted DiSTI Software.
19
20 NO WARRANTY. THE SOFTWARE IS PROVIDED "AS-IS," WITHOUT WARRANTY OF ANY KIND,
21 AND ANY USE OF THIS SOFTWARE PRODUCT IS AT YOUR OWN RISK. TO THE MAXIMUM EXTENT
22 PERMITTED BY APPLICABLE LAW, DISTI AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES
23 AND CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
24 IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY AND/OR FITNESS FOR A
25 PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT, WITH REGARD TO THE SOFTWARE.
26
27 LIMITATION OF LIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW,
28 IN NO EVENT SHALL DISTI OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
29 INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION,
30 DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
31 INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR
32 INABILITY TO USE THE SOFTWARE, EVEN IF DISTI HAS BEEN ADVISED OF THE POSSIBILITY
33 OF SUCH DAMAGES. DISTI'S ENTIRE LIABILITY AND YOUR EXCLUSIVE REMEDY SHALL NOT
34 EXCEED FIVE DOLLARS (US$5.00).
35
36 The aforementioned terms and restrictions are governed by the laws of the
37 State of Florida and the United States of America. Use, distribution,
38 duplication, or disclosure by the U. S. Government is subject to
39"Restricted Rights" as set forth in DFARS 252.227-7014(c)(1)(ii).
40
41*/
42
43#ifndef DISTI_GLS_ES20_SHADERS_H_INCLUDED
44#define DISTI_GLS_ES20_SHADERS_H_INCLUDED
45
46#include "gls_gl.h"
47
48 namespace disti
49{
50/// \cond INTERNAL
51 extern const GLchar* VERT_SHADER_LIGHTING_UNIFORMS;
52 extern const GLchar* VERT_SHADER_LIGHTING_UNIFORMS_ONE_OR_MORE_LIGHTS;
53 extern const GLchar* VERT_SHADER_CLIPPING_UNIFORMS;
54 extern const GLchar* VERT_SHADER_DIFFUSE_MAP_VARYING;
55 extern const GLchar* VERT_SHADER_DIFFUSE_UVW_MATRIX_UNIFORMS;
56 extern const GLchar* VERT_SHADER_MAIN_BEGIN;
57 extern const GLchar* VERT_SHADER_DIFFUSE_MAP_CODE;
58 extern const GLchar* VERT_SHADER_DIFFUSE_UVW_MATRIX_CODE;
59 extern const GLchar* VERT_SHADER_LIGHTING_BEGIN_CODE;
60 extern const GLchar* VERT_SHADER_LIGHTING_DIR_LIGHT_CODE_START;
61 extern const GLchar* VERT_SHADER_LIGHTING_DIR_LIGHT_CODE_END;
62 extern const GLchar* VERT_SHADER_LIGHTING_POINT_LIGHT_CODE_START;
63 extern const GLchar* VERT_SHADER_LIGHTING_POINT_LIGHT_CODE_END;
64 extern const GLchar* VERT_SHADER_LIGHTING_FOR_LOOP_CODE;
65 extern const GLchar* VERT_SHADER_LIGHTING_END_CODE;
66 extern const GLchar* VERT_SHADER_CLIPPING_CODE;
67 extern const GLchar* VERT_SHADER_MAIN_END;
68 extern const GLchar* VERT_SHADER_FALLBACK_CODE;
69 extern const GLchar* FRAG_SHADER_PRECISION;
70 extern const GLchar* FRAG_SHADER_DIFFUSE_MAP_VARYING;
71 extern const GLchar* FRAG_SHADER_DIFFUSE_MAP_UNIFORMS;
72 extern const GLchar* FRAG_SHADER_CLIPPING_VARYING;
73 extern const GLchar* FRAG_SHADER_MAIN_BEGIN;
74 extern const GLchar* FRAG_SHADER_CLIPPING_CODE;
75 extern const GLchar* FRAG_SHADER_TEXTURE_BLEND_CODE;
76 extern const GLchar* FRAG_SHADER_TEXTURE_MODULATE_CODE;
77 extern const GLchar* FRAG_SHADER_TEXTURE_ALPHA_CODE;
78 extern const GLchar* FRAG_SHADER_TEXTURE_REPLACE_RGB_CODE;
79 extern const GLchar* FRAG_SHADER_TEXTURE_REPLACE_ALPHA_CODE;
80 extern const GLchar* FRAG_SHADER_ALPHA_TEST_CODE;
81 extern const GLchar* FRAG_SHADER_TEXTURE_DECAL_CODE;
82 extern const GLchar* FRAG_SHADER_MAIN_END;
83 extern const GLchar* FRAG_SHADER_FALLBACK_CODE;
84
85 extern const GLchar* MAXLIKE_VERT_SHADER_ATTRIBUTES;
86 extern const GLchar* MAXLIKE_VERT_SHADER_NORMAL_MAP_VARYING;
87 extern const GLchar* MAXLIKE_VERT_SHADER_VERTEX_COLOR_VARYING;
88 extern const GLchar* MAXLIKE_VERT_SHADER_DIFFUSE_UVW_MATRIX_UNIFORMS;
89 extern const GLchar* MAXLIKE_VERT_SHADER_SPECULAR_UVW_MATRIX_UNIFORMS;
90 extern const GLchar* MAXLIKE_VERT_SHADER_NORMAL_UVW_MATRIX_UNIFORMS;
91 extern const GLchar* MAXLIKE_VERT_SHADER_NO_TEX_MATRIX_VARYING;
92 extern const GLchar* MAXLIKE_VERT_SHADER_MAIN_BEGIN;
93 extern const GLchar* MAXLIKE_VERT_SHADER_NORMAL_MAP_CODE;
94 extern const GLchar* MAXLIKE_VERT_SHADER_DIFFUSE_UVW_MATRIX_CODE;
95 extern const GLchar* MAXLIKE_VERT_SHADER_NORMAL_UVW_MATRIX_CODE;
96 extern const GLchar* MAXLIKE_VERT_SHADER_SPECULAR_UVW_MATRIX_CODE;
97 extern const GLchar* MAXLIKE_VERT_SHADER_NO_TEX_MATRIX_CODE;
98 extern const GLchar* MAXLIKE_VERT_SHADER_VERTEX_COLOR_CODE;
99 extern const GLchar* MAXLIKE_VERT_SHADER_MAIN_END;
100 extern const GLchar* MAXLIKE_VERT_SHADER_FALLBACK_CODE;
101 extern const GLchar* MAXLIKE_FRAG_SHADER_PRECISION;
102 extern const GLchar* MAXLIKE_FRAG_SHADER_DIFFUSE_MAP_UNIFORMS;
103 extern const GLchar* MAXLIKE_FRAG_SHADER_DIFFUSE_AMOUNT_UNIFORMS;
104 extern const GLchar* MAXLIKE_FRAG_SHADER_SPECULAR_MAP_UNIFORMS;
105 extern const GLchar* MAXLIKE_FRAG_SHADER_REFLECTION_MAP_UNIFORMS;
106 extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_MAP_UNIFORMS;
107 extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_AMOUNT_UNIFORMS;
108 extern const GLchar* MAXLIKE_FRAG_SHADER_VERTEX_COLOR_VARYING;
109 extern const GLchar* MAXLIKE_FRAG_SHADER_DIFFUSE_MAP_AND_UVW_MATRIX_VARYING;
110 extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_MAP_AND_UVW_MATRIX_VARYING;
111 extern const GLchar* MAXLIKE_FRAG_SHADER_SPECULAR_MAP_AND_UVW_MATRIX_VARYING;
112 extern const GLchar* MAXLIKE_FRAG_SHADER_NO_TEX_MATRIX_VARYING;
113 extern const GLchar* MAXLIKE_FRAG_SHADER_PER_FRAG_VARYING;
114 extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_UNIFORMS;
115 extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_UNIFORMS_ONE_OR_MORE_LIGHTS;
116 extern const GLchar* MAXLIKE_FRAG_SHADER_MAIN_BEGIN;
117 extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_MAP_CODE_SNIPPET1;
118 extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_MAP_CODE_SNIPPET2;
119 extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_MAP_CODE_SNIPPET3;
120 extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_NO_UVW_MATRIX_CODE;
121 extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_FLIP_G_CODE;
122 extern const GLchar* MAXLIKE_FRAG_SHADER_NORMAL_AMOUNT_CODE;
123 extern const GLchar* MAXLIKE_FRAG_SHADER_NO_NORMAL_MAP_CODE;
124 extern const GLchar* MAXLIKE_FRAG_SHADER_SPECULAR_MAP_NO_UVW_MATRIX_CODE;
125 extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_BEGIN_CODE;
126 extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_FOR_LOOP_CODE;
127 extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_POINT_LIGHT_CODE_START;
128 extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_POINT_LIGHT_CODE_END;
129 extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_DIRECTIONAL_LIGHT_CODE_START;
130 extern const GLchar* MAXLIKE_FRAG_SHADER_LIGHTING_DIRECTIONAL_LIGHT_CODE_END;
131 extern const GLchar* MAXLIKE_FRAG_SHADER_VERTEX_COLOR_CODE;
132 extern const GLchar* MAXLIKE_FRAG_SHADER_NO_VERTEX_COLOR_CODE;
133 extern const GLchar* MAXLIKE_FRAG_SHADER_DIFFUSE_NO_UVW_MATRIX_CODE;
134 extern const GLchar* MAXLIKE_FRAG_SHADER_DIFFUSE_MAP_COLOR_CODE;
135 extern const GLchar* MAXLIKE_FRAG_SHADER_DIFFUSE_AMOUNT_CODE;
136 extern const GLchar* MAXLIKE_FRAG_SHADER_NO_DIFFUSE_AMOUNT_CODE;
137 extern const GLchar* MAXLIKE_FRAG_SHADER_NO_DIFFUSE_MAP_CODE;
138 extern const GLchar* MAXLIKE_FRAG_SHADER_SPECULAR_MAP_CODE;
139 extern const GLchar* MAXLIKE_FRAG_SHADER_NO_SPECULAR_MAP_CODE;
140 extern const GLchar* MAXLIKE_FRAG_SHADER_REFLECTION_MAP_CODE;
141 extern const GLchar* MAXLIKE_FRAG_SHADER_REFLECTION_MAP_WITH_SPECULAR_MAP_CODE;
142 extern const GLchar* MAXLIKE_FRAG_SHADER_REFLECTION_MAP_NO_SPECULAR_MAP_CODE;
143 extern const GLchar* MAXLIKE_FRAG_SHADER_MAIN_END;
144 extern const GLchar* MAXLIKE_FRAG_SHADER_FALLBACK_CODE;
145/// \endcond
146} // namespace disti
147
148#endif // DISTI_GLS_ES20_SHADERS_H_INCLUDED
gls_gl.h
The gls_gl.
GLchar
#define GLchar
Hack for imx.53 board which does not define GLchar in gl2.h or gl2ext.h.
Definition: gls_gl.h:80
disti
Definition: bmpimage.h:47