Class CreateSurfaceRenderLayerSystem<TRequest, TSurfaceLayer, TRenderData, TRenderConfig>
System that creates the RenderLayer for HexSurface layer.
Inheritance
ComponentSystemBase
SystemBase
CreateSurfaceRenderLayerSystem<TRequest, TSurfaceLayer, TRenderData, TRenderConfig>
Inherited Members
SystemBase.Dependency
SystemBase.CheckedStateRef
SystemBase.CompleteDependency()
SystemBase.Entities
SystemBase.Job
SystemBase.Update()
SystemBase.OnUpdate()
SystemBase.GetComponent<T>(Entity)
SystemBase.SetComponent<T>(Entity, T)
SystemBase.HasComponent<T>(Entity)
SystemBase.HasBuffer<T>(Entity)
SystemBase.GetEntityStorageInfoLookup()
SystemBase.GetStorageInfoFromEntity()
SystemBase.Exists(Entity)
ComponentSystemBase.Enabled
ComponentSystemBase.EntityQueries
ComponentSystemBase.GlobalSystemVersion
ComponentSystemBase.LastSystemVersion
ComponentSystemBase.EntityManager
ComponentSystemBase.World
ComponentSystemBase.SystemHandle
ComponentSystemBase.SystemHandleUntyped
ComponentSystemBase.Time
ComponentSystemBase.WorldUpdateAllocator
ComponentSystemBase.OnCreate()
ComponentSystemBase.OnStartRunning()
ComponentSystemBase.OnStopRunning()
ComponentSystemBase.OnDestroy()
ComponentSystemBase.ShouldRunSystem()
ComponentSystemBase.GetDynamicComponentTypeHandle(ComponentType)
ComponentSystemBase.GetSharedComponentTypeHandle<T>()
ComponentSystemBase.GetDynamicSharedComponentTypeHandle(ComponentType)
ComponentSystemBase.GetEntityTypeHandle()
ComponentSystemBase.RequireForUpdate(EntityQuery)
ComponentSystemBase.RequireAnyForUpdate(params EntityQuery[])
ComponentSystemBase.RequireAnyForUpdate(NativeArray<EntityQuery>)
ComponentSystemBase.RequireForUpdate<T>()
ComponentSystemBase.RequireSingletonForUpdate<T>()
ComponentSystemBase.HasSingleton<T>()
ComponentSystemBase.GetSingleton<T>()
ComponentSystemBase.GetSingletonRW<T>()
ComponentSystemBase.TryGetSingleton<T>(out T)
ComponentSystemBase.TryGetSingletonBuffer<T>(out DynamicBuffer<T>)
ComponentSystemBase.SetSingleton<T>(T)
ComponentSystemBase.GetSingletonEntity<T>()
ComponentSystemBase.TryGetSingletonEntity<T>(out Entity)
ComponentSystemBase.GetEntityQuery(params ComponentType[])
ComponentSystemBase.GetEntityQuery(NativeArray<ComponentType>)
ComponentSystemBase.GetEntityQuery(params EntityQueryDesc[])
ComponentSystemBase.GetEntityQuery(in EntityQueryBuilder)
Namespace: Fwt.HexTerrains.Systems
Assembly: fwt.hexterrains.dll
Syntax
public abstract class CreateSurfaceRenderLayerSystem<TRequest, TSurfaceLayer, TRenderData, TRenderConfig> : SystemBase where TRequest : unmanaged, IComponentData, ICreateSurfaceRenderDataRequest where TSurfaceLayer : HexSurfaceLayer, IComponentData, new() where TRenderData : HexSurfaceRenderLayer<TSurfaceLayer>, IComponentData, new() where TRenderConfig : unmanaged, IBufferElementData, IHexSurfaceRenderConfig
Type Parameters
| Name | Description |
|---|---|
| TRequest | Type of request component to create a RenderLayer |
| TSurfaceLayer | Type of Surface layer |
| TRenderData | Type of RenderData of the Surface layer |
| TRenderConfig | Type of config for RenderLayer |
Methods
CreateRenderLayer(Entity, in HexTerrain, in TSurfaceLayer, in TRequest, in DynamicBuffer<TRenderConfig>, in Camera, in EntityCommandBuffer)
Declaration
public virtual void CreateRenderLayer(Entity entity, in HexTerrain hexTerrain, in TSurfaceLayer surfaceData, in TRequest request, in DynamicBuffer<TRenderConfig> renderConfigs, in Camera camera, in EntityCommandBuffer ecb)
Parameters
| Type | Name | Description |
|---|---|---|
| Entity | entity | |
| HexTerrain | hexTerrain | |
| TSurfaceLayer | surfaceData | |
| TRequest | request | |
| DynamicBuffer<TRenderConfig> | renderConfigs | |
| Camera | camera | |
| EntityCommandBuffer | ecb |