0.9.9 API documenation
matrix_integer.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 
14 // Dependency:
15 #include "../mat2x2.hpp"
16 #include "../mat2x3.hpp"
17 #include "../mat2x4.hpp"
18 #include "../mat3x2.hpp"
19 #include "../mat3x3.hpp"
20 #include "../mat3x4.hpp"
21 #include "../mat4x2.hpp"
22 #include "../mat4x3.hpp"
23 #include "../mat4x4.hpp"
24 
25 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
26 # pragma message("GLM: GLM_GTC_matrix_integer extension included")
27 #endif
28 
29 namespace glm
30 {
33 
36  typedef mat<2, 2, int, highp> highp_imat2;
37 
40  typedef mat<3, 3, int, highp> highp_imat3;
41 
44  typedef mat<4, 4, int, highp> highp_imat4;
45 
48  typedef mat<2, 2, int, highp> highp_imat2x2;
49 
52  typedef mat<2, 3, int, highp> highp_imat2x3;
53 
56  typedef mat<2, 4, int, highp> highp_imat2x4;
57 
60  typedef mat<3, 2, int, highp> highp_imat3x2;
61 
64  typedef mat<3, 3, int, highp> highp_imat3x3;
65 
68  typedef mat<3, 4, int, highp> highp_imat3x4;
69 
72  typedef mat<4, 2, int, highp> highp_imat4x2;
73 
76  typedef mat<4, 3, int, highp> highp_imat4x3;
77 
80  typedef mat<4, 4, int, highp> highp_imat4x4;
81 
82 
85  typedef mat<2, 2, int, mediump> mediump_imat2;
86 
89  typedef mat<3, 3, int, mediump> mediump_imat3;
90 
93  typedef mat<4, 4, int, mediump> mediump_imat4;
94 
95 
98  typedef mat<2, 2, int, mediump> mediump_imat2x2;
99 
102  typedef mat<2, 3, int, mediump> mediump_imat2x3;
103 
106  typedef mat<2, 4, int, mediump> mediump_imat2x4;
107 
110  typedef mat<3, 2, int, mediump> mediump_imat3x2;
111 
114  typedef mat<3, 3, int, mediump> mediump_imat3x3;
115 
118  typedef mat<3, 4, int, mediump> mediump_imat3x4;
119 
122  typedef mat<4, 2, int, mediump> mediump_imat4x2;
123 
126  typedef mat<4, 3, int, mediump> mediump_imat4x3;
127 
130  typedef mat<4, 4, int, mediump> mediump_imat4x4;
131 
132 
135  typedef mat<2, 2, int, lowp> lowp_imat2;
136 
139  typedef mat<3, 3, int, lowp> lowp_imat3;
140 
143  typedef mat<4, 4, int, lowp> lowp_imat4;
144 
145 
148  typedef mat<2, 2, int, lowp> lowp_imat2x2;
149 
152  typedef mat<2, 3, int, lowp> lowp_imat2x3;
153 
156  typedef mat<2, 4, int, lowp> lowp_imat2x4;
157 
160  typedef mat<3, 2, int, lowp> lowp_imat3x2;
161 
164  typedef mat<3, 3, int, lowp> lowp_imat3x3;
165 
168  typedef mat<3, 4, int, lowp> lowp_imat3x4;
169 
172  typedef mat<4, 2, int, lowp> lowp_imat4x2;
173 
176  typedef mat<4, 3, int, lowp> lowp_imat4x3;
177 
180  typedef mat<4, 4, int, lowp> lowp_imat4x4;
181 
182 
185  typedef mat<2, 2, uint, highp> highp_umat2;
186 
189  typedef mat<3, 3, uint, highp> highp_umat3;
190 
193  typedef mat<4, 4, uint, highp> highp_umat4;
194 
197  typedef mat<2, 2, uint, highp> highp_umat2x2;
198 
201  typedef mat<2, 3, uint, highp> highp_umat2x3;
202 
205  typedef mat<2, 4, uint, highp> highp_umat2x4;
206 
209  typedef mat<3, 2, uint, highp> highp_umat3x2;
210 
213  typedef mat<3, 3, uint, highp> highp_umat3x3;
214 
217  typedef mat<3, 4, uint, highp> highp_umat3x4;
218 
221  typedef mat<4, 2, uint, highp> highp_umat4x2;
222 
225  typedef mat<4, 3, uint, highp> highp_umat4x3;
226 
229  typedef mat<4, 4, uint, highp> highp_umat4x4;
230 
231 
234  typedef mat<2, 2, uint, mediump> mediump_umat2;
235 
238  typedef mat<3, 3, uint, mediump> mediump_umat3;
239 
242  typedef mat<4, 4, uint, mediump> mediump_umat4;
243 
244 
247  typedef mat<2, 2, uint, mediump> mediump_umat2x2;
248 
251  typedef mat<2, 3, uint, mediump> mediump_umat2x3;
252 
255  typedef mat<2, 4, uint, mediump> mediump_umat2x4;
256 
259  typedef mat<3, 2, uint, mediump> mediump_umat3x2;
260 
263  typedef mat<3, 3, uint, mediump> mediump_umat3x3;
264 
267  typedef mat<3, 4, uint, mediump> mediump_umat3x4;
268 
271  typedef mat<4, 2, uint, mediump> mediump_umat4x2;
272 
275  typedef mat<4, 3, uint, mediump> mediump_umat4x3;
276 
279  typedef mat<4, 4, uint, mediump> mediump_umat4x4;
280 
281 
284  typedef mat<2, 2, uint, lowp> lowp_umat2;
285 
288  typedef mat<3, 3, uint, lowp> lowp_umat3;
289 
292  typedef mat<4, 4, uint, lowp> lowp_umat4;
293 
294 
297  typedef mat<2, 2, uint, lowp> lowp_umat2x2;
298 
301  typedef mat<2, 3, uint, lowp> lowp_umat2x3;
302 
305  typedef mat<2, 4, uint, lowp> lowp_umat2x4;
306 
309  typedef mat<3, 2, uint, lowp> lowp_umat3x2;
310 
313  typedef mat<3, 3, uint, lowp> lowp_umat3x3;
314 
317  typedef mat<3, 4, uint, lowp> lowp_umat3x4;
318 
321  typedef mat<4, 2, uint, lowp> lowp_umat4x2;
322 
325  typedef mat<4, 3, uint, lowp> lowp_umat4x3;
326 
329  typedef mat<4, 4, uint, lowp> lowp_umat4x4;
330 
331 #if(defined(GLM_PRECISION_HIGHP_INT))
332  typedef highp_imat2 imat2;
333  typedef highp_imat3 imat3;
334  typedef highp_imat4 imat4;
335  typedef highp_imat2x2 imat2x2;
336  typedef highp_imat2x3 imat2x3;
337  typedef highp_imat2x4 imat2x4;
338  typedef highp_imat3x2 imat3x2;
339  typedef highp_imat3x3 imat3x3;
340  typedef highp_imat3x4 imat3x4;
341  typedef highp_imat4x2 imat4x2;
342  typedef highp_imat4x3 imat4x3;
343  typedef highp_imat4x4 imat4x4;
344 #elif(defined(GLM_PRECISION_LOWP_INT))
345  typedef lowp_imat2 imat2;
346  typedef lowp_imat3 imat3;
347  typedef lowp_imat4 imat4;
348  typedef lowp_imat2x2 imat2x2;
349  typedef lowp_imat2x3 imat2x3;
350  typedef lowp_imat2x4 imat2x4;
351  typedef lowp_imat3x2 imat3x2;
352  typedef lowp_imat3x3 imat3x3;
353  typedef lowp_imat3x4 imat3x4;
354  typedef lowp_imat4x2 imat4x2;
355  typedef lowp_imat4x3 imat4x3;
356  typedef lowp_imat4x4 imat4x4;
357 #else //if(defined(GLM_PRECISION_MEDIUMP_INT))
358 
361  typedef mediump_imat2 imat2;
362 
365  typedef mediump_imat3 imat3;
366 
369  typedef mediump_imat4 imat4;
370 
373  typedef mediump_imat2x2 imat2x2;
374 
377  typedef mediump_imat2x3 imat2x3;
378 
381  typedef mediump_imat2x4 imat2x4;
382 
385  typedef mediump_imat3x2 imat3x2;
386 
389  typedef mediump_imat3x3 imat3x3;
390 
393  typedef mediump_imat3x4 imat3x4;
394 
397  typedef mediump_imat4x2 imat4x2;
398 
401  typedef mediump_imat4x3 imat4x3;
402 
405  typedef mediump_imat4x4 imat4x4;
406 #endif//GLM_PRECISION
407 
408 #if(defined(GLM_PRECISION_HIGHP_UINT))
409  typedef highp_umat2 umat2;
410  typedef highp_umat3 umat3;
411  typedef highp_umat4 umat4;
412  typedef highp_umat2x2 umat2x2;
413  typedef highp_umat2x3 umat2x3;
414  typedef highp_umat2x4 umat2x4;
415  typedef highp_umat3x2 umat3x2;
416  typedef highp_umat3x3 umat3x3;
417  typedef highp_umat3x4 umat3x4;
418  typedef highp_umat4x2 umat4x2;
419  typedef highp_umat4x3 umat4x3;
420  typedef highp_umat4x4 umat4x4;
421 #elif(defined(GLM_PRECISION_LOWP_UINT))
422  typedef lowp_umat2 umat2;
423  typedef lowp_umat3 umat3;
424  typedef lowp_umat4 umat4;
425  typedef lowp_umat2x2 umat2x2;
426  typedef lowp_umat2x3 umat2x3;
427  typedef lowp_umat2x4 umat2x4;
428  typedef lowp_umat3x2 umat3x2;
429  typedef lowp_umat3x3 umat3x3;
430  typedef lowp_umat3x4 umat3x4;
431  typedef lowp_umat4x2 umat4x2;
432  typedef lowp_umat4x3 umat4x3;
433  typedef lowp_umat4x4 umat4x4;
434 #else //if(defined(GLM_PRECISION_MEDIUMP_UINT))
435 
438  typedef mediump_umat2 umat2;
439 
442  typedef mediump_umat3 umat3;
443 
446  typedef mediump_umat4 umat4;
447 
450  typedef mediump_umat2x2 umat2x2;
451 
454  typedef mediump_umat2x3 umat2x3;
455 
458  typedef mediump_umat2x4 umat2x4;
459 
462  typedef mediump_umat3x2 umat3x2;
463 
466  typedef mediump_umat3x3 umat3x3;
467 
470  typedef mediump_umat3x4 umat3x4;
471 
474  typedef mediump_umat4x2 umat4x2;
475 
478  typedef mediump_umat4x3 umat4x3;
479 
482  typedef mediump_umat4x4 umat4x4;
483 #endif//GLM_PRECISION
484 
486 }//namespace glm
mat< 2, 2, int, mediump > mediump_imat2
Medium-qualifier signed integer 2x2 matrix.
mat< 3, 3, int, mediump > mediump_imat3x3
Medium-qualifier signed integer 3x3 matrix.
mat< 2, 3, int, highp > highp_imat2x3
High-qualifier signed integer 2x3 matrix.
mat< 3, 3, int, highp > highp_imat3x3
High-qualifier signed integer 3x3 matrix.
mat< 4, 4, int, mediump > mediump_imat4
Medium-qualifier signed integer 4x4 matrix.
mat< 2, 2, int, highp > highp_imat2x2
High-qualifier signed integer 2x2 matrix.
mat< 4, 3, int, lowp > lowp_imat4x3
Low-qualifier signed integer 4x3 matrix.
mediump_umat4x4 umat4x4
Unsigned integer 4x4 matrix.
mediump_imat4 imat4
Signed integer 4x4 matrix.
mediump_imat2x3 imat2x3
Signed integer 2x3 matrix.
mat< 3, 3, uint, lowp > lowp_umat3
Low-qualifier unsigned integer 3x3 matrix.
mediump_umat3 umat3
Unsigned integer 3x3 matrix.
mediump_umat4x2 umat4x2
Unsigned integer 4x2 matrix.
mediump_imat3 imat3
Signed integer 3x3 matrix.
mediump_umat2x3 umat2x3
Unsigned integer 2x3 matrix.
mat< 4, 4, int, lowp > lowp_imat4x4
Low-qualifier signed integer 4x4 matrix.
mediump_umat2 umat2
Unsigned integer 2x2 matrix.
mediump_imat3x4 imat3x4
Signed integer 3x4 matrix.
mat< 4, 3, uint, highp > highp_umat4x3
High-qualifier unsigned integer 4x3 matrix.
mediump_imat2x2 imat2x2
Signed integer 2x2 matrix.
mat< 2, 2, uint, mediump > mediump_umat2
Medium-qualifier unsigned integer 2x2 matrix.
mat< 2, 4, int, lowp > lowp_imat2x4
Low-qualifier signed integer 2x4 matrix.
mat< 2, 4, uint, lowp > lowp_umat2x4
Low-qualifier unsigned integer 2x4 matrix.
mediump_umat2x2 umat2x2
Unsigned integer 2x2 matrix.
Definition: _noise.hpp:11
mat< 3, 3, uint, highp > highp_umat3x3
High-qualifier unsigned integer 3x3 matrix.
mat< 3, 3, uint, lowp > lowp_umat3x3
Low-qualifier unsigned integer 3x3 matrix.
mat< 4, 2, int, mediump > mediump_imat4x2
Medium-qualifier signed integer 4x2 matrix.
mat< 2, 2, uint, lowp > lowp_umat2x2
Low-qualifier unsigned integer 2x2 matrix.
mat< 4, 4, int, mediump > mediump_imat4x4
Medium-qualifier signed integer 4x4 matrix.
mat< 4, 2, int, lowp > lowp_imat4x2
Low-qualifier signed integer 4x2 matrix.
mat< 4, 4, uint, lowp > lowp_umat4x4
Low-qualifier unsigned integer 4x4 matrix.
mat< 4, 4, uint, mediump > mediump_umat4
Medium-qualifier unsigned integer 4x4 matrix.
mat< 4, 4, int, highp > highp_imat4x4
High-qualifier signed integer 4x4 matrix.
mat< 2, 2, int, highp > highp_imat2
High-qualifier signed integer 2x2 matrix.
mat< 4, 3, int, highp > highp_imat4x3
High-qualifier signed integer 4x3 matrix.
mat< 4, 4, uint, highp > highp_umat4x4
High-qualifier unsigned integer 4x4 matrix.
mat< 3, 2, uint, lowp > lowp_umat3x2
Low-qualifier unsigned integer 3x2 matrix.
mat< 4, 4, uint, mediump > mediump_umat4x4
Medium-qualifier unsigned integer 4x4 matrix.
mat< 3, 3, uint, mediump > mediump_umat3
Medium-qualifier unsigned integer 3x3 matrix.
mat< 3, 2, uint, highp > highp_umat3x2
High-qualifier unsigned integer 3x2 matrix.
mediump_umat2x4 umat2x4
Unsigned integer 2x4 matrix.
mat< 3, 4, int, highp > highp_imat3x4
High-qualifier signed integer 3x4 matrix.
mat< 2, 4, uint, mediump > mediump_umat2x4
Medium-qualifier unsigned integer 2x4 matrix.
mat< 4, 3, int, mediump > mediump_imat4x3
Medium-qualifier signed integer 4x3 matrix.
mat< 2, 2, int, lowp > lowp_imat2
Low-qualifier signed integer 2x2 matrix.
mat< 4, 2, uint, mediump > mediump_umat4x2
Medium-qualifier unsigned integer 4x2 matrix.
mat< 2, 3, int, mediump > mediump_imat2x3
Medium-qualifier signed integer 2x3 matrix.
mediump_umat4x3 umat4x3
Unsigned integer 4x3 matrix.
mediump_imat2 imat2
Signed integer 2x2 matrix.
mediump_imat4x2 imat4x2
Signed integer 4x2 matrix.
mat< 3, 4, int, lowp > lowp_imat3x4
Low-qualifier signed integer 3x4 matrix.
mat< 2, 2, uint, lowp > lowp_umat2
Low-qualifier unsigned integer 2x2 matrix.
mediump_umat3x2 umat3x2
Unsigned integer 3x2 matrix.
mediump_umat3x4 umat3x4
Unsigned integer 3x4 matrix.
mat< 2, 3, int, lowp > lowp_imat2x3
Low-qualifier signed integer 2x3 matrix.
mat< 4, 4, uint, highp > highp_umat4
High-qualifier unsigned integer 4x4 matrix.
mat< 4, 4, int, lowp > lowp_imat4
Low-qualifier signed integer 4x4 matrix.
mat< 2, 2, int, mediump > mediump_imat2x2
Medium-qualifier signed integer 2x2 matrix.
mat< 2, 3, uint, mediump > mediump_umat2x3
Medium-qualifier unsigned integer 2x3 matrix.
mat< 4, 3, uint, mediump > mediump_umat4x3
Medium-qualifier unsigned integer 4x3 matrix.
mediump_imat4x4 imat4x4
Signed integer 4x4 matrix.
mat< 3, 3, int, mediump > mediump_imat3
Medium-qualifier signed integer 3x3 matrix.
mat< 3, 4, uint, highp > highp_umat3x4
High-qualifier unsigned integer 3x4 matrix.
mat< 2, 3, uint, lowp > lowp_umat2x3
Low-qualifier unsigned integer 2x3 matrix.
mat< 2, 4, int, highp > highp_imat2x4
High-qualifier signed integer 2x4 matrix.
mat< 4, 2, uint, lowp > lowp_umat4x2
Low-qualifier unsigned integer 4x2 matrix.
mat< 3, 3, int, highp > highp_imat3
High-qualifier signed integer 3x3 matrix.
mediump_imat2x4 imat2x4
Signed integer 2x4 matrix.
mat< 3, 2, uint, mediump > mediump_umat3x2
Medium-qualifier unsigned integer 3x2 matrix.
mat< 3, 3, int, lowp > lowp_imat3x3
Low-qualifier signed integer 3x3 matrix.
mat< 2, 4, uint, highp > highp_umat2x4
High-qualifier unsigned integer 2x4 matrix.
mediump_umat4 umat4
Unsigned integer 4x4 matrix.
mediump_imat3x2 imat3x2
Signed integer 3x2 matrix.
mat< 3, 4, int, mediump > mediump_imat3x4
Medium-qualifier signed integer 3x4 matrix.
mat< 3, 3, uint, highp > highp_umat3
High-qualifier unsigned integer 3x3 matrix.
mat< 3, 2, int, highp > highp_imat3x2
High-qualifier signed integer 3x2 matrix.
mat< 3, 2, int, lowp > lowp_imat3x2
Low-qualifier signed integer 3x2 matrix.
mat< 2, 2, int, lowp > lowp_imat2x2
Low-qualifier signed integer 2x2 matrix.
mediump_imat3x3 imat3x3
Signed integer 3x3 matrix.
mat< 4, 2, int, highp > highp_imat4x2
High-qualifier signed integer 4x2 matrix.
mediump_imat4x3 imat4x3
Signed integer 4x3 matrix.
mat< 4, 2, uint, highp > highp_umat4x2
High-qualifier unsigned integer 4x2 matrix.
mat< 4, 4, int, highp > highp_imat4
High-qualifier signed integer 4x4 matrix.
mat< 3, 3, uint, mediump > mediump_umat3x3
Medium-qualifier unsigned integer 3x3 matrix.
mat< 3, 2, int, mediump > mediump_imat3x2
Medium-qualifier signed integer 3x2 matrix.
mat< 4, 3, uint, lowp > lowp_umat4x3
Low-qualifier unsigned integer 4x3 matrix.
mat< 2, 2, uint, highp > highp_umat2x2
High-qualifier unsigned integer 2x2 matrix.
mat< 3, 3, int, lowp > lowp_imat3
Low-qualifier signed integer 3x3 matrix.
mat< 3, 4, uint, mediump > mediump_umat3x4
Medium-qualifier unsigned integer 3x4 matrix.
mediump_umat3x3 umat3x3
Unsigned integer 3x3 matrix.
mat< 2, 4, int, mediump > mediump_imat2x4
Medium-qualifier signed integer 2x4 matrix.
mat< 2, 2, uint, mediump > mediump_umat2x2
Medium-qualifier unsigned integer 2x2 matrix.
mat< 2, 3, uint, highp > highp_umat2x3
High-qualifier unsigned integer 2x3 matrix.
mat< 2, 2, uint, highp > highp_umat2
High-qualifier unsigned integer 2x2 matrix.
mat< 3, 4, uint, lowp > lowp_umat3x4
Low-qualifier unsigned integer 3x4 matrix.
mat< 4, 4, uint, lowp > lowp_umat4
Low-qualifier unsigned integer 4x4 matrix.