Export 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
  2. *
  3. * This library is open source and may be redistributed and/or modified under
  4. * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
  5. * (at your option) any later version. The full license is in LICENSE file
  6. * included with this distribution, and on the openscenegraph.org website.
  7. *
  8. * This library is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * OpenSceneGraph Public License for more details.
  12. */
  13. //osgFX - Copyright (C) 2003 Marco Jez
  14. #ifndef OSGFX_EXPORT_
  15. #define OSGFX_EXPORT_
  16. #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
  17. # if defined( OSG_LIBRARY_STATIC )
  18. # define OSGFX_EXPORT
  19. # elif defined( OSGFX_LIBRARY )
  20. # define OSGFX_EXPORT __declspec(dllexport)
  21. # else
  22. # define OSGFX_EXPORT __declspec(dllimport)
  23. # endif
  24. #else
  25. # define OSGFX_EXPORT
  26. #endif
  27. /**
  28. \namespace osgFX
  29. The osgFX library is a NodeKit that extends the core scene graph to provide a special effects framework.
  30. osgFX's framework allows multiple rendering techniques to be provide for each effect, thereby provide the use
  31. appropriate rendering techniques for each different class of graphics hardware, i.e. support for both modern
  32. programmable graphics hardware and still have standard OpenGL 1.1 support as a fallback.
  33. */
  34. #endif