Class BurstHelper
Helper functions for Burst
Inherited Members
Namespace: Unity.Logging
Assembly: solution.dll
Syntax
[BurstCompile]
public static class BurstHelper
Properties
| Name | Description |
|---|---|
| IsBurst | Checks if a method is called from a managed or Burst environment. |
| IsBurstEnabled | Returns True if Burst is enabled. Can be called from Burst of a managed environments |
| IsManaged | Checks if a method is called from a managed or Burst environment. |
Methods
| Name | Description |
|---|---|
| AssertMustBeBurstCompiled() | Throws / Debug.LogError-s if IsBurstEnabled is true and this is called from a managed environment |
| CheckThatBurstIsEnabled(bool) | Checks if Burst is enabled, caches the result. Should be called from a managed environment |
| DebugLogIsBurstEnabled() | Calls Debug.Log that prints if Burst enabled of not |
| DebugLogIsManaged() | Calls Debug.Log that prints if this is a managed or Burst environment |