OGLplus (0.52.0) a C++ wrapper for OpenGL

random.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #ifndef OGLPLUS_IMAGES_RANDOM_1107121519_HPP
14 #define OGLPLUS_IMAGES_RANDOM_1107121519_HPP
15 
16 #include <oglplus/images/image.hpp>
17 
18 namespace oglplus {
19 namespace images {
20 
22 
26  : public Image
27 {
28 public:
29  RandomRedUByte(GLsizei width, GLsizei height = 1, GLsizei depth = 1);
30 };
31 
32 
34 
38  : public Image
39 {
40 public:
41  RandomRGBUByte(GLsizei width, GLsizei height = 1, GLsizei depth = 1);
42 };
43 
44 } // images
45 } // oglplus
46 
47 #if !OGLPLUS_LINK_LIBRARY || defined(OGLPLUS_IMPLEMENTING_LIBRARY)
48 #include <oglplus/images/random.ipp>
49 #endif
50 
51 #endif // include guard
Creates a RGB (three components per pixel) white noise image.
Definition: random.hpp:37
Wrapper for (texture) image data.
Definition: image.hpp:45
Creates a RED (one component per pixel) white noise image.
Definition: random.hpp:25
Image data wrapper.

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).