HardwareRenderer.SyncLostSurfaceRewardIfFound Campo

Definizione

Attenzione

This constant will be removed in the future version. Use Android.Graphics.Sync enum directly instead of this field.

Il renderer hardware non ha più un valore valido android.view.Surface per il rendering.

[Android.Runtime.Register("SYNC_LOST_SURFACE_REWARD_IF_FOUND", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.Sync enum directly instead of this field.", true)]
public const Android.Graphics.Sync SyncLostSurfaceRewardIfFound = 2;
[<Android.Runtime.Register("SYNC_LOST_SURFACE_REWARD_IF_FOUND", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.Sync enum directly instead of this field.", true)>]
val mutable SyncLostSurfaceRewardIfFound : Android.Graphics.Sync

Valore del campo

Value = 2
Attributi

Commenti

Il renderer hardware non ha più un valore valido android.view.Surface per il rendering. Questo può verificarsi se Surface#release() è stato chiamato. L'utente non deve più tentare di chiamare syncAndDraw finché non viene fornita una nuova superficie chiamando setSurface.

Spoiler: la ricompensa è il disegno con accelerazione GPU, meglio trovare che Surface!

per android.graphics.HardwareRenderer.SYNC_LOST_SURFACE_REWARD_IF_FOUND.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a