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: SurfaceControl.BUFFER_TRANSFORM_IDENTITY SurfaceControl.BUFFER_TRANSFORM_MIRROR_HORIZONTAL SurfaceControl.BUFFER_TRANSFORM_MIRROR_VERTICAL SurfaceControl.BUFFER_TRANSFORM_ROTATE_90 SurfaceControl.BUFFER_TRANSFORM_ROTATE_180 SurfaceControl.BUFFER_TRANSFORM_ROTATE_270 SurfaceControl.BUFFER_TRANSFORM_MIRROR_HORIZONTAL_ROTATE_90 SurfaceControl.BUFFER_TRANSFORM_MIRROR_VERTICAL_ROTATE_90
Returns
- 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.