| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
OpenXR.Extensions.XR_EXTX_overlay
Description
Name
XR_EXTX_overlay - instance extension
Specification
See XR_EXTX_overlay in the main specification for complete information.
Registered Extension Number
34
Revision
4
Extension and Version Dependencies
- Requires OpenXR 1.0
See Also
EventDataMainSessionVisibilityChangedEXTX,
SessionCreateInfoOverlayEXTX
Document Notes
For more information, see the OpenXR Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.
Synopsis
- data SessionCreateInfoOverlayEXTX = SessionCreateInfoOverlayEXTX {}
- data EventDataMainSessionVisibilityChangedEXTX = EventDataMainSessionVisibilityChangedEXTX {}
- newtype OverlayMainSessionFlagsEXTX = OverlayMainSessionFlagsEXTX Flags64
- newtype OverlaySessionCreateFlagsEXTX = OverlaySessionCreateFlagsEXTX Flags64
- type EXTX_overlay_SPEC_VERSION = 4
- pattern EXTX_overlay_SPEC_VERSION :: forall a. Integral a => a
- type EXTX_OVERLAY_EXTENSION_NAME = "XR_EXTX_overlay"
- pattern EXTX_OVERLAY_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data SessionCreateInfoOverlayEXTX Source #
XrSessionCreateInfoOverlayEXTX - Session creation extension struct providing overlay session parameters
Valid Usage (Implicit)
- The @@
extension must be enabled prior to using
SessionCreateInfoOverlayEXTX
-
typemust beTYPE_SESSION_CREATE_INFO_OVERLAY_EXTX -
nextmust beNULLor a valid pointer to the next structure in a structure chain -
createFlagsmust be a valid combination of XrOverlaySessionCreateFlagBitsEXTX values -
createFlagsmust not be0
See Also
Constructors
| SessionCreateInfoOverlayEXTX | |
Fields
| |
Instances
data EventDataMainSessionVisibilityChangedEXTX Source #
XrEventDataMainSessionVisibilityChangedEXTX - Event representing main session visibility change
Members
Receiving the EventDataMainSessionVisibilityChangedEXTX event
structure indicates that the main session has gained or lost visibility.
This can occur in many cases, one typical example is when a user
switches from one OpenXR application to another. See
EventDataMainSessionVisibilityChangedEXTX for more information on the
standard behavior. This structure contains additional information on the
main session including flags which indicate additional state
information of the main session. Currently, the only flag value supplied
is
XR_OVERLAY_MAIN_SESSION_ENABLED_COMPOSITION_LAYER_INFO_DEPTH_BIT_EXTX
which indicates if the main session has enabled the
https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_KHR_composition_layer_depth
extension.
Member Descriptions
typeis theStructureTypeof this structure.
nextisNULLor a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.visibleis an https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XrBool32 which indicates ifsessionis now visible or is not.flagsis 0 or one or more XrOverlayMainSessionFlagBitsEXTX which indicates various state information for the main session.
Valid Usage (Implicit)
-
The @@ extension must be enabled prior to using
EventDataMainSessionVisibilityChangedEXTX
-
typemust beTYPE_EVENT_DATA_MAIN_SESSION_VISIBILITY_CHANGED_EXTX -
nextmust beNULLor a valid pointer to the next structure in a structure chain -
flagsmust be a valid combination of XrOverlayMainSessionFlagBitsEXTX values -
flagsmust not be0
See Also
https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XrBool32,
OverlayMainSessionFlagsEXTX,
StructureType
Constructors
| EventDataMainSessionVisibilityChangedEXTX | |
Fields | |
Instances
newtype OverlayMainSessionFlagsEXTX Source #
XrOverlayMainSessionFlagsEXTX - XrOverlayMainSessionFlagsEXTX
See Also
Constructors
| OverlayMainSessionFlagsEXTX Flags64 |
Instances
newtype OverlaySessionCreateFlagsEXTX Source #
XrOverlaySessionCreateFlagsEXTX - XrOverlaySessionCreateFlagsEXTX
See Also
Constructors
| OverlaySessionCreateFlagsEXTX Flags64 |
Instances
type EXTX_overlay_SPEC_VERSION = 4 Source #
pattern EXTX_overlay_SPEC_VERSION :: forall a. Integral a => a Source #
type EXTX_OVERLAY_EXTENSION_NAME = "XR_EXTX_overlay" Source #
pattern EXTX_OVERLAY_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #