OGLplus (0.52.0) a C++ wrapper for OpenGL

checker.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #ifndef OGLPLUS_IMAGES_CHECKER_1107121519_HPP
14 #define OGLPLUS_IMAGES_CHECKER_1107121519_HPP
15 
16 #include <oglplus/images/image.hpp>
17 
18 namespace oglplus {
19 namespace images {
20 
22 
26  : public Image
27 {
28 public:
31  GLsizei width,
32  GLsizei height,
33  GLsizei xrep = 4,
34  GLsizei yrep = 4
35  );
36 };
37 
38 } // images
39 } // oglplus
40 
41 #if !OGLPLUS_LINK_LIBRARY || defined(OGLPLUS_IMPLEMENTING_LIBRARY)
42 #include <oglplus/images/checker.ipp>
43 #endif
44 
45 #endif // include guard
CheckerRedBlack(GLsizei width, GLsizei height, GLsizei xrep=4, GLsizei yrep=4)
Creates a checker image with specified dimensions and pattern repeats.
Creates a Red (one components per pixel) 2D checker image.
Definition: checker.hpp:25
Wrapper for (texture) image data.
Definition: image.hpp:45
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).