HardwareBufferRenderer.RenderRequest.SetBufferTransform 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.
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
- bufferTransform
- BufferTransform
Value is one of the following: Identity MirrorHorizontal MirrorVertical Rotate90 Rotate180 Rotate270 MirrorHorizontalRotate90 MirrorVerticalRotate90
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.