SurfaceControl.Transaction.SetBuffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetBuffer(SurfaceControl, HardwareBuffer) | |
SetBuffer(SurfaceControl, HardwareBuffer, SyncFence) | |
SetBuffer(SurfaceControl, HardwareBuffer, SyncFence, IConsumer) |
SetBuffer(SurfaceControl, HardwareBuffer)
[Android.Runtime.Register("setBuffer", "(Landroid/view/SurfaceControl;Landroid/hardware/HardwareBuffer;)Landroid/view/SurfaceControl$Transaction;", "GetSetBuffer_Landroid_view_SurfaceControl_Landroid_hardware_HardwareBuffer_Handler", ApiSince=33)]
public virtual Android.Views.SurfaceControl.Transaction SetBuffer (Android.Views.SurfaceControl sc, Android.Hardware.HardwareBuffer? buffer);
[<Android.Runtime.Register("setBuffer", "(Landroid/view/SurfaceControl;Landroid/hardware/HardwareBuffer;)Landroid/view/SurfaceControl$Transaction;", "GetSetBuffer_Landroid_view_SurfaceControl_Landroid_hardware_HardwareBuffer_Handler", ApiSince=33)>]
abstract member SetBuffer : Android.Views.SurfaceControl * Android.Hardware.HardwareBuffer -> Android.Views.SurfaceControl.Transaction
override this.SetBuffer : Android.Views.SurfaceControl * Android.Hardware.HardwareBuffer -> Android.Views.SurfaceControl.Transaction
Parameters
- buffer
- HardwareBuffer
Returns
- Attributes
Applies to
SetBuffer(SurfaceControl, HardwareBuffer, SyncFence)
[Android.Runtime.Register("setBuffer", "(Landroid/view/SurfaceControl;Landroid/hardware/HardwareBuffer;Landroid/hardware/SyncFence;)Landroid/view/SurfaceControl$Transaction;", "GetSetBuffer_Landroid_view_SurfaceControl_Landroid_hardware_HardwareBuffer_Landroid_hardware_SyncFence_Handler", ApiSince=33)]
public virtual Android.Views.SurfaceControl.Transaction SetBuffer (Android.Views.SurfaceControl sc, Android.Hardware.HardwareBuffer? buffer, Android.Hardware.SyncFence? fence);
[<Android.Runtime.Register("setBuffer", "(Landroid/view/SurfaceControl;Landroid/hardware/HardwareBuffer;Landroid/hardware/SyncFence;)Landroid/view/SurfaceControl$Transaction;", "GetSetBuffer_Landroid_view_SurfaceControl_Landroid_hardware_HardwareBuffer_Landroid_hardware_SyncFence_Handler", ApiSince=33)>]
abstract member SetBuffer : Android.Views.SurfaceControl * Android.Hardware.HardwareBuffer * Android.Hardware.SyncFence -> Android.Views.SurfaceControl.Transaction
override this.SetBuffer : Android.Views.SurfaceControl * Android.Hardware.HardwareBuffer * Android.Hardware.SyncFence -> Android.Views.SurfaceControl.Transaction
Parameters
- buffer
- HardwareBuffer
- fence
- SyncFence
Returns
- Attributes
Applies to
SetBuffer(SurfaceControl, HardwareBuffer, SyncFence, IConsumer)
[Android.Runtime.Register("setBuffer", "(Landroid/view/SurfaceControl;Landroid/hardware/HardwareBuffer;Landroid/hardware/SyncFence;Ljava/util/function/Consumer;)Landroid/view/SurfaceControl$Transaction;", "GetSetBuffer_Landroid_view_SurfaceControl_Landroid_hardware_HardwareBuffer_Landroid_hardware_SyncFence_Ljava_util_function_Consumer_Handler", ApiSince=33)]
public virtual Android.Views.SurfaceControl.Transaction SetBuffer (Android.Views.SurfaceControl sc, Android.Hardware.HardwareBuffer? buffer, Android.Hardware.SyncFence? fence, Java.Util.Functions.IConsumer? releaseCallback);
[<Android.Runtime.Register("setBuffer", "(Landroid/view/SurfaceControl;Landroid/hardware/HardwareBuffer;Landroid/hardware/SyncFence;Ljava/util/function/Consumer;)Landroid/view/SurfaceControl$Transaction;", "GetSetBuffer_Landroid_view_SurfaceControl_Landroid_hardware_HardwareBuffer_Landroid_hardware_SyncFence_Ljava_util_function_Consumer_Handler", ApiSince=33)>]
abstract member SetBuffer : Android.Views.SurfaceControl * Android.Hardware.HardwareBuffer * Android.Hardware.SyncFence * Java.Util.Functions.IConsumer -> Android.Views.SurfaceControl.Transaction
override this.SetBuffer : Android.Views.SurfaceControl * Android.Hardware.HardwareBuffer * Android.Hardware.SyncFence * Java.Util.Functions.IConsumer -> Android.Views.SurfaceControl.Transaction
Parameters
- buffer
- HardwareBuffer
- fence
- SyncFence
- releaseCallback
- IConsumer
Returns
- Attributes