Class XrCompositionLayerPassthroughHTC

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

public class XrCompositionLayerPassthroughHTC extends org.lwjgl.system.Struct<XrCompositionLayerPassthroughHTC> implements org.lwjgl.system.NativeResource
A composition layer for passthrough.
Description

The application can create an XrCompositionLayerPassthroughHTC structure with the created passthrough and the corresponding information. A pointer to XrCompositionLayerPassthroughHTC may be submitted in EndFrame as a pointer to the base structure XrCompositionLayerBaseHeader, in the desired layer order, to request the runtime to composite a passthrough layer into the final frame output.

If the passthrough form specified to CreatePassthroughHTC is PASSTHROUGH_FORM_PROJECTED_HTC, XrPassthroughMeshTransformInfoHTC must appear in the next chain. If they are absent, the runtime must return error ERROR_VALIDATION_FAILURE.

Valid Usage (Implicit)
See Also

XrCompositionLayerBaseHeader, XrPassthroughColorHTC

Layout


 struct XrCompositionLayerPassthroughHTC {
     XrStructureType type();
     void const * next();
     XrCompositionLayerFlags layerFlags();
     XrSpace space();
     XrPassthroughHTC passthrough();
     XrPassthroughColorHTC color();
 }