note about ReadEntities
parent
2d55a3b6b2
commit
b27cbcb50a
|
@ -15,6 +15,7 @@ public abstract class EntityComponentReader
|
||||||
ComponentDepot = componentDepot;
|
ComponentDepot = componentDepot;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: is this faster or slower than a single-component Filter?
|
||||||
protected ReadOnlySpan<Entity> ReadEntities<TComponent>() where TComponent : struct
|
protected ReadOnlySpan<Entity> ReadEntities<TComponent>() where TComponent : struct
|
||||||
{
|
{
|
||||||
return ComponentDepot.ReadEntities<TComponent>();
|
return ComponentDepot.ReadEntities<TComponent>();
|
||||||
|
|
Loading…
Reference in New Issue