Vladimír Vondruš
d8deeb836a
Rectangle texture safety guards, doc++
...
* Added asserts for unsupported mipmap and wrapping modes instead of
previous blind behavior, moved more-than-one-liner functions into
*.cpp
* Updated documentation to reflect the rectangle texture inabilities to
user, changed "unusable" to "incomplete" to be consistent with OpenGL
terminology.
* Removed some unneeded rows in documentation.
14 years ago
Vladimír Vondruš
e0470d6b58
Non-templated base for Image, BufferedImage and Trade::ImageData.
...
Also moved ColorFormat enum from AbstractTexture there, because it is
not publicly used in AbstractTexture anymore.
14 years ago
Vladimír Vondruš
9097bb5d44
Added remaining internal formats to AbstractTexture.
14 years ago
Vladimír Vondruš
33e822a397
Function for pixel size of given color format and data type per channel.
...
Also documented the formats a little.
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š
b945f5f68b
Happy New Year.
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š
715d9910a8
Support for texture layers.
15 years ago
Vladimír Vondruš
b924da57ad
Splitting non-templated things from Texture to AbstractTexture.
15 years ago