OGLplus
(0.52.0)
a C++ wrapper for
OpenGL
Tweet
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
include
oglplus
images
squares.hpp
Go to the documentation of this file.
1
12
#pragma once
13
#ifndef OGLPLUS_IMAGES_SQUARES_1107121519_HPP
14
#define OGLPLUS_IMAGES_SQUARES_1107121519_HPP
15
16
#include <
oglplus/images/image.hpp
>
17
18
namespace
oglplus {
19
namespace
images {
20
22
25
class
Squares
26
:
public
Image
27
{
28
public
:
30
Squares
(
31
GLsizei width,
32
GLsizei height,
33
GLfloat ratio = 0.8f,
34
GLsizei xrep = 2,
35
GLsizei yrep = 2
36
);
37
};
38
39
}
// images
40
}
// oglplus
41
42
#if !OGLPLUS_LINK_LIBRARY || defined(OGLPLUS_IMPLEMENTING_LIBRARY)
43
#include <oglplus/images/squares.ipp>
44
#endif
45
46
#endif // include guard
oglplus::images::Squares::Squares
Squares(GLsizei width, GLsizei height, GLfloat ratio=0.8f, GLsizei xrep=2, GLsizei yrep=2)
Creates an image with specified dimensions and pattern repeats.
oglplus::images::Image
Wrapper for (texture) image data.
Definition:
image.hpp:45
image.hpp
Image data wrapper.
oglplus::images::Squares
Creates a Red (one components per pixel) 2D image with repeating squares.
Definition:
squares.hpp:25
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).