docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IDependableMemoryResource

    Job system dependency fences for the memory resource

    Namespace: Unity.Barracuda
    Assembly: solution.dll
    Syntax
    public interface IDependableMemoryResource

    Properties

    fence

    Read fence Returns job handle that can be used as dependsOn argument when scheduling data consumer job. Consumer job will start execution once Tensor data is ready for read access.

    Declaration
    JobHandle fence { get; set; }
    Property Value
    Type Description
    JobHandle

    rawPtr

    Raw memory pointer for the resource

    Declaration
    void* rawPtr { get; }
    Property Value
    Type Description
    void*

    reuse

    Write fence Returns job handle that can be used as dependsOn argument when scheduling data producer job. Producer job will start execution once Tensor data is ready for write access.

    Declaration
    JobHandle reuse { get; set; }
    Property Value
    Type Description
    JobHandle
    In This Article
    Back to top
    Copyright © 2025 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)