EHardwareBufferFlags.h 790 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. namespace irr
  6. {
  7. namespace scene
  8. {
  9. enum E_HARDWARE_MAPPING
  10. {
  11. //! Don't store on the hardware
  12. EHM_NEVER = 0,
  13. //! Rarely changed, usually stored completely on the hardware
  14. EHM_STATIC,
  15. //! Sometimes changed, driver optimized placement
  16. EHM_DYNAMIC,
  17. //! Always changed, cache optimizing on the GPU
  18. EHM_STREAM
  19. };
  20. enum E_BUFFER_TYPE
  21. {
  22. //! Does not change anything
  23. EBT_NONE = 0,
  24. //! Change the vertex mapping
  25. EBT_VERTEX,
  26. //! Change the index mapping
  27. EBT_INDEX,
  28. //! Change both vertex and index mapping to the same value
  29. EBT_VERTEX_AND_INDEX
  30. };
  31. } // end namespace scene
  32. } // end namespace irr