OGLplus (0.52.0) a C++ wrapper for OpenGL

texture.hpp
Go to the documentation of this file.
1 
14 #ifndef OGLPLUS_BOUND_TEXTURE_1107121519_HPP
15 #define OGLPLUS_BOUND_TEXTURE_1107121519_HPP
16 
17 #include <oglplus/object/bound.hpp>
18 #include <oglplus/texture.hpp>
19 #include <utility>
20 
21 namespace oglplus {
22 
24 
35 template <>
36 class BoundObjOps<tag::Texture>
37 {
38 private:
40 public:
41  typedef ExplicitOps::Target Target;
42  Target target;
43 
44  BoundObjOps(void)
45  { }
46 
47  BoundObjOps(Target init_tgt)
48  : target(init_tgt)
49  { }
50 
54  GLint GetIntParam(
55  GLenum query
56  ) const
57  {
58  return ExplicitOps::GetIntParam(
59  this->target,
60  query
61  );
62  }
63 
64 
68  GLfloat GetFloatParam(
69  GLenum query
70  ) const
71  {
72  return ExplicitOps::GetFloatParam(
73  this->target,
74  query
75  );
76  }
77 
78 
82  GLint GetIntParam(
83  GLint level,
84  GLenum query
85  ) const
86  {
87  return ExplicitOps::GetIntParam(
88  this->target,
89  level,
90  query
91  );
92  }
93 
94 
98  GLfloat GetFloatParam(
99  GLint level,
100  GLenum query
101  ) const
102  {
103  return ExplicitOps::GetFloatParam(
104  this->target,
105  level,
106  query
107  );
108  }
109 
110 
114  GLsizei Width(
115  GLint level = 0
116  ) const
117  {
118  return ExplicitOps::Width(
119  this->target,
120  level
121  );
122  }
123 
124 
128  GLsizei Height(
129  GLint level = 0
130  ) const
131  {
132  return ExplicitOps::Height(
133  this->target,
134  level
135  );
136  }
137 
138 
142  GLsizei Depth(
143  GLint level = 0
144  ) const
145  {
146  return ExplicitOps::Depth(
147  this->target,
148  level
149  );
150  }
151 
152 
157  GLint level = 0
158  ) const
159  {
160  return ExplicitOps::RedType(
161  this->target,
162  level
163  );
164  }
165 
166 
171  GLint level = 0
172  ) const
173  {
174  return ExplicitOps::GreenType(
175  this->target,
176  level
177  );
178  }
179 
180 
185  GLint level = 0
186  ) const
187  {
188  return ExplicitOps::BlueType(
189  this->target,
190  level
191  );
192  }
193 
194 
199  GLint level = 0
200  ) const
201  {
202  return ExplicitOps::AlphaType(
203  this->target,
204  level
205  );
206  }
207 
208 
213  GLint level = 0
214  ) const
215  {
216  return ExplicitOps::DepthType(
217  this->target,
218  level
219  );
220  }
221 
222 
226  GLsizei RedSize(
227  GLint level = 0
228  ) const
229  {
230  return ExplicitOps::RedSize(
231  this->target,
232  level
233  );
234  }
235 
236 
240  GLsizei GreenSize(
241  GLint level = 0
242  ) const
243  {
244  return ExplicitOps::GreenSize(
245  this->target,
246  level
247  );
248  }
249 
250 
254  GLsizei BlueSize(
255  GLint level = 0
256  ) const
257  {
258  return ExplicitOps::BlueSize(
259  this->target,
260  level
261  );
262  }
263 
264 
268  GLsizei AlphaSize(
269  GLint level = 0
270  ) const
271  {
272  return ExplicitOps::AlphaSize(
273  this->target,
274  level
275  );
276  }
277 
278 
282  GLsizei DepthSize(
283  GLint level = 0
284  ) const
285  {
286  return ExplicitOps::DepthSize(
287  this->target,
288  level
289  );
290  }
291 
292 
296  GLsizei StencilSize(
297  GLint level = 0
298  ) const
299  {
300  return ExplicitOps::StencilSize(
301  this->target,
302  level
303  );
304  }
305 
306 
310  GLsizei SharedSize(
311  GLint level = 0
312  ) const
313  {
314  return ExplicitOps::SharedSize(
315  this->target,
316  level
317  );
318  }
319 
320 
325  GLint level = 0
326  ) const
327  {
328  return ExplicitOps::CompressedImageSize(
329  this->target,
330  level
331  );
332  }
333 
334 
339  GLint level = 0
340  ) const
341  {
343  this->target,
344  level
345  );
346  }
347 
348 
352  const BoundObjOps& GetImage(
353  GLint level,
354  PixelDataFormat format,
355  ExplicitOps::Property::PixDataType type,
356  GLsizei size,
357  GLvoid * buffer
358  ) const
359  {
360  ExplicitOps::GetImage(
361  this->target,
362  level,
363  format,
364  type,
365  size,
366  buffer
367  );
368  return *this;
369  }
370 
371 
375  template <typename T>
376  const BoundObjOps& GetImage(
377  GLint level,
378  PixelDataFormat format,
379  std::vector< T > & dest
380  ) const
381  {
382  ExplicitOps::GetImage(
383  this->target,
384  level,
385  format,
386  dest
387  );
388  return *this;
389  }
390 
391 
395  const BoundObjOps& GetCompressedImage(
396  GLint level,
397  GLsizei size,
398  GLubyte * buffer
399  ) const
400  {
401  ExplicitOps::GetCompressedImage(
402  this->target,
403  level,
404  size,
405  buffer
406  );
407  return *this;
408  }
409 
410 
414  const BoundObjOps& GetCompressedImage(
415  GLint level,
416  std::vector< GLubyte > & dest
417  ) const
418  {
419  ExplicitOps::GetCompressedImage(
420  this->target,
421  level,
422  dest
423  );
424  return *this;
425  }
426 
427 
431  const BoundObjOps& Image3D(
432  GLint level,
433  PixelDataInternalFormat internal_format,
434  GLsizei width,
435  GLsizei height,
436  GLsizei depth,
437  GLint border,
438  PixelDataFormat format,
439  ExplicitOps::Property::PixDataType type,
440  const void * data
441  ) const
442  {
444  this->target,
445  level,
446  internal_format,
447  width,
448  height,
449  depth,
450  border,
451  format,
452  type,
453  data
454  );
455  return *this;
456  }
457 
458 
462  const BoundObjOps& Image3D(
463  const images::Image & image,
464  GLint level = 0,
465  GLint border = 0
466  ) const
467  {
469  this->target,
470  image,
471  level,
472  border
473  );
474  return *this;
475  }
476 
477 
481  const BoundObjOps& SubImage3D(
482  GLint level,
483  GLint xoffs,
484  GLint yoffs,
485  GLint zoffs,
486  GLsizei width,
487  GLsizei height,
488  GLsizei depth,
489  PixelDataFormat format,
490  ExplicitOps::Property::PixDataType type,
491  const void * data
492  ) const
493  {
494  ExplicitOps::SubImage3D(
495  this->target,
496  level,
497  xoffs,
498  yoffs,
499  zoffs,
500  width,
501  height,
502  depth,
503  format,
504  type,
505  data
506  );
507  return *this;
508  }
509 
510 
514  const BoundObjOps& SubImage3D(
515  const images::Image & image,
516  GLint xoffs,
517  GLint yoffs,
518  GLint zoffs,
519  GLint level = 0
520  ) const
521  {
522  ExplicitOps::SubImage3D(
523  this->target,
524  image,
525  xoffs,
526  yoffs,
527  zoffs,
528  level
529  );
530  return *this;
531  }
532 
533 
537  const BoundObjOps& Image2D(
538  GLint level,
539  PixelDataInternalFormat internal_format,
540  GLsizei width,
541  GLsizei height,
542  GLint border,
543  PixelDataFormat format,
544  ExplicitOps::Property::PixDataType type,
545  const void * data
546  ) const
547  {
549  this->target,
550  level,
551  internal_format,
552  width,
553  height,
554  border,
555  format,
556  type,
557  data
558  );
559  return *this;
560  }
561 
562 
566  const BoundObjOps& Image2D(
567  const images::Image & image,
568  GLint level = 0,
569  GLint border = 0
570  ) const
571  {
573  this->target,
574  image,
575  level,
576  border
577  );
578  return *this;
579  }
580 
581 
585  const BoundObjOps& SubImage2D(
586  GLint level,
587  GLint xoffs,
588  GLint yoffs,
589  GLsizei width,
590  GLsizei height,
591  PixelDataFormat format,
592  ExplicitOps::Property::PixDataType type,
593  const void * data
594  ) const
595  {
596  ExplicitOps::SubImage2D(
597  this->target,
598  level,
599  xoffs,
600  yoffs,
601  width,
602  height,
603  format,
604  type,
605  data
606  );
607  return *this;
608  }
609 
610 
614  const BoundObjOps& SubImage2D(
615  const images::Image & image,
616  GLint xoffs,
617  GLint yoffs,
618  GLint level = 0
619  ) const
620  {
621  ExplicitOps::SubImage2D(
622  this->target,
623  image,
624  xoffs,
625  yoffs,
626  level
627  );
628  return *this;
629  }
630 
631 
635  const BoundObjOps& Image1D(
636  GLint level,
637  PixelDataInternalFormat internal_format,
638  GLsizei width,
639  GLint border,
640  PixelDataFormat format,
641  ExplicitOps::Property::PixDataType type,
642  const void * data
643  ) const
644  {
646  this->target,
647  level,
648  internal_format,
649  width,
650  border,
651  format,
652  type,
653  data
654  );
655  return *this;
656  }
657 
658 
662  const BoundObjOps& Image1D(
663  const images::Image & image,
664  GLint level = 0,
665  GLint border = 0
666  ) const
667  {
669  this->target,
670  image,
671  level,
672  border
673  );
674  return *this;
675  }
676 
677 
681  const BoundObjOps& SubImage1D(
682  GLint level,
683  GLint xoffs,
684  GLsizei width,
685  PixelDataFormat format,
686  ExplicitOps::Property::PixDataType type,
687  const void * data
688  ) const
689  {
690  ExplicitOps::SubImage1D(
691  this->target,
692  level,
693  xoffs,
694  width,
695  format,
696  type,
697  data
698  );
699  return *this;
700  }
701 
702 
706  const BoundObjOps& SubImage1D(
707  const images::Image & image,
708  GLint xoffs,
709  GLint level = 0
710  ) const
711  {
712  ExplicitOps::SubImage1D(
713  this->target,
714  image,
715  xoffs,
716  level
717  );
718  return *this;
719  }
720 
721 
725  const BoundObjOps& Image(
726  const images::Image & image,
727  GLint level = 0,
728  GLint border = 0
729  ) const
730  {
731  ExplicitOps::Image(
732  this->target,
733  image,
734  level,
735  border
736  );
737  return *this;
738  }
739 
740 
744  const BoundObjOps& Image(
745  const images::ImageSpec & image_spec,
746  GLint level = 0,
747  GLint border = 0
748  ) const
749  {
750  ExplicitOps::Image(
751  this->target,
752  image_spec,
753  level,
754  border
755  );
756  return *this;
757  }
758 
759 
763  const BoundObjOps& CopyImage2D(
764  GLint level,
765  PixelDataInternalFormat internal_format,
766  GLint x,
767  GLint y,
768  GLsizei width,
769  GLsizei height,
770  GLint border
771  ) const
772  {
773  ExplicitOps::CopyImage2D(
774  this->target,
775  level,
776  internal_format,
777  x,
778  y,
779  width,
780  height,
781  border
782  );
783  return *this;
784  }
785 
786 
790  const BoundObjOps& CopyImage1D(
791  GLint level,
792  PixelDataInternalFormat internal_format,
793  GLint x,
794  GLint y,
795  GLsizei width,
796  GLint border
797  ) const
798  {
799  ExplicitOps::CopyImage1D(
800  this->target,
801  level,
802  internal_format,
803  x,
804  y,
805  width,
806  border
807  );
808  return *this;
809  }
810 
811 
815  const BoundObjOps& CopySubImage3D(
816  GLint level,
817  GLint xoffs,
818  GLint yoffs,
819  GLint zoffs,
820  GLint x,
821  GLint y,
822  GLsizei width,
823  GLsizei height
824  ) const
825  {
826  ExplicitOps::CopySubImage3D(
827  this->target,
828  level,
829  xoffs,
830  yoffs,
831  zoffs,
832  x,
833  y,
834  width,
835  height
836  );
837  return *this;
838  }
839 
840 
844  const BoundObjOps& CopySubImage2D(
845  GLint level,
846  GLint xoffs,
847  GLint yoffs,
848  GLint x,
849  GLint y,
850  GLsizei width,
851  GLsizei height
852  ) const
853  {
854  ExplicitOps::CopySubImage2D(
855  this->target,
856  level,
857  xoffs,
858  yoffs,
859  x,
860  y,
861  width,
862  height
863  );
864  return *this;
865  }
866 
867 
871  const BoundObjOps& CopySubImage1D(
872  GLint level,
873  GLint xoffs,
874  GLint x,
875  GLint y,
876  GLsizei width
877  ) const
878  {
879  ExplicitOps::CopySubImage1D(
880  this->target,
881  level,
882  xoffs,
883  x,
884  y,
885  width
886  );
887  return *this;
888  }
889 
890 
894  const BoundObjOps& CompressedImage3D(
895  GLint level,
896  PixelDataInternalFormat internal_format,
897  GLsizei width,
898  GLsizei height,
899  GLsizei depth,
900  GLint border,
901  GLsizei image_size,
902  const void * data
903  ) const
904  {
905  ExplicitOps::CompressedImage3D(
906  this->target,
907  level,
908  internal_format,
909  width,
910  height,
911  depth,
912  border,
913  image_size,
914  data
915  );
916  return *this;
917  }
918 
919 
923  const BoundObjOps& CompressedImage2D(
924  GLint level,
925  PixelDataInternalFormat internal_format,
926  GLsizei width,
927  GLsizei height,
928  GLint border,
929  GLsizei image_size,
930  const void * data
931  ) const
932  {
933  ExplicitOps::CompressedImage2D(
934  this->target,
935  level,
936  internal_format,
937  width,
938  height,
939  border,
940  image_size,
941  data
942  );
943  return *this;
944  }
945 
946 
950  const BoundObjOps& CompressedImage1D(
951  GLint level,
952  PixelDataInternalFormat internal_format,
953  GLsizei width,
954  GLint border,
955  GLsizei image_size,
956  const void * data
957  ) const
958  {
959  ExplicitOps::CompressedImage1D(
960  this->target,
961  level,
962  internal_format,
963  width,
964  border,
965  image_size,
966  data
967  );
968  return *this;
969  }
970 
971 
975  const BoundObjOps& CompressedSubImage3D(
976  GLint level,
977  GLint xoffs,
978  GLint yoffs,
979  GLint zoffs,
980  GLsizei width,
981  GLsizei height,
982  GLsizei depth,
983  PixelDataFormat format,
984  GLsizei image_size,
985  const void * data
986  ) const
987  {
988  ExplicitOps::CompressedSubImage3D(
989  this->target,
990  level,
991  xoffs,
992  yoffs,
993  zoffs,
994  width,
995  height,
996  depth,
997  format,
998  image_size,
999  data
1000  );
1001  return *this;
1002  }
1003 
1004 
1008  const BoundObjOps& CompressedSubImage2D(
1009  GLint level,
1010  GLint xoffs,
1011  GLint yoffs,
1012  GLsizei width,
1013  GLsizei height,
1014  PixelDataFormat format,
1015  GLsizei image_size,
1016  const void * data
1017  ) const
1018  {
1019  ExplicitOps::CompressedSubImage2D(
1020  this->target,
1021  level,
1022  xoffs,
1023  yoffs,
1024  width,
1025  height,
1026  format,
1027  image_size,
1028  data
1029  );
1030  return *this;
1031  }
1032 
1033 
1037  const BoundObjOps& CompressedSubImage1D(
1038  GLint level,
1039  GLint xoffs,
1040  GLsizei width,
1041  PixelDataFormat format,
1042  GLsizei image_size,
1043  const void * data
1044  ) const
1045  {
1046  ExplicitOps::CompressedSubImage1D(
1047  this->target,
1048  level,
1049  xoffs,
1050  width,
1051  format,
1052  image_size,
1053  data
1054  );
1055  return *this;
1056  }
1057 
1058 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_2 || GL_ARB_texture_multisample
1059 
1063  const BoundObjOps& Image3DMultisample(
1064  GLsizei samples,
1065  PixelDataInternalFormat internal_format,
1066  GLsizei width,
1067  GLsizei height,
1068  GLsizei depth,
1069  bool fixed_sample_locations
1070  ) const
1071  {
1072  ExplicitOps::Image3DMultisample(
1073  this->target,
1074  samples,
1075  internal_format,
1076  width,
1077  height,
1078  depth,
1079  fixed_sample_locations
1080  );
1081  return *this;
1082  }
1083 #endif // GL_VERSION_3_2 GL_ARB_texture_multisample
1084 
1085 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_2 || GL_ARB_texture_multisample
1086 
1090  const BoundObjOps& Image2DMultisample(
1091  GLsizei samples,
1092  PixelDataInternalFormat internal_format,
1093  GLsizei width,
1094  GLsizei height,
1095  bool fixed_sample_locations
1096  ) const
1097  {
1099  this->target,
1100  samples,
1101  internal_format,
1102  width,
1103  height,
1104  fixed_sample_locations
1105  );
1106  return *this;
1107  }
1108 #endif // GL_VERSION_3_2 GL_ARB_texture_multisample
1109 
1110 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_1
1111 
1115  const BoundObjOps& Buffer(
1116  PixelDataInternalFormat internal_format,
1117  BufferName buffer
1118  ) const
1119  {
1121  this->target,
1122  internal_format,
1123  buffer
1124  );
1125  return *this;
1126  }
1127 #endif // GL_VERSION_3_1
1128 
1129 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_3
1130 
1134  const BoundObjOps& BufferRange(
1135  PixelDataInternalFormat internal_format,
1136  BufferName buffer,
1137  GLintptr offset,
1138  GLsizeiptr size
1139  ) const
1140  {
1141  ExplicitOps::BufferRange(
1142  this->target,
1143  internal_format,
1144  buffer,
1145  offset,
1146  size
1147  );
1148  return *this;
1149  }
1150 #endif // GL_VERSION_4_3
1151 
1152 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_2 || GL_ARB_texture_storage
1153 
1157  const BoundObjOps& Storage1D(
1158  GLsizei levels,
1159  PixelDataInternalFormat internal_format,
1160  GLsizei width
1161  ) const
1162  {
1163  ExplicitOps::Storage1D(
1164  this->target,
1165  levels,
1166  internal_format,
1167  width
1168  );
1169  return *this;
1170  }
1171 #endif // GL_VERSION_4_2 GL_ARB_texture_storage
1172 
1173 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_2 || GL_ARB_texture_storage
1174 
1178  const BoundObjOps& Storage2D(
1179  GLsizei levels,
1180  PixelDataInternalFormat internal_format,
1181  GLsizei width,
1182  GLsizei height
1183  ) const
1184  {
1185  ExplicitOps::Storage2D(
1186  this->target,
1187  levels,
1188  internal_format,
1189  width,
1190  height
1191  );
1192  return *this;
1193  }
1194 #endif // GL_VERSION_4_2 GL_ARB_texture_storage
1195 
1196 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_2 || GL_ARB_texture_storage
1197 
1201  const BoundObjOps& Storage3D(
1202  GLsizei levels,
1203  PixelDataInternalFormat internal_format,
1204  GLsizei width,
1205  GLsizei height,
1206  GLsizei depth
1207  ) const
1208  {
1209  ExplicitOps::Storage3D(
1210  this->target,
1211  levels,
1212  internal_format,
1213  width,
1214  height,
1215  depth
1216  );
1217  return *this;
1218  }
1219 #endif // GL_VERSION_4_2 GL_ARB_texture_storage
1220 
1221 
1225  GLuint BaseLevel(void) const
1226  {
1227  return ExplicitOps::BaseLevel(
1228  this->target
1229  );
1230  }
1231 
1232 
1236  const BoundObjOps& BaseLevel(
1237  GLuint level
1238  ) const
1239  {
1240  ExplicitOps::BaseLevel(
1241  this->target,
1242  level
1243  );
1244  return *this;
1245  }
1246 
1247 
1252  TypeTag< GLfloat > _auto_param_2
1253  ) const
1254  {
1255  return ExplicitOps::BorderColor(
1256  this->target,
1257  _auto_param_2
1258  );
1259  }
1260 
1261 
1265  const BoundObjOps& BorderColor(
1266  Vector< GLfloat, 4 > color
1267  ) const
1268  {
1269  ExplicitOps::BorderColor(
1270  this->target,
1271  color
1272  );
1273  return *this;
1274  }
1275 
1276 
1281  TypeTag< GLint > _auto_param_2
1282  ) const
1283  {
1284  return ExplicitOps::BorderColor(
1285  this->target,
1286  _auto_param_2
1287  );
1288  }
1289 
1290 
1294  const BoundObjOps& BorderColor(
1295  Vector< GLint, 4 > color
1296  ) const
1297  {
1298  ExplicitOps::BorderColor(
1299  this->target,
1300  color
1301  );
1302  return *this;
1303  }
1304 
1305 
1310  TypeTag< GLuint > _auto_param_2
1311  ) const
1312  {
1313  return ExplicitOps::BorderColor(
1314  this->target,
1315  _auto_param_2
1316  );
1317  }
1318 
1319 
1323  const BoundObjOps& BorderColor(
1324  Vector< GLuint, 4 > color
1325  ) const
1326  {
1327  ExplicitOps::BorderColor(
1328  this->target,
1329  color
1330  );
1331  return *this;
1332  }
1333 
1334 
1339  {
1340  return ExplicitOps::CompareMode(
1341  this->target
1342  );
1343  }
1344 
1345 
1349  const BoundObjOps& CompareMode(
1350  TextureCompareMode mode
1351  ) const
1352  {
1353  ExplicitOps::CompareMode(
1354  this->target,
1355  mode
1356  );
1357  return *this;
1358  }
1359 
1360 
1365  {
1366  return ExplicitOps::CompareFunc(
1367  this->target
1368  );
1369  }
1370 
1371 
1375  const BoundObjOps& CompareFunc(
1376  CompareFunction func
1377  ) const
1378  {
1379  ExplicitOps::CompareFunc(
1380  this->target,
1381  func
1382  );
1383  return *this;
1384  }
1385 
1386 
1390  GLfloat LODBias(void) const
1391  {
1392  return ExplicitOps::LODBias(
1393  this->target
1394  );
1395  }
1396 
1397 
1401  const BoundObjOps& LODBias(
1402  GLfloat value
1403  ) const
1404  {
1405  ExplicitOps::LODBias(
1406  this->target,
1407  value
1408  );
1409  return *this;
1410  }
1411 
1412 
1416  const BoundObjOps& Filter(
1417  TextureFilter filter
1418  ) const
1419  {
1420  ExplicitOps::Filter(
1421  this->target,
1422  filter
1423  );
1424  return *this;
1425  }
1426 
1427 
1432  {
1433  return ExplicitOps::MagFilter(
1434  this->target
1435  );
1436  }
1437 
1438 
1442  const BoundObjOps& MagFilter(
1443  TextureMagFilter filter
1444  ) const
1445  {
1446  ExplicitOps::MagFilter(
1447  this->target,
1448  filter
1449  );
1450  return *this;
1451  }
1452 
1453 
1458  {
1459  return ExplicitOps::MinFilter(
1460  this->target
1461  );
1462  }
1463 
1464 
1468  const BoundObjOps& MinFilter(
1469  TextureMinFilter filter
1470  ) const
1471  {
1472  ExplicitOps::MinFilter(
1473  this->target,
1474  filter
1475  );
1476  return *this;
1477  }
1478 
1479 
1483  GLfloat MinLOD(void) const
1484  {
1485  return ExplicitOps::MinLOD(
1486  this->target
1487  );
1488  }
1489 
1490 
1494  const BoundObjOps& MinLOD(
1495  GLfloat value
1496  ) const
1497  {
1498  ExplicitOps::MinLOD(
1499  this->target,
1500  value
1501  );
1502  return *this;
1503  }
1504 
1505 
1509  GLfloat MaxLOD(void) const
1510  {
1511  return ExplicitOps::MaxLOD(
1512  this->target
1513  );
1514  }
1515 
1516 
1520  const BoundObjOps& MaxLOD(
1521  GLfloat value
1522  ) const
1523  {
1524  ExplicitOps::MaxLOD(
1525  this->target,
1526  value
1527  );
1528  return *this;
1529  }
1530 
1531 
1535  GLint MaxLevel(void) const
1536  {
1537  return ExplicitOps::MaxLevel(
1538  this->target
1539  );
1540  }
1541 
1542 
1546  const BoundObjOps& MaxLevel(
1547  GLint value
1548  ) const
1549  {
1550  ExplicitOps::MaxLevel(
1551  this->target,
1552  value
1553  );
1554  return *this;
1555  }
1556 
1557 
1561  GLfloat MaxAnisotropy(void) const
1562  {
1563  return ExplicitOps::MaxAnisotropy(
1564  this->target
1565  );
1566  }
1567 
1568 
1572  GLfloat Anisotropy(void) const
1573  {
1574  return ExplicitOps::Anisotropy(
1575  this->target
1576  );
1577  }
1578 
1579 
1583  const BoundObjOps& Anisotropy(
1584  GLfloat value
1585  ) const
1586  {
1587  ExplicitOps::Anisotropy(
1588  this->target,
1589  value
1590  );
1591  return *this;
1592  }
1593 
1594 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1595 
1600  TextureSwizzleCoord coord
1601  ) const
1602  {
1603  return ExplicitOps::Swizzle(
1604  this->target,
1605  coord
1606  );
1607  }
1608 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1609 
1610 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1611 
1615  const BoundObjOps& Swizzle(
1616  TextureSwizzleCoord coord,
1617  TextureSwizzle mode
1618  ) const
1619  {
1620  ExplicitOps::Swizzle(
1621  this->target,
1622  coord,
1623  mode
1624  );
1625  return *this;
1626  }
1627 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1628 
1629 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1630 
1635  {
1636  return ExplicitOps::SwizzleR(
1637  this->target
1638  );
1639  }
1640 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1641 
1642 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1643 
1647  const BoundObjOps& SwizzleR(
1648  TextureSwizzle mode
1649  ) const
1650  {
1651  ExplicitOps::SwizzleR(
1652  this->target,
1653  mode
1654  );
1655  return *this;
1656  }
1657 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1658 
1659 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1660 
1665  {
1666  return ExplicitOps::SwizzleG(
1667  this->target
1668  );
1669  }
1670 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1671 
1672 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1673 
1677  const BoundObjOps& SwizzleG(
1678  TextureSwizzle mode
1679  ) const
1680  {
1681  ExplicitOps::SwizzleG(
1682  this->target,
1683  mode
1684  );
1685  return *this;
1686  }
1687 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1688 
1689 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1690 
1695  {
1696  return ExplicitOps::SwizzleB(
1697  this->target
1698  );
1699  }
1700 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1701 
1702 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1703 
1707  const BoundObjOps& SwizzleB(
1708  TextureSwizzle mode
1709  ) const
1710  {
1711  ExplicitOps::SwizzleB(
1712  this->target,
1713  mode
1714  );
1715  return *this;
1716  }
1717 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1718 
1719 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1720 
1725  {
1726  return ExplicitOps::SwizzleA(
1727  this->target
1728  );
1729  }
1730 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1731 
1732 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1733 
1737  const BoundObjOps& SwizzleA(
1738  TextureSwizzle mode
1739  ) const
1740  {
1741  ExplicitOps::SwizzleA(
1742  this->target,
1743  mode
1744  );
1745  return *this;
1746  }
1747 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1748 
1749 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1750 
1755  {
1756  return ExplicitOps::SwizzleRGBA(
1757  this->target
1758  );
1759  }
1760 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1761 
1762 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1763 
1767  const BoundObjOps& SwizzleRGBA(
1768  TextureSwizzle mode
1769  ) const
1770  {
1771  ExplicitOps::SwizzleRGBA(
1772  this->target,
1773  mode
1774  );
1775  return *this;
1776  }
1777 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1778 
1779 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1780 
1784  const BoundObjOps& SwizzleRGBA(
1785  TextureSwizzle mode_r,
1786  TextureSwizzle mode_g,
1787  TextureSwizzle mode_b,
1788  TextureSwizzle mode_a
1789  ) const
1790  {
1791  ExplicitOps::SwizzleRGBA(
1792  this->target,
1793  mode_r,
1794  mode_g,
1795  mode_b,
1796  mode_a
1797  );
1798  return *this;
1799  }
1800 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1801 
1802 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_3_3 || GL_ARB_texture_swizzle
1803 
1807  const BoundObjOps& SwizzleRGBA(
1808  const TextureSwizzleTuple & modes
1809  ) const
1810  {
1811  ExplicitOps::SwizzleRGBA(
1812  this->target,
1813  modes
1814  );
1815  return *this;
1816  }
1817 #endif // GL_VERSION_3_3 GL_ARB_texture_swizzle
1818 
1819 
1824  TextureWrapCoord coord
1825  ) const
1826  {
1827  return ExplicitOps::Wrap(
1828  this->target,
1829  coord
1830  );
1831  }
1832 
1833 
1837  const BoundObjOps& Wrap(
1838  TextureWrapCoord coord,
1839  TextureWrap mode
1840  ) const
1841  {
1842  ExplicitOps::Wrap(
1843  this->target,
1844  coord,
1845  mode
1846  );
1847  return *this;
1848  }
1849 
1850 
1854  TextureWrap WrapS(void) const
1855  {
1856  return ExplicitOps::WrapS(
1857  this->target
1858  );
1859  }
1860 
1861 
1865  const BoundObjOps& WrapS(
1866  TextureWrap mode
1867  ) const
1868  {
1869  ExplicitOps::WrapS(
1870  this->target,
1871  mode
1872  );
1873  return *this;
1874  }
1875 
1876 
1880  TextureWrap WrapT(void) const
1881  {
1882  return ExplicitOps::WrapT(
1883  this->target
1884  );
1885  }
1886 
1887 
1891  const BoundObjOps& WrapT(
1892  TextureWrap mode
1893  ) const
1894  {
1895  ExplicitOps::WrapT(
1896  this->target,
1897  mode
1898  );
1899  return *this;
1900  }
1901 
1902 
1906  TextureWrap WrapR(void) const
1907  {
1908  return ExplicitOps::WrapR(
1909  this->target
1910  );
1911  }
1912 
1913 
1917  const BoundObjOps& WrapR(
1918  TextureWrap mode
1919  ) const
1920  {
1921  ExplicitOps::WrapR(
1922  this->target,
1923  mode
1924  );
1925  return *this;
1926  }
1927 
1928 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_3
1929 
1934  {
1935  return ExplicitOps::DepthStencilMode(
1936  this->target
1937  );
1938  }
1939 #endif // GL_VERSION_4_3
1940 
1941 #if OGLPLUS_DOCUMENTATION_ONLY || GL_VERSION_4_3
1942 
1946  const BoundObjOps& DepthStencilMode(
1947  PixelDataFormat mode
1948  ) const
1949  {
1950  ExplicitOps::DepthStencilMode(
1951  this->target,
1952  mode
1953  );
1954  return *this;
1955  }
1956 #endif // GL_VERSION_4_3
1957 
1958 #if OGLPLUS_DOCUMENTATION_ONLY || GL_ARB_seamless_cubemap_per_texture
1959 
1963  bool Seamless(void) const
1964  {
1965  return ExplicitOps::Seamless(
1966  this->target
1967  );
1968  }
1969 #endif // GL_ARB_seamless_cubemap_per_texture
1970 
1971 #if OGLPLUS_DOCUMENTATION_ONLY || GL_ARB_seamless_cubemap_per_texture
1972 
1976  const BoundObjOps& Seamless(
1977  bool enable
1978  ) const
1979  {
1980  ExplicitOps::Seamless(
1981  this->target,
1982  enable
1983  );
1984  return *this;
1985  }
1986 #endif // GL_ARB_seamless_cubemap_per_texture
1987 
1988 
1992  const BoundObjOps& GenerateMipmap(void) const
1993  {
1994  ExplicitOps::GenerateMipmap(
1995  this->target
1996  );
1997  return *this;
1998  }
1999 
2000 
2001 }; // class BoundObjOps
2002 
2003 } // namespace oglplus
2004 
2005 #endif // include guard
const BoundObjOps & WrapT(TextureWrap mode) const
Definition: texture.hpp:1891
TextureSwizzle SwizzleG(void) const
Definition: texture.hpp:1664
const BoundObjOps & SwizzleR(TextureSwizzle mode) const
Definition: texture.hpp:1647
TextureSwizzle SwizzleA(void) const
Definition: texture.hpp:1724
const BoundObjOps & Image1D(GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLint border, PixelDataFormat format, ExplicitOps::Property::PixDataType type, const void *data) const
Definition: texture.hpp:635
GLsizei Depth(GLint level=0) const
Definition: texture.hpp:142
const BoundObjOps & Image2DMultisample(GLsizei samples, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, bool fixed_sample_locations) const
Definition: texture.hpp:1090
TextureSwizzle
Texture swizzle enumeration.
Definition: texture_swizzle.hpp:53
Vector< GLfloat, 4 > BorderColor(TypeTag< GLfloat > _auto_param_2) const
Definition: texture.hpp:1251
const BoundObjOps & SwizzleA(TextureSwizzle mode) const
Definition: texture.hpp:1737
TextureSwizzle Swizzle(TextureSwizzleCoord coord) const
Definition: texture.hpp:1599
const BoundObjOps & Wrap(TextureWrapCoord coord, TextureWrap mode) const
Definition: texture.hpp:1837
GLsizei SharedSize(GLint level=0) const
Definition: texture.hpp:310
Object< TextureOps > Texture
An oglplus_object encapsulating the texture object functionality.
Definition: texture.hpp:3217
TextureWrap WrapR(void) const
Definition: texture.hpp:1906
const BoundObjOps & WrapR(TextureWrap mode) const
Definition: texture.hpp:1917
TextureFilter
Texture filter enumeration.
Definition: texture_filter.hpp:29
TextureMagFilter MagFilter(void) const
Definition: texture.hpp:1431
PixelDataInternalFormat
OpenGL pixel data internal format enumeration.
Definition: pixel_data.hpp:79
const BoundObjOps & GetImage(GLint level, PixelDataFormat format, ExplicitOps::Property::PixDataType type, GLsizei size, GLvoid *buffer) const
Definition: texture.hpp:352
GLint MaxLevel(void) const
Definition: texture.hpp:1535
TextureMinFilter
Texture minification filter enumeration.
Definition: texture_filter.hpp:71
GLfloat LODBias(void) const
Definition: texture.hpp:1390
const BoundObjOps & Image1D(const images::Image &image, GLint level=0, GLint border=0) const
Definition: texture.hpp:662
GLsizei AlphaSize(GLint level=0) const
Definition: texture.hpp:268
const BoundObjOps & SubImage1D(const images::Image &image, GLint xoffs, GLint level=0) const
Definition: texture.hpp:706
TextureWrap WrapS(void) const
Definition: texture.hpp:1854
const BoundObjOps & SwizzleRGBA(TextureSwizzle mode) const
Definition: texture.hpp:1767
TextureWrap Wrap(TextureWrapCoord coord) const
Definition: texture.hpp:1823
A tag template used mainly for data-type-based function overload dispatching.
Definition: data_type.hpp:23
const BoundObjOps & Image3DMultisample(GLsizei samples, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLsizei depth, bool fixed_sample_locations) const
Definition: texture.hpp:1063
const BoundObjOps & Storage2D(GLsizei levels, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height) const
Definition: texture.hpp:1178
PixelDataType AlphaType(GLint level=0) const
Definition: texture.hpp:198
TextureMinFilter MinFilter(void) const
Definition: texture.hpp:1457
const BoundObjOps & BufferRange(PixelDataInternalFormat internal_format, BufferName buffer, GLintptr offset, GLsizeiptr size) const
Definition: texture.hpp:1134
const BoundObjOps & SubImage1D(GLint level, GLint xoffs, GLsizei width, PixelDataFormat format, ExplicitOps::Property::PixDataType type, const void *data) const
Definition: texture.hpp:681
GLfloat GetFloatParam(GLint level, GLenum query) const
Definition: texture.hpp:98
const BoundObjOps & BorderColor(Vector< GLfloat, 4 > color) const
Definition: texture.hpp:1265
GLsizei CompressedImageSize(GLint level=0) const
Definition: texture.hpp:324
bool Seamless(void) const
Definition: texture.hpp:1963
const BoundObjOps & GenerateMipmap(void) const
Definition: texture.hpp:1992
TextureMagFilter
Texture magnification filter enumeration.
Definition: texture_filter.hpp:50
Implements operations applicable to named (non-zero) objects.
Definition: wrap_tpl.hpp:45
const BoundObjOps & CopySubImage2D(GLint level, GLint xoffs, GLint yoffs, GLint x, GLint y, GLsizei width, GLsizei height) const
Definition: texture.hpp:844
const BoundObjOps & Storage1D(GLsizei levels, PixelDataInternalFormat internal_format, GLsizei width) const
Definition: texture.hpp:1157
TextureWrap
Texture wrap enumeration.
Definition: texture_wrap.hpp:51
const BoundObjOps & CompareMode(TextureCompareMode mode) const
Definition: texture.hpp:1349
const BoundObjOps & Image2D(const images::Image &image, GLint level=0, GLint border=0) const
Definition: texture.hpp:566
const BoundObjOps & Seamless(bool enable) const
Definition: texture.hpp:1976
PixelDataType
OpenGL pixel data type enumeration.
Definition: pixel_data.hpp:29
TextureCompareMode CompareMode(void) const
Definition: texture.hpp:1338
const BoundObjOps & SwizzleG(TextureSwizzle mode) const
Definition: texture.hpp:1677
A tuple of swizzle values for all texture components.
Definition: texture_swizzle.hpp:67
const BoundObjOps & SubImage2D(GLint level, GLint xoffs, GLint yoffs, GLsizei width, GLsizei height, PixelDataFormat format, ExplicitOps::Property::PixDataType type, const void *data) const
Definition: texture.hpp:585
PixelDataType BlueType(GLint level=0) const
Definition: texture.hpp:184
const BoundObjOps & CompressedImage1D(GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLint border, GLsizei image_size, const void *data) const
Definition: texture.hpp:950
GLsizei Width(GLint level=0) const
Definition: texture.hpp:114
const BoundObjOps & Swizzle(TextureSwizzleCoord coord, TextureSwizzle mode) const
Definition: texture.hpp:1615
const BoundObjOps & Buffer(PixelDataInternalFormat internal_format, BufferName buffer) const
Definition: texture.hpp:1115
const BoundObjOps & Anisotropy(GLfloat value) const
Definition: texture.hpp:1583
const BoundObjOps & CopyImage2D(GLint level, PixelDataInternalFormat internal_format, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) const
Definition: texture.hpp:763
const BoundObjOps & Storage3D(GLsizei levels, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLsizei depth) const
Definition: texture.hpp:1201
GLfloat MinLOD(void) const
Definition: texture.hpp:1483
const BoundObjOps & BaseLevel(GLuint level) const
Definition: texture.hpp:1236
GLfloat Anisotropy(void) const
Definition: texture.hpp:1572
PixelDataFormat
OpenGL pixel data format enumeration.
Definition: pixel_data.hpp:50
const BoundObjOps & Filter(TextureFilter filter) const
Definition: texture.hpp:1416
GLfloat GetFloatParam(GLenum query) const
Definition: texture.hpp:68
TextureCompareMode
Texture compare mode enumeration.
Definition: texture_compare.hpp:29
const BoundObjOps & Image3D(GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLsizei depth, GLint border, PixelDataFormat format, ExplicitOps::Property::PixDataType type, const void *data) const
Definition: texture.hpp:431
const BoundObjOps & CopySubImage1D(GLint level, GLint xoffs, GLint x, GLint y, GLsizei width) const
Definition: texture.hpp:871
const BoundObjOps & CompareFunc(CompareFunction func) const
Definition: texture.hpp:1375
GLsizei StencilSize(GLint level=0) const
Definition: texture.hpp:296
const BoundObjOps & DepthStencilMode(PixelDataFormat mode) const
Definition: texture.hpp:1946
const BoundObjOps & Image2D(GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLint border, PixelDataFormat format, ExplicitOps::Property::PixDataType type, const void *data) const
Definition: texture.hpp:537
GLsizei Height(GLint level=0) const
Definition: texture.hpp:128
PixelDataInternalFormat InternalFormat
Alias for PixelDataInternalFormat.
Definition: pixel_data.hpp:95
const BoundObjOps & Image(const images::ImageSpec &image_spec, GLint level=0, GLint border=0) const
Definition: texture.hpp:744
const BoundObjOps & CompressedSubImage2D(GLint level, GLint xoffs, GLint yoffs, GLsizei width, GLsizei height, PixelDataFormat format, GLsizei image_size, const void *data) const
Definition: texture.hpp:1008
const BoundObjOps & MagFilter(TextureMagFilter filter) const
Definition: texture.hpp:1442
Texture object wrappers.
const BoundObjOps & BorderColor(Vector< GLint, 4 > color) const
Definition: texture.hpp:1294
PixelDataType DepthType(GLint level=0) const
Definition: texture.hpp:212
TextureSwizzleTuple SwizzleRGBA(void) const
Definition: texture.hpp:1754
const BoundObjOps & CompressedSubImage3D(GLint level, GLint xoffs, GLint yoffs, GLint zoffs, GLsizei width, GLsizei height, GLsizei depth, PixelDataFormat format, GLsizei image_size, const void *data) const
Definition: texture.hpp:975
const BoundObjOps & WrapS(TextureWrap mode) const
Definition: texture.hpp:1865
const BoundObjOps & BorderColor(Vector< GLuint, 4 > color) const
Definition: texture.hpp:1323
PixelDataInternalFormat InternalFormat(GLint level=0) const
Definition: texture.hpp:338
GLsizei DepthSize(GLint level=0) const
Definition: texture.hpp:282
const BoundObjOps & CompressedImage2D(GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLint border, GLsizei image_size, const void *data) const
Definition: texture.hpp:923
const BoundObjOps & MinFilter(TextureMinFilter filter) const
Definition: texture.hpp:1468
Vector< GLint, 4 > BorderColor(TypeTag< GLint > _auto_param_2) const
Definition: texture.hpp:1280
TextureSwizzle SwizzleB(void) const
Definition: texture.hpp:1694
const BoundObjOps & SwizzleRGBA(TextureSwizzle mode_r, TextureSwizzle mode_g, TextureSwizzle mode_b, TextureSwizzle mode_a) const
Definition: texture.hpp:1784
const BoundObjOps & LODBias(GLfloat value) const
Definition: texture.hpp:1401
TextureWrap WrapT(void) const
Definition: texture.hpp:1880
Wrapper for (texture) image data.
Definition: image.hpp:45
Vector< GLuint, 4 > BorderColor(TypeTag< GLuint > _auto_param_2) const
Definition: texture.hpp:1309
Operations on currently bound objects.
const BoundObjOps & GetCompressedImage(GLint level, GLsizei size, GLubyte *buffer) const
Definition: texture.hpp:395
TextureSwizzleCoord
Texture swizzle parameter coordinate enumeration.
Definition: texture_swizzle.hpp:29
const BoundObjOps & GetCompressedImage(GLint level, std::vector< GLubyte > &dest) const
Definition: texture.hpp:414
const BoundObjOps & CopyImage1D(GLint level, PixelDataInternalFormat internal_format, GLint x, GLint y, GLsizei width, GLint border) const
Definition: texture.hpp:790
TextureWrapCoord
Texture wrap parameter coordinate enumeration.
Definition: texture_wrap.hpp:28
PixelDataType RedType(GLint level=0) const
Definition: texture.hpp:156
const BoundObjOps & Image3D(const images::Image &image, GLint level=0, GLint border=0) const
Definition: texture.hpp:462
const BoundObjOps & MaxLOD(GLfloat value) const
Definition: texture.hpp:1520
GLfloat MaxAnisotropy(void) const
Definition: texture.hpp:1561
const BoundObjOps & Image(const images::Image &image, GLint level=0, GLint border=0) const
Definition: texture.hpp:725
const BoundObjOps & SubImage3D(GLint level, GLint xoffs, GLint yoffs, GLint zoffs, GLsizei width, GLsizei height, GLsizei depth, PixelDataFormat format, ExplicitOps::Property::PixDataType type, const void *data) const
Definition: texture.hpp:481
GLint GetIntParam(GLenum query) const
Definition: texture.hpp:54
CompareFunction
Comparison function type enumeration.
Definition: compare_function.hpp:30
GLint GetIntParam(GLint level, GLenum query) const
Definition: texture.hpp:82
const BoundObjOps & CompressedImage3D(GLint level, PixelDataInternalFormat internal_format, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei image_size, const void *data) const
Definition: texture.hpp:894
const BoundObjOps & SwizzleB(TextureSwizzle mode) const
Definition: texture.hpp:1707
PixelDataFormat DepthStencilMode(void) const
Definition: texture.hpp:1933
const BoundObjOps & CopySubImage3D(GLint level, GLint xoffs, GLint yoffs, GLint zoffs, GLint x, GLint y, GLsizei width, GLsizei height) const
Definition: texture.hpp:815
GLsizei BlueSize(GLint level=0) const
Definition: texture.hpp:254
const BoundObjOps & SwizzleRGBA(const TextureSwizzleTuple &modes) const
Definition: texture.hpp:1807
Basic template for vector types.
Definition: fwd.hpp:43
GLsizei GreenSize(GLint level=0) const
Definition: texture.hpp:240
const BoundObjOps & MinLOD(GLfloat value) const
Definition: texture.hpp:1494
const BoundObjOps & CompressedSubImage1D(GLint level, GLint xoffs, GLsizei width, PixelDataFormat format, GLsizei image_size, const void *data) const
Definition: texture.hpp:1037
const BoundObjOps & MaxLevel(GLint value) const
Definition: texture.hpp:1546
A common template for "named" objects like textures, buffers, etc.
Definition: fwd.hpp:136
GLuint BaseLevel(void) const
Definition: texture.hpp:1225
const BoundObjOps & SubImage2D(const images::Image &image, GLint xoffs, GLint yoffs, GLint level=0) const
Definition: texture.hpp:614
CompareFunction CompareFunc(void) const
Definition: texture.hpp:1364
PixelDataType GreenType(GLint level=0) const
Definition: texture.hpp:170
GLsizei RedSize(GLint level=0) const
Definition: texture.hpp:226
const BoundObjOps & SubImage3D(const images::Image &image, GLint xoffs, GLint yoffs, GLint zoffs, GLint level=0) const
Definition: texture.hpp:514
GLfloat MaxLOD(void) const
Definition: texture.hpp:1509
TextureSwizzle SwizzleR(void) const
Definition: texture.hpp:1634
const BoundObjOps & GetImage(GLint level, PixelDataFormat format, std::vector< T > &dest) const
Definition: texture.hpp:376

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).