| 0.6.1

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

operation.hpp
Go to the documentation of this file.
1
29 #pragma once
30
31 #include "texture2d.hpp"
32
33 namespace gli
34 {
35 /*
36 texture2D duplicate(texture2D const & Texture);
37 texture2D flip(texture2D const & Texture);
38 texture2D mirror(texture2D const & Texture);
39 texture2D swizzle(
40 texture2D const & Texture,
41 glm::uvec4 const & Channel);
42 texture2D crop(
43 texture2D const & Texture,
44 texture2D::dimensions_type const & Position,
45 texture2D::dimensions_type const & Size);
46
47 image2D crop(
48 image2D const & Image,
49 image2D::dimensions_type const & Position,
50 image2D::dimensions_type const & Size);
51
52 image2D copy(
53 image2D const & SrcImage,
54 image2D::dimensions_type const & SrcPosition,
55 image2D::dimensions_type const & SrcSize,
56 image2D & DstImage,
57 image2D::dimensions_type const & DstPosition);
58 */
59 //image operator+(image const & MipmapA, image const & MipmapB);
60 //image operator-(image const & MipmapA, image const & MipmapB);
61 //image operator*(image const & MipmapA, image const & MipmapB);
62 //image operator/(image const & MipmapA, image const & MipmapB);
63
64 //namespace wip
65 //{
66 // template <typename GENTYPE, template <typename> class SURFACE>
67 // GENTYPE fetch(SURFACE<GENTYPE> const & Image)
68 // {
69 // return GENTYPE();
70 // }
71
72 // template
73 // <
74 // typename GENTYPE,
75 // template
76 // <
77 // typename
78 // >
79 // class SURFACE,
80 // template
81 // <
82 // typename,
83 // template
84 // <
85 // typename
86 // >
87 // class
88 // >
89 // class IMAGE
90 // >
91 // GENTYPE fetch(IMAGE<GENTYPE, SURFACE> const & Image)
92 // {
93 // return GENTYPE();
94 // }
95 //}//namespace wip
96
97 }//namespace gli
98
99 #include "operation.inl"
texture2d.hpp
OpenGL Image (gli.g-truc.net)
gli
Definition: addressing.hpp:33