Class XrPassthroughColorMapInterpolatedLutMETA

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrPassthroughColorMapInterpolatedLutMETA>
org.lwjgl.openxr.XrPassthroughColorMapInterpolatedLutMETA
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class XrPassthroughColorMapInterpolatedLutMETA extends org.lwjgl.system.Struct<XrPassthroughColorMapInterpolatedLutMETA> implements org.lwjgl.system.NativeResource
A color map defined by the interpolation between two LUTs.
Description

XrPassthroughColorMapInterpolatedLutMETA lets applications apply the interpolation between two color LUTs to a passthrough layer. Applications may use this feature to smoothly transition between two color LUTs. Other Passthrough style elements (such as edges) must not be affected by color LUTs.

The blend between sourceColorLut and targetColorLut is computed as (1 - weight) * sourceColorLut [Cin] + weight * targetColorLut [Cin].

XrPassthroughColorMapInterpolatedLutMETA is provided in the next chain of XrPassthroughStyleFB when calling PassthroughLayerSetStyleFB. Subsequent calls to PassthroughLayerSetStyleFB with XrPassthroughColorMapInterpolatedLutMETA in the next chain update the color LUT for that layer. Subsequent calls to PassthroughLayerSetStyleFB without this XrPassthroughColorMapInterpolatedLutMETA (or XrPassthroughColorMapLutMETA) in the next chain disable color LUTs for that layer.

Valid Usage (Implicit)

Layout


 struct XrPassthroughColorMapInterpolatedLutMETA {
     XrStructureType type();
     void const * next();
     XrPassthroughColorLutMETA sourceColorLut();
     XrPassthroughColorLutMETA targetColorLut();
     float weight();
 }