Commit Graph

11 Commits

Author SHA1 Message Date
Marco Antognini
0df97b4813 Updated platform-specific handle documentation 2015-11-06 18:24:42 +01:00
Jan Haller
9c5c750e60 Added new methods to set uniforms in sf::Shader
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
2015-10-21 10:29:07 +02:00
binary1248
e80bf0ba92 Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
Marco Antognini
b0d6c2bea9 Added version in doc header 2014-12-27 20:57:57 +01:00
Lukas Dürrenberger
8b7ac65aa3 Fixed the namespace and class icon issue and updated the Doxygen file. 2014-12-27 20:57:55 +01:00
Marco Antognini
fc850ed99f Updated doc version and removed trailing spaces 2014-12-07 10:35:42 +01:00
Jan Haller
59e920cf10 Fixed several Doxygen warnings, limited input to *.hpp files 2014-03-29 12:42:13 +01:00
Laurent Gomila
f3d2129f9f Improved the API documentation stylesheet 2013-01-30 21:35:34 +01:00
Laurent Gomila
d7b4e26dc6 Removed the MSCGEN detection -- in fact it was not used 2012-06-17 13:09:25 +02:00
Mario Liebisch
617c3b7759 Made CMake look for mscgen
Before the path in doxyfile was static and set to
"D:/Programmes/mscgen", which obviously won't work on most systems. Now
CMake tries to find the tool. If this fails, the path is set empty to
let Doxygen look for it inside PATH.
2012-06-16 20:00:18 +02:00
LaurentGom
a991fe8e4d Added support for the CMake build system
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1550 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-19 15:59:24 +00:00