ECullingTypes.h 927 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Copyright (C) 2002-2012 Nikolaus Gebhardt
  2. // This file is part of the "Irrlicht Engine".
  3. // For conditions of distribution and use, see copyright notice in irrlicht.h
  4. #ifndef IRR_E_CULLING_TYPES_H_INCLUDED
  5. #define IRR_E_CULLING_TYPES_H_INCLUDED
  6. #include "irrTypes.h"
  7. namespace irr
  8. {
  9. namespace scene
  10. {
  11. //! An enumeration for all types of automatic culling for built-in scene nodes
  12. enum E_CULLING_TYPE
  13. {
  14. EAC_OFF = 0,
  15. EAC_BOX = 1,
  16. EAC_FRUSTUM_BOX = 2,
  17. EAC_FRUSTUM_SPHERE = 4,
  18. EAC_OCC_QUERY = 8
  19. };
  20. //! Names for culling type
  21. const c8* const AutomaticCullingNames[] =
  22. {
  23. "false",
  24. "box", // camera box against node box
  25. "frustum_box", // camera frustum against node box
  26. "frustum_sphere", // camera frustum against node sphere
  27. "occ_query", // occlusion query
  28. 0
  29. };
  30. } // end namespace scene
  31. } // end namespace irr
  32. #endif // IRR_E_CULLING_TYPES_H_INCLUDED