GLI
0.5.0
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
Users
Groove
Documents
GitHub
gli
gli
core
operation.hpp
Go to the documentation of this file.
1
29
#ifndef GLI_OPERATION_INCLUDED
30
#define GLI_OPERATION_INCLUDED
31
32
#include "
texture2d.hpp
"
33
34
namespace
gli
35
{
36
/*
37
texture2D duplicate(texture2D const & Texture);
38
texture2D flip(texture2D const & Texture);
39
texture2D mirror(texture2D const & Texture);
40
texture2D swizzle(
41
texture2D const & Texture,
42
glm::uvec4 const & Channel);
43
texture2D crop(
44
texture2D const & Texture,
45
texture2D::dimensions_type const & Position,
46
texture2D::dimensions_type const & Size);
47
48
image2D crop(
49
image2D const & Image,
50
image2D::dimensions_type const & Position,
51
image2D::dimensions_type const & Size);
52
53
image2D copy(
54
image2D const & SrcImage,
55
image2D::dimensions_type const & SrcPosition,
56
image2D::dimensions_type const & SrcSize,
57
image2D & DstImage,
58
image2D::dimensions_type const & DstPosition);
59
*/
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
//image operator/(image const & MipmapA, image const & MipmapB);
64
65
//namespace wip
66
//{
67
// template <typename GENTYPE, template <typename> class SURFACE>
68
// GENTYPE fetch(SURFACE<GENTYPE> const & Image)
69
// {
70
// return GENTYPE();
71
// }
72
73
// template
74
// <
75
// typename GENTYPE,
76
// template
77
// <
78
// typename
79
// >
80
// class SURFACE,
81
// template
82
// <
83
// typename,
84
// template
85
// <
86
// typename
87
// >
88
// class
89
// >
90
// class IMAGE
91
// >
92
// GENTYPE fetch(IMAGE<GENTYPE, SURFACE> const & Image)
93
// {
94
// return GENTYPE();
95
// }
96
//}//namespace wip
97
98
}
//namespace gli
99
100
#include "operation.inl"
101
102
#endif//GLI_OPERATION_INCLUDED
texture2d.hpp
OpenGL Image (gli.g-truc.net)
Generated by
1.8.5