SFML/examples
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
..
android Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
cocoa Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
ftp Source code changes. 2014-10-06 01:18:47 +02:00
opengl Added methods to get the currently active context, query whether an OpenGL extension is available and query the actual OpenGL version of a context, made context switches during initialization of texture and shader static values unnecessary, fixed code style in loaders. 2015-09-21 20:29:55 +02:00
pong Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
shader Added new methods to set uniforms in sf::Shader 2015-10-21 10:29:07 +02:00
sockets Examples adjustments. 2014-11-17 09:44:46 +01:00
sound Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
sound_capture Examples adjustments. 2014-11-17 09:44:46 +01:00
voip Examples adjustments. 2014-11-17 09:44:46 +01:00
win32 Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
window Removed support for GLU. 2015-03-23 16:16:06 +01:00
X11 Improved OpenGL and X11 rotating cube examples. 2015-03-23 16:16:07 +01:00
CMakeLists.txt Source code changes. 2014-10-06 01:18:47 +02:00