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.

SveltoOnDOTSCreationEngine.cs 614B

1234567891011121314151617181920
  1. #if UNITY_ECS
  2. namespace Svelto.ECS.SveltoOnDOTS
  3. {
  4. /// <summary>
  5. /// SubmissionEngine is a dedicated DOTS ECS Svelto.ECS engine that allows using the DOTS ECS
  6. /// EntityCommandBuffer for fast creation of DOTS entities
  7. /// </summary>
  8. public interface ISveltoOnDOTSStructuralEngine
  9. {
  10. DOTSOperationsForSvelto DOTSOperations { get; set; }
  11. string name { get; }
  12. //use case is i.e. to create archetypes once
  13. void OnOperationsReady();
  14. //use case is i.e. to operate once per submission on entities just created
  15. void OnPostSubmission();
  16. }
  17. }
  18. #endif