docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method WithBurst

    WithBurst<TDescription>(TDescription, FloatMode, FloatPrecision, bool)

    Enables Burst for the Entities.ForEach or Job.WithCode that this invocation constructs.

    Declaration
    public static TDescription WithBurst<TDescription>(this TDescription description, FloatMode floatMode = FloatMode.Default, FloatPrecision floatPrecision = FloatPrecision.Standard, bool synchronousCompilation = false) where TDescription : ILambdaJobDescription
    Parameters
    Type Name Description
    TDescription description

    The target object

    FloatMode floatMode

    Floating point optimization mode for Burst compilation

    FloatPrecision floatPrecision

    Floating point precision used for certain builtin operations

    bool synchronousCompilation

    Whether this invocation should be compiled by Burst before execution begins

    Returns
    Type Description
    TDescription

    The target object, suitable for chaining multiple methods

    Type Parameters
    Name Description
    TDescription

    Type of target object

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)