ECullingTypes.h 785 B

1234567891011121314151617181920212223242526272829303132333435
  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. #pragma once
  5. #include "irrTypes.h"
  6. namespace irr
  7. {
  8. namespace scene
  9. {
  10. //! An enumeration for all types of automatic culling for built-in scene nodes
  11. enum E_CULLING_TYPE
  12. {
  13. EAC_OFF = 0,
  14. EAC_BOX = 1,
  15. EAC_FRUSTUM_BOX = 2,
  16. EAC_FRUSTUM_SPHERE = 4,
  17. EAC_OCC_QUERY = 8
  18. };
  19. //! Names for culling type
  20. const c8 *const AutomaticCullingNames[] = {
  21. "false",
  22. "box", // camera box against node box
  23. "frustum_box", // camera frustum against node box
  24. "frustum_sphere", // camera frustum against node sphere
  25. "occ_query", // occlusion query
  26. 0,
  27. };
  28. } // end namespace scene
  29. } // end namespace irr