HardwareBufferRenderer.RenderRequest.SetColorSpace(ColorSpace) Method

Definition

Configures the color space which the content should be rendered in.

[Android.Runtime.Register("setColorSpace", "(Landroid/graphics/ColorSpace;)Landroid/graphics/HardwareBufferRenderer$RenderRequest;", "", ApiSince=34)]
public Android.Graphics.HardwareBufferRenderer.RenderRequest SetColorSpace(Android.Graphics.ColorSpace? colorSpace);
[<Android.Runtime.Register("setColorSpace", "(Landroid/graphics/ColorSpace;)Landroid/graphics/HardwareBufferRenderer$RenderRequest;", "", ApiSince=34)>]
member this.SetColorSpace : Android.Graphics.ColorSpace -> Android.Graphics.HardwareBufferRenderer.RenderRequest

Parameters

colorSpace
ColorSpace

The color space the content should be rendered in. If null is provided the default of SRGB will be used.

Returns

Attributes

Remarks

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

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