mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
9c5c750e60
Implements a new design for the shader uniform API. * Added Shader::setUniform() and Shader::setUniformArray() overloads for the following types: -> scalars: float, int, bool -> vectors: 2D, 3D, 4D -> matrices: 3x3, 4x4 -> arrays of basic types -> samplers (sf::Texture) -> conversions for SFML types (sf::Transform, sf::Color) * Added sf::Glsl namespace with GLSL-equivalent types * Deprecated Shader::setParameter() overloads Other related changes: * Refactored sf::Shader internals to avoid code duplication * Improved documentation * Added SFML_DEPRECATED macro to Doxyfile * Defined _SCL_SECURE_NO_WARNINGS to disable std::copy() warnings on MSVC |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
doxyfile.in | ||
doxygen.css | ||
footer.html | ||
header.html.in | ||
mainpage.hpp |