Condividi tramite


HardwareRenderer.FrameRenderRequest.SyncAndDraw Method

Definition

Syncs the RenderNode tree to the render thread and requests a frame to be drawn.

[Android.Runtime.Register("syncAndDraw", "()I", "", ApiSince=29)]
public Android.Graphics.Sync SyncAndDraw ();
[<Android.Runtime.Register("syncAndDraw", "()I", "", ApiSince=29)>]
member this.SyncAndDraw : unit -> Android.Graphics.Sync

Returns

The result of the sync operation.

Attributes

Remarks

Syncs the RenderNode tree to the render thread and requests a frame to be drawn. This FrameRenderRequest instance should no longer be used after calling this method. The system internally may reuse instances of FrameRenderRequest to reduce allocation churn.

Java documentation for android.graphics.HardwareRenderer.FrameRenderRequest.syncAndDraw().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to