ドキュメント

Unity Engine

Unity Engine

Burst memory aliasing

Tell Burst how your code uses memory so it can generate more efficient runtime code.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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