Class METAPassthroughColorLut

java.lang.Object
org.lwjgl.openxr.METAPassthroughColorLut

public class METAPassthroughColorLut extends Object
The XR_META_passthrough_color_lut extension.

This extension adds the capability to define and apply RGB to RGB(A) color look-up tables (LUTs) to passthrough layers created using XR_FB_passthrough.

Color LUTs are 3-dimensional arrays which map each input color to a different output color. When applied to a Passthrough layer, the runtime must transform Passthrough camera images according to this map before display. Color LUTs may be used to achieve effects such as color grading, level control, color filtering, or chroma keying.

Color LUTs must be created using CreatePassthroughColorLutMETA before they can be applied to a Passthrough layer in a call to PassthroughLayerSetStyleFB (as a part of XrPassthroughColorMapLutMETA or XrPassthroughColorMapInterpolatedLutMETA). A color LUT may be applied to multiple Passthrough layers simultaneously.