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

SpriteRendererDataAccessExtensions.UpdateDeformableBuffer

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

Descripción

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.