DisplayLuts.Entry Constructors
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
DisplayLuts.Entry(IntPtr, JniHandleOwnership) | |
DisplayLuts.Entry(Single[], Int32, Int32) |
Create a Lut entry. |
DisplayLuts.Entry(IntPtr, JniHandleOwnership)
protected Entry(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Hardware.DisplayLuts.Entry : nativeint * Android.Runtime.JniHandleOwnership -> Android.Hardware.DisplayLuts.Entry
Parameters
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
Applies to
DisplayLuts.Entry(Single[], Int32, Int32)
Create a Lut entry.
[Android.Runtime.Register(".ctor", "([FII)V", "", ApiSince=36)]
public Entry(float[] buffer, int dimension, int samplingKey);
[<Android.Runtime.Register(".ctor", "([FII)V", "", ApiSince=36)>]
new Android.Hardware.DisplayLuts.Entry : single[] * int * int -> Android.Hardware.DisplayLuts.Entry
Parameters
- buffer
- Single[]
The raw lut data
- dimension
- Int32
Either 1D or 3D
- samplingKey
- Int32
The sampling kay used for the Lut
- Attributes
Remarks
Create a Lut entry.
Noted that 1D Lut(s) are treated as gain curves. For 3D Lut(s), 3D Lut(s) are used for direct color manipulations. The values of 3D Lut(s) data should be normalized to the range 0.0
to 1.0
, inclusive. And 3D Lut(s) data is organized in the order of R, G, B channels.
Java documentation for android.hardware.DisplayLuts.Entry.DisplayLuts$Entry(float[], int, int)
.
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.