Struct XrCompositionLayerPassthroughHTC
A pointer to XrCompositionLayerPassthroughHTC may be submitted in xrEndFrame 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.
Inherited Members
Namespace: VIVE.OpenXR.CompositionLayer
Assembly: VIVE.OpenXR.dll
Syntax
public struct XrCompositionLayerPassthroughHTC
Constructors
XrCompositionLayerPassthroughHTC(XrStructureType, IntPtr, XrCompositionLayerFlags, XrSpace, XrPassthroughHTC, XrPassthroughColorHTC)
Declaration
public XrCompositionLayerPassthroughHTC(XrStructureType in_type, IntPtr in_next, XrCompositionLayerFlags in_layerFlags, XrSpace in_space, XrPassthroughHTC in_passthrough, XrPassthroughColorHTC in_color)
Parameters
Type | Name | Description |
---|---|---|
XrStructureType | in_type | |
IntPtr | in_next | |
XrCompositionLayerFlags | in_layerFlags | |
XrSpace | in_space | |
XrPassthroughHTC | in_passthrough | |
XrPassthroughColorHTC | in_color |
Fields
color
The XrPassthroughColorHTC describing the color information with the alpha value of the passthrough layer.
Declaration
public XrPassthroughColorHTC color
Field Value
Type | Description |
---|---|
XrPassthroughColorHTC |
layerFlags
A bitmask of XrCompositionLayerFlagBits describing flags to apply to the layer.
Declaration
public XrCompositionLayerFlags layerFlags
Field Value
Type | Description |
---|---|
XrCompositionLayerFlags |
next
Next is NULL or a pointer to the next structure in a structure chain, such as XrPassthroughMeshTransformInfoHTC.
Declaration
public IntPtr next
Field Value
Type | Description |
---|---|
IntPtr |
passthrough
The XrPassthroughHTC previously created by xrCreatePassthroughHTC.
Declaration
public XrPassthroughHTC passthrough
Field Value
Type | Description |
---|---|
XrPassthroughHTC |
space
The XrSpace that specifies the layer’s space - must be XR_NULL_HANDLE.
Declaration
public XrSpace space
Field Value
Type | Description |
---|---|
XrSpace |
type
The XrStructureType of this structure.
Declaration
public XrStructureType type
Field Value
Type | Description |
---|---|
XrStructureType |