Interface IDependableMemoryResource
Job system dependency fences for the memory resource
Namespace: Unity.Barracuda
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
Jobs.JobHandle fence { get; set; }
Property Value
Type | Description |
---|---|
Jobs.JobHandle |
reuse
Write fence
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
Jobs.JobHandle reuse { get; set; }
Property Value
Type | Description |
---|---|
Jobs.JobHandle |