Class HybridRendererSystem
Renders all Entities containing both RenderMesh and LocalToWorld components.
Inheritance
HybridRendererSystem
Syntax
public class HybridRendererSystem : SystemBase
Properties
HybridRendererEnabled
Declaration
public static bool HybridRendererEnabled { get; }
Property Value
Methods
CompleteJobs()
Declaration
public void CompleteJobs()
Dispose()
Declaration
EndUpdate()
Declaration
OnCreate()
Declaration
protected override void OnCreate()
OnDestroy()
Declaration
protected override void OnDestroy()
OnPerformCulling(BatchRendererGroup, BatchCullingContext)
Declaration
public JobHandle OnPerformCulling(BatchRendererGroup rendererGroup, BatchCullingContext cullingContext)
Parameters
| Type |
Name |
Description |
| BatchRendererGroup |
rendererGroup |
|
| BatchCullingContext |
cullingContext |
|
Returns
| Type |
Description |
| JobHandle |
|
OnUpdate()
Declaration
protected override void OnUpdate()
RegisterMaterialPropertyType(Type, String, Int16, MaterialPropertyDefaultValue)
Declaration
public static void RegisterMaterialPropertyType(Type type, string propertyName, short overrideTypeSizeGPU = null, MaterialPropertyDefaultValue defaultValue = default(MaterialPropertyDefaultValue))
Parameters
RegisterMaterialPropertyType<T>(String, Int16, MaterialPropertyDefaultValue)
Declaration
public static void RegisterMaterialPropertyType<T>(string propertyName, short overrideTypeSizeGPU = null, MaterialPropertyDefaultValue defaultValue = default(MaterialPropertyDefaultValue))
where T : IComponentData
Parameters
Type Parameters
ResetLod()
Declaration
StartUpdate(Int32, Int32, Int32)
Declaration
public void StartUpdate(int numOperations, int totalUploadBytes, int biggestUploadBytes)
Parameters
| Type |
Name |
Description |
| Int32 |
numOperations |
|
| Int32 |
totalUploadBytes |
|
| Int32 |
biggestUploadBytes |
|
UpdateAllBatches(JobHandle)
Declaration
public JobHandle UpdateAllBatches(JobHandle inputDependencies)
Parameters
| Type |
Name |
Description |
| JobHandle |
inputDependencies |
|
Returns
| Type |
Description |
| JobHandle |
|