ID2D1DeviceContext2::CreateLookupTable3D method
Creates a 3D lookup table for mapping a 3-channel input to a 3-channel output. The table data must be provided in 4-channel format.
Syntax
HRESULT CreateLookupTable3D( D2D1_BUFFER_PRECISION precision, [in] const UINT32 *extents, [in] const BYTE *data, UINT32 dataCount, [in] const UINT32 *strides, [out] ID2D1LookupTable3D **lookupTable );
Parameters
- precision
-
Type: D2D1_BUFFER_PRECISION
Precision of the input lookup table data.
- extents [in]
-
Type: const UINT32*
Number of lookup table elements per dimension (X, Y, Z).
- data [in]
-
Type: const BYTE*
Buffer holding the lookup table data.
- dataCount
-
Type: UINT32
Size of the lookup table data buffer.
- strides [in]
-
Type: const UINT32*
An array containing two values. The first value is the size in bytes from one row (X dimension) of LUT data to the next. The second value is the size in bytes from one LUT data plane (X and Y dimensions) to the next.
- lookupTable [out]
-
Type: ID2D1LookupTable3D**
Receives the new lookup table instance.
Return value
Type: HRESULT
S_OK if successful, otherwise a failure HRESULT.
Requirements
|
Minimum supported client |
Windows 10 [desktop apps | UWP apps] |
|---|---|
|
Minimum supported server |
Windows Server 2016 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows 10 Mobile |
|
Header |
|
|
DLL |
|
See also