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.

18 lines
596B

  1. namespace Svelto.ECS
  2. {
  3. public partial class EnginesRoot
  4. {
  5. internal Consumer<T> GenerateConsumer<T>(string name, uint capacity) where T : unmanaged, IEntityComponent
  6. {
  7. return _entityStreams.GenerateConsumer<T>(name, capacity);
  8. }
  9. internal Consumer<T> GenerateConsumer<T>(ExclusiveGroupStruct group, string name, uint capacity)
  10. where T : unmanaged, IEntityComponent
  11. {
  12. return _entityStreams.GenerateConsumer<T>(@group, name, capacity);
  13. }
  14. internal readonly EntitiesStreams _entityStreams;
  15. }
  16. }