OpenXRMetaPassthroughColorLut

Inherits: RefCounted

Uses the XR_META_passthrough_color_lut extension to provide a color LUT (Look Up Table) for recoloring passthrough imagery.

Description

Uses the XR_META_passthrough_color_lut extension to provide a color LUT (Look Up Table) for recoloring passthrough imagery.

See OpenXRFbPassthroughExtensionWrapper.set_color_lut and OpenXRFbPassthroughExtensionWrapper.set_interpolated_color_lut

Methods

OpenXRMetaPassthroughColorLut

create_from_image ( Image image, ColorLutChannels channels ) static


Enumerations

enum ColorLutChannels:

ColorLutChannels COLOR_LUT_CHANNELS_RGB = 3

Contains RGB data.

ColorLutChannels COLOR_LUT_CHANNELS_RGBA = 4

Contains RGBA data.


Method Descriptions

OpenXRMetaPassthroughColorLut create_from_image ( Image image, ColorLutChannels channels ) static

Creates a color LUT (Look Up Table) from an image.