Version: 2018.1
Experimental: this API is experimental and might be changed or removed in the future.

SpriteRendererDataAccessExtensions.UpdateDeformableBuffer

Switch to Manual
public static void UpdateDeformableBuffer (SpriteRenderer spriteRenderer, Unity.Jobs.JobHandle fence);

Description

Provides the JobHandle that updates the deform buffer to the SpriteRenderer.

This will allow the SpriteRenderer to ensure the deformation job is done before using the buffer for rendering. This implies that the deformation of the buffer must be done using the new JobSystem.