Class HybridRendererSystem
Renders all Entities containing both RenderMesh and LocalToWorld components.
Inheritance
HybridRendererSystem
Inherited Members
Unity.Entities.SystemBase.UnmanagedUpdate$BurstManaged(System.IntPtr, Unity.Entities.SystemDependencySafetyUtility.SafetyErrorDetails)
Syntax
[ExecuteAlways]
[AlwaysUpdateSystem]
[UpdateInGroup(typeof(PresentationSystemGroup))]
[UpdateAfter(typeof(UpdatePresentationSystemGroup))]
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()
Overrides
OnDestroy()
Declaration
protected override void OnDestroy()
Overrides
OnPerformCulling(BatchRendererGroup, BatchCullingContext)
Declaration
public JobHandle OnPerformCulling(BatchRendererGroup rendererGroup, BatchCullingContext cullingContext)
Parameters
Returns
OnUpdate()
Declaration
protected override void OnUpdate()
Overrides
RegisterMaterialPropertyType(Type, String, Int16, MaterialPropertyDefaultValue)
Declaration
public static void RegisterMaterialPropertyType(Type type, string propertyName, short overrideTypeSizeGPU = -1, MaterialPropertyDefaultValue defaultValue = default(MaterialPropertyDefaultValue))
Parameters
RegisterMaterialPropertyType<T>(String, Int16, MaterialPropertyDefaultValue)
Declaration
public static void RegisterMaterialPropertyType<T>(string propertyName, short overrideTypeSizeGPU = -1, 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