Vladimír Vondruš
2b7aa09520
Added some TODOs.
14 years ago
Vladimír Vondruš
11f4f0a500
Removed support for setting texture data directly.
...
Texture data can be now set only using image classes (Image,
BufferedImage, Trade::ImageData).
14 years ago
Vladimír Vondruš
03f15c714b
Renamed template in Texture to prevent underscores in parameters.
14 years ago
Vladimír Vondruš
b641085b21
Doc++
14 years ago
Vladimír Vondruš
1cf69616a3
Documentation updates, "markdownization".
...
All HTML code and Doxygen shortcuts such as @c , @b and @em are now
rewritten using Markdown syntax, which makes it more readable.
Also updated Doxyfile. Doxygen 1.8 at least is required to generate
the documentation now.
14 years ago
Vladimír Vondruš
6504aecf0c
Added classes Image and BufferedImage.
...
These classes are meant to be used in the same texture updating
functions as Trade::ImageData due to static polymorphism. In addition to
Trade::ImageData, which is read-only, these classes support updating the
dimensions and data. Image2D and ImageBuffer2D can update the data also
from framebuffer.
14 years ago
Vladimír Vondruš
10b8eda20a
Inlined functions.
14 years ago
Vladimír Vondruš
7bae1a3f8a
Renamed data access classes in Trade to avoid confusion.
14 years ago
Vladimír Vondruš
8cdf5e87c4
Strong typed texture targets.
...
Only those targets which are meaningful for given dimension are
available.
14 years ago
Vladimír Vondruš
52971935ab
Using strongly-typed enum for plain OpenGL types.
...
Mesh and IndexedMesh is not completely ported, as it will need more
work.
14 years ago
Vladimír Vondruš
476e8285cd
Simplified massive repeated code in CubeMapTexture.h.
14 years ago
Vladimír Vondruš
70fa53b949
Removed unbind() from buffers and textures.
...
It doesn't help with any safety, but just complicates everything and
makes unnecessary GL calls.
14 years ago
Vladimír Vondruš
dacd31fcc5
Moved AbstractImporter and Image to new Trade namespace.
...
Start of AbstractImporter rework - Trade namespace will contain simple
classes usable for exchanging data with other formats, importers will
not depend on any OpenGL functionality, they will just provide access to
plain data.
14 years ago
Vladimír Vondruš
b945f5f68b
Happy New Year.
15 years ago
Vladimír Vondruš
31c70f2c08
Doc++
15 years ago
Vladimír Vondruš
a0fc06bf94
Making Texture data setting functions public.
15 years ago
Vladimír Vondruš
ef80006737
Using GLint instead of GLsizei for offset.
15 years ago
Vladimír Vondruš
d6b4cbb466
Added convenience functions for feeding Textures with Images.
15 years ago
Vladimír Vondruš
40441b39e2
Removed unnecessary templating of AbstractTexture::DataHelper.
15 years ago
Vladimír Vondruš
e9a556cc10
Using strongly-typed enums in AbstractTexture and derived classes.
...
Allows safer passing of values, more descriptive and shorter enum names
and also using the same enum names/values in InternalFormat and
ColorFormat.
15 years ago
Vladimír Vondruš
d0044b960e
Support for setting texture subdata.
15 years ago
Vladimír Vondruš
715d9910a8
Support for texture layers.
15 years ago
Vladimír Vondruš
0407e8152b
New class for Cube map textures.
15 years ago