Teanga

HardwareBufferRenderer.RenderRequest.SetBufferTransform Method

Definition

Specifies a transform to be applied before content is rendered.

[Android.Runtime.Register("setBufferTransform", "(I)Landroid/graphics/HardwareBufferRenderer$RenderRequest;", "", ApiSince=34)]
public Android.Graphics.HardwareBufferRenderer.RenderRequest SetBufferTransform(Android.Views.BufferTransform bufferTransform);
[<Android.Runtime.Register("setBufferTransform", "(I)Landroid/graphics/HardwareBufferRenderer$RenderRequest;", "", ApiSince=34)>]
member this.SetBufferTransform : Android.Views.BufferTransform -> Android.Graphics.HardwareBufferRenderer.RenderRequest

Parameters

Returns

This request, after updating its buffer transform.

Attributes

Remarks

Specifies a transform to be applied before content is rendered. This is useful for pre-rotating content for the current display orientation to increase performance of displaying the associated buffer. This transformation will also adjust the light source position for the specified rotation.

Android reference for android.graphics.HardwareBufferRenderer.RenderRequest.setBufferTransform.

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