Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Burst memory aliasing

Read time 1 minuteLast updated 14 days ago

Use memory aliasing to provide Burst with information about how your code uses data, which it can use to create runtime optimizations.

Topic

Description

Introduction to memory aliasingUnderstand how memory aliasing works and how you can use it to make Burst generate more efficient runtime code.
NoAlias attributeUse the
[NoAlias]
attribute to give Burst additional information on the aliasing of pointers and structs.
Aliasing and the job systemUnderstand the special limitations that apply for aliasing within jobs.

Additional resources