• Scripting API
Search Results for

    Show / Hide Table of Contents
    • MudBun
      • MudBrushBase
      • MudDistortion
      • MudModifier
      • MudRenderer
      • MudRenderer.MeshGenerated
      • MudSolid
      • RegisterSdfBrushEvalFuncAttribute
      • Sdf
      • Sdf.Contact
      • Sdf.EvalJobHandle
      • Sdf.Ray
      • Sdf.Result
      • Sdf.SdfBrushEvalFunc
      • SdfBrush
      • SdfBrushMaterial

    Struct Sdf.EvalJobHandle

    Job handles are associated with SDF evaluation jobs running in parallel. A job handle exposes the interface to query and wait on the completion of its associated job.

    Namespace: MudBun
    Assembly: cs.temp.dll.dll
    Syntax
    public struct EvalJobHandle

    Properties

    Completed

    Whether a call to the handle's Complete method has been finished, thus whether its associated job is guaranteed to have finished. At this point it's safe to process and dipose of the job's output.

    Declaration
    public readonly bool Completed { get; }
    Property Value
    Type Description
    Boolean

    Valid

    Whether this handle has been associated with a job.

    Declaration
    public readonly bool Valid { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Complete()

    Wait on the job handle's associated job until it completes. When this method returns, it's safe to process and dispose of the job's output.

    Declaration
    public void Complete()

    Invalidate()

    Invalidate this job handle, disassociating it with any job.

    Declaration
    public void Invalidate()
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾