Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
814B

  1. namespace Svelto.ECS
  2. {
  3. /// <summary>
  4. /// This EntityStream can be used in parallel jobs, but does NOT guarantee order.
  5. /// </summary>
  6. /// <typeparam name="T"></typeparam>
  7. public struct ThreadSafeNativeEntityStream<T> : ITypeSafeStream
  8. {
  9. public ThreadSafeNativeEntityStream(EntitiesDB entitiesDB)
  10. {
  11. }
  12. public void Dispose()
  13. {
  14. }
  15. /// <summary>
  16. /// I am thinking to pass the component and do the queryEntity only as a validation
  17. /// </summary>
  18. /// <param name="entityComponent"></param>
  19. /// <param name="id"></param>
  20. public void PublishEntityChange(in T entityComponent, EGID id)
  21. {
  22. #if DEBUG && !PROFILE_SVELTO
  23. #endif
  24. }
  25. }
  26. }