EHardwareBufferFlags.h 936 B

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