Added RenderPipelineBase

This commit is contained in:
2026-03-02 19:06:19 +09:00
parent 5e42d699c3
commit b8af6e8c3a
13 changed files with 338 additions and 32 deletions

View File

@@ -6,12 +6,14 @@ using System.Runtime.CompilerServices;
namespace Ghost.Entities;
public interface IComponent
{
}
public interface IComponent;
public interface IEnableableComponent : IComponent;
public interface IEnableableComponent : IComponent
[AttributeUsage(AttributeTargets.Struct)]
public class RequireComponentAttribute<T> : Attribute
where T : unmanaged, IComponent
{
public Type RequiredType => typeof(T);
}
internal struct ComponentInfo