Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BurstRuntime

Provides helper intrinsics that can be used at runtime.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Class
  • Namespace: Unity.Burst
  • Assembly: UnityEngine.BurstModule
public static class BurstRuntime

Static Methods

Method

Description

GetHashCode32Gets a 32-bits hashcode from a type computed for the AssemblyQualifiedName This method cannot be used from a burst job.
GetHashCode64Gets a 64-bits hashcode from a type computed for the AssemblyQualifiedName. This method cannot be used from a burst job.
GetUTF8LiteralPointerReturn a pointer to read-only memory consisting of the literal UTF-8 bytes of a string constant.
LoadAdditionalLibraryAllows for loading additional Burst native libraries Important: Designed for Play mode / Desktop Standalone Players ONLY In Editor, any libraries that have been loaded will be unloaded on exit of playmode Only supported from 2021.1 and later. You can use BurstCompiler.IsLoadAdditionalLibrarySupported() to confirm it is available.