Singularity/Library/PackageCache/com.unity.burst@1.8.4/Documentation~/csharp-language-support.md
2024-05-06 11:45:45 -07:00

1.1 KiB

C# language support

Burst uses a high performance subset of C# called High Performance C# (HPC#) which has a number of limitations and differences between C#.

Topic Description
HPC# overview Understand how HPC# works with Burst.
C#/.NET type support Understand the supported C# features.
C#/.NET System namespace support Understand what's supported in the System namespace.
Static read-only fields and static constructor support Use static read-only fields and static constructors in Burst code.
String support Use strings in Burst code.
Calling Burst compiled code Call Burst compiled code from managed code.
Function pointers Use function pointers to work with dynamic functions.
SharedStatic struct Use SharedStatic to share static mutable data.

Additional resources