openxr-0.1: Bindings to the OpenXR API
Safe HaskellNone
LanguageHaskell2010

OpenXR.Core10.OtherTypes

Synopsis

Documentation

data Vector4f Source #

XrVector4f - Four-dimensional vector

Member Descriptions

Description

If used to represent physical distances, x, y, and z values must be in meters.

See Also

Posef, Quaternionf, Vector2f, Vector3f

Constructors

Vector4f 

Fields

  • x :: Float

    x is the x coordinate of the vector.

  • y :: Float

    y is the y coordinate of the vector.

  • z :: Float

    z is the z coordinate of the vector.

  • w :: Float

    w is the w coordinate of the vector.

Instances

Instances details
Eq Vector4f Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Show Vector4f Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Storable Vector4f Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Zero Vector4f Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Methods

zero :: Vector4f #

ToCStruct Vector4f Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

FromCStruct Vector4f Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

data Color4f Source #

XrColor4f - Color Vector

Member Descriptions

Description

Unless otherwise specified, colors are encoded as linear (not with sRGB nor other gamma compression) values with individual components being in the range of 0.0 through 1.0, and without the RGB components being premultiplied by the alpha component.

See Also

CompositionLayerColorScaleBiasKHR

Constructors

Color4f 

Fields

  • r :: Float

    r is the red component of the color.

  • g :: Float

    g is the green component of the color.

  • b :: Float

    b is the blue component of the color.

  • a :: Float

    a is the alpha component of the color.

Instances

Instances details
Eq Color4f Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Methods

(==) :: Color4f -> Color4f -> Bool #

(/=) :: Color4f -> Color4f -> Bool #

Show Color4f Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Storable Color4f Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Zero Color4f Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Methods

zero :: Color4f #

ToCStruct Color4f Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

FromCStruct Color4f Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

data Fovf Source #

XrFovf - Field of view

Member Descriptions

Description

Angles to the right of the center and upwards from the center are positive, and angles to the left of the center and down from the center are negative. The total horizontal field of view is angleRight minus angleLeft, and the total vertical field of view is angleUp minus angleDown. For a symmetric FoV, angleRight and angleUp will have positive values, angleLeft will be -angleRight, and angleDown will be -angleUp.

The angles must be specified in radians, and must be between -π/2 and π/2 exclusively.

When angleLeft > angleRight, the content of the view must be flipped horizontally. When angleDown > angleUp, the content of the view must be flipped vertically.

See Also

CompositionLayerProjectionView, View, ViewConfigurationViewFovEPIC

Constructors

Fovf 

Fields

  • angleLeft :: Float

    angleLeft is the angle of the left side of the field of view. For a symmetric field of view this value is negative.

  • angleRight :: Float

    angleRight is the angle of the right side of the field of view.

  • angleUp :: Float

    angleUp is the angle of the top part of the field of view.

  • angleDown :: Float

    angleDown is the angle of the bottom part of the field of view. For a symmetric field of view this value is negative.

Instances

Instances details
Eq Fovf Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Methods

(==) :: Fovf -> Fovf -> Bool #

(/=) :: Fovf -> Fovf -> Bool #

Show Fovf Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Methods

showsPrec :: Int -> Fovf -> ShowS #

show :: Fovf -> String #

showList :: [Fovf] -> ShowS #

Storable Fovf Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Methods

sizeOf :: Fovf -> Int #

alignment :: Fovf -> Int #

peekElemOff :: Ptr Fovf -> Int -> IO Fovf #

pokeElemOff :: Ptr Fovf -> Int -> Fovf -> IO () #

peekByteOff :: Ptr b -> Int -> IO Fovf #

pokeByteOff :: Ptr b -> Int -> Fovf -> IO () #

peek :: Ptr Fovf -> IO Fovf #

poke :: Ptr Fovf -> Fovf -> IO () #

Zero Fovf Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Methods

zero :: Fovf #

ToCStruct Fovf Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Methods

withCStruct :: Fovf -> (Ptr Fovf -> IO b) -> IO b #

pokeCStruct :: Ptr Fovf -> Fovf -> IO b -> IO b #

withZeroCStruct :: (Ptr Fovf -> IO b) -> IO b #

pokeZeroCStruct :: Ptr Fovf -> IO b -> IO b #

cStructSize :: Int #

cStructAlignment :: Int #

FromCStruct Fovf Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Methods

peekCStruct :: Ptr Fovf -> IO Fovf #

data SwapchainSubImage Source #

Constructors

SwapchainSubImage 

Fields

  • swapchain :: Ptr Swapchain_T

    swapchain is the Swapchain to be displayed.

    swapchain must be a valid Swapchain handle

  • imageRect :: Rect2Di

    imageRect is an Rect2Di representing the valid portion of the image to use, in pixels. It also implicitly defines the transform from normalized image coordinates into pixel coordinates. Note that the compositor may bleed in pixels from outside the bounds in some cases, for instance due to mipmapping.

  • imageArrayIndex :: Word32

    imageArrayIndex is the image array index, with 0 meaning the first or only array element.

data CompositionLayerBaseHeader (es :: [Type]) Source #

XrCompositionLayerBaseHeader - Composition layer base header

Member Descriptions

Description

All composition layer structures begin with the elements described in the CompositionLayerBaseHeader. The CompositionLayerBaseHeader structure is not intended to be directly used, but forms a basis for defining current and future structures containing composition layer information. The FrameEndInfo structure contains an array of pointers to these polymorphic header structures. All composition layer type pointers must be type-castable as an CompositionLayerBaseHeader pointer.

Valid Usage (Implicit)

See Also

CompositionLayerFlags, FrameEndInfo, SecondaryViewConfigurationLayerInfoMSFT, Space, StructureType, SwapchainSubImage

Constructors

CompositionLayerBaseHeader 

Fields

Instances

Instances details
Extensible CompositionLayerBaseHeader Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Methods

extensibleTypeName :: String Source #

getNext :: forall (es :: [Type]). CompositionLayerBaseHeader es -> Chain es Source #

setNext :: forall (ds :: [Type]) (es :: [Type]). CompositionLayerBaseHeader ds -> Chain es -> CompositionLayerBaseHeader es Source #

extends :: forall e b proxy. Typeable e => proxy e -> (Extends CompositionLayerBaseHeader e => b) -> Maybe b Source #

Show (Chain es) => Show (CompositionLayerBaseHeader es) Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

es ~ ('[] :: [Type]) => Zero (CompositionLayerBaseHeader es) Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

(Extendss CompositionLayerBaseHeader es, PokeChain es) => ToCStruct (CompositionLayerBaseHeader es) Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

(Extendss CompositionLayerBaseHeader es, PeekChain es) => FromCStruct (CompositionLayerBaseHeader es) Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Inheritable (CompositionLayerBaseHeader ('[] :: [Type])) Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

class ToCStruct a => IsCompositionLayer a where Source #

data CompositionLayerProjectionView (es :: [Type]) Source #

XrCompositionLayerProjectionView - Projection layer element

Member Descriptions

Description

The count and order of view poses submitted with CompositionLayerProjection must be the same order as that returned by locateViews. The CompositionLayerProjectionView::pose and CompositionLayerProjectionView::fov should almost always derive from View::pose and View::fov as found in the locateViews::views array. However, applications may submit an CompositionLayerProjectionView which has a different view or FOV than that from locateViews. In this case, the runtime will map the view and FOV to the system display appropriately. In the case that two submitted views within a single layer overlap, they must be composited in view array order.

Valid Usage (Implicit)

See Also

CompositionLayerProjection, Fovf, Posef, StructureType, SwapchainSubImage

Constructors

CompositionLayerProjectionView 

Fields

Instances

Instances details
Extensible CompositionLayerProjectionView Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Methods

extensibleTypeName :: String Source #

getNext :: forall (es :: [Type]). CompositionLayerProjectionView es -> Chain es Source #

setNext :: forall (ds :: [Type]) (es :: [Type]). CompositionLayerProjectionView ds -> Chain es -> CompositionLayerProjectionView es Source #

extends :: forall e b proxy. Typeable e => proxy e -> (Extends CompositionLayerProjectionView e => b) -> Maybe b Source #

Show (Chain es) => Show (CompositionLayerProjectionView es) Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

es ~ ('[] :: [Type]) => Zero (CompositionLayerProjectionView es) Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

(Extendss CompositionLayerProjectionView es, PokeChain es) => ToCStruct (CompositionLayerProjectionView es) Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

(Extendss CompositionLayerProjectionView es, PeekChain es) => FromCStruct (CompositionLayerProjectionView es) Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

data CompositionLayerProjection Source #

XrCompositionLayerProjection - Composition layer for projection

Member Descriptions

Description

Note

Because a runtime may reproject the layer over time, a projection layer should specify an Space in which to maximize stability of the layer content. For example, a projection layer containing world-locked content should use an Space which is also world-locked, such as the LOCAL or STAGE reference spaces. In the case that the projection layer should be head-locked, such as a heads up display, the VIEW reference space would provide the highest quality layer reprojection.

Valid Usage (Implicit)

See Also

CompositionLayerBaseHeader, CompositionLayerFlags, CompositionLayerProjectionView, Space, StructureType, SwapchainSubImage

Constructors

CompositionLayerProjection 

Fields

data CompositionLayerQuad Source #

XrCompositionLayerQuad - Quad composition layer

Member Descriptions

Description

The CompositionLayerQuad layer is useful for user interface elements or 2D content rendered into the virtual world. The layer’s SwapchainSubImage::swapchain image is applied to a quad in the virtual world space. Only front face of the quad surface is visible; the back face is not visible and must not be drawn by the runtime. A quad layer has no thickness; it is a two-dimensional object positioned and oriented in 3D space. The position of a quad refers to the center of the quad within the given Space. The orientation of the quad refers to the orientation of the normal vector from the front face. The size of a quad refers to the quad’s size in the x-y plane of the given Space’s coordinate system. A quad with a position of {0,0,0}, rotation of {0,0,0,1} (no rotation), and a size of {1,1} refers to a 1 meter x 1 meter quad centered at {0,0,0} with its front face normal vector coinciding with the +z axis.

Valid Usage (Implicit)

See Also

CompositionLayerBaseHeader, CompositionLayerFlags, Extent2Df, EyeVisibility, Posef, Space, StructureType, SwapchainSubImage

Constructors

CompositionLayerQuad 

Fields

Instances

Instances details
Show CompositionLayerQuad Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Storable CompositionLayerQuad Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Zero CompositionLayerQuad Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

ToCStruct CompositionLayerQuad Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

FromCStruct CompositionLayerQuad Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

IsCompositionLayer CompositionLayerQuad Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

data HapticVibration Source #

XrHapticVibration - Base header for haptic feedback

Member Descriptions

Description

The HapticVibration is used in calls to applyHapticFeedback that trigger vibration output actions.

The duration, and frequency parameters may be clamped to implementation-dependent ranges.

Valid Usage (Implicit)

See Also

https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XrDuration, HapticBaseHeader, StructureType, applyHapticFeedback

Constructors

HapticVibration 

Fields

  • duration :: Duration

    duration is the number of nanoseconds the vibration should last. If MIN_HAPTIC_DURATION is specified, the runtime must produce a short haptics pulse of minimal supported duration for the haptic device.

  • frequency :: Float

    frequency is the frequency of the vibration in Hz. If FREQUENCY_UNSPECIFIED is specified, it is left to the runtime to decide the optimal frequency value to use.

  • amplitude :: Float

    amplitude is the amplitude of the vibration between 0.0 and 1.0.

Instances

Instances details
Eq HapticVibration Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Show HapticVibration Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Storable HapticVibration Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Zero HapticVibration Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

ToCStruct HapticVibration Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

FromCStruct HapticVibration Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

IsHaptic HapticVibration Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

data EventDataBaseHeader Source #

XrEventDataBaseHeader - Base header for an event

Parameter Descriptions

Description

The EventDataBaseHeader is a generic structure used to identify the common event data elements.

Upon receipt, the EventDataBaseHeader pointer should be type-cast to a pointer of the appropriate event data based on the type parameter.

Valid Usage (Implicit)

See Also

StructureType, pollEvent

Instances

Instances details
Eq EventDataBaseHeader Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Show EventDataBaseHeader Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Storable EventDataBaseHeader Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Zero EventDataBaseHeader Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

ToCStruct EventDataBaseHeader Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

FromCStruct EventDataBaseHeader Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Inheritable EventDataBaseHeader Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

class ToCStruct a => IsEventData a where Source #

Instances

Instances details
IsEventData EventDataSessionStateChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

IsEventData EventDataReferenceSpaceChangePending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

IsEventData EventDataInteractionProfileChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

IsEventData EventDataInstanceLossPending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

IsEventData EventDataEventsLost Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

IsEventData EventDataMainSessionVisibilityChangedEXTX Source # 
Instance details

Defined in OpenXR.Extensions.XR_EXTX_overlay

IsEventData EventDataPerfSettingsEXT Source # 
Instance details

Defined in OpenXR.Extensions.XR_EXT_performance_settings

IsEventData EventDataDisplayRefreshRateChangedFB Source # 
Instance details

Defined in OpenXR.Extensions.XR_FB_display_refresh_rate

IsEventData EventDataVisibilityMaskChangedKHR Source # 
Instance details

Defined in OpenXR.Extensions.XR_KHR_visibility_mask

data EventDataEventsLost Source #

XrEventDataEventsLost - Event indicating events were lost

Member Descriptions

Description

Receiving the EventDataEventsLost event structure indicates that the event queue overflowed and some events were removed at the position within the queue at which this event was found.

Valid Usage (Implicit)

See Also

EventDataBaseHeader, StructureType, pollEvent

Constructors

EventDataEventsLost 

Fields

Instances

Instances details
Eq EventDataEventsLost Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Show EventDataEventsLost Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Storable EventDataEventsLost Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Zero EventDataEventsLost Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

ToCStruct EventDataEventsLost Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

FromCStruct EventDataEventsLost Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

IsEventData EventDataEventsLost Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

data EventDataInstanceLossPending Source #

XrEventDataInstanceLossPending - Event indicating instance loss will occur

Members

Receiving the EventDataInstanceLossPending event structure indicates that the application is about to lose the indicated Instance at the indicated lossTime in the future. The application should call destroyInstance and relinquish any instance-specific resources. This typically occurs to make way for a replacement of the underlying runtime, such as via a software update.

Description

After the application has destroyed all of its instances and their children and waited past the specified time, it may then re-try createInstance in a loop waiting for whatever maintenance the runtime is performing to complete. The runtime will return ERROR_INSTANCE_LOST from createInstance as long as it is unable to create the instance. Once the runtime has returned and is able to continue, it must resume returning SUCCESS from createInstance if valid data is passed in.

Valid Usage (Implicit)

See Also

EventDataBaseHeader, StructureType, https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XrTime, pollEvent

Constructors

EventDataInstanceLossPending 

Fields

  • lossTime :: Time

    lossTime is the absolute time at which the indicated instance will be considered lost and become unusable.

Instances

Instances details
Eq EventDataInstanceLossPending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Show EventDataInstanceLossPending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Storable EventDataInstanceLossPending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Zero EventDataInstanceLossPending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

ToCStruct EventDataInstanceLossPending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

FromCStruct EventDataInstanceLossPending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

IsEventData EventDataInstanceLossPending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

data EventDataSessionStateChanged Source #

XrEventDataSessionStateChanged - Event indicating session state changed

Member Descriptions

Description

Receiving the EventDataSessionStateChanged event structure indicates that the application has changed lifecycle state.

Valid Usage (Implicit)

See Also

EventDataBaseHeader, Session, SessionState, StructureType, https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XrTime, pollEvent

Constructors

EventDataSessionStateChanged 

Fields

Instances

Instances details
Eq EventDataSessionStateChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Show EventDataSessionStateChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Storable EventDataSessionStateChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Zero EventDataSessionStateChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

ToCStruct EventDataSessionStateChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

FromCStruct EventDataSessionStateChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

IsEventData EventDataSessionStateChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

data EventDataReferenceSpaceChangePending Source #

Constructors

EventDataReferenceSpaceChangePending 

Fields

Instances

Instances details
Show EventDataReferenceSpaceChangePending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Storable EventDataReferenceSpaceChangePending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Zero EventDataReferenceSpaceChangePending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

ToCStruct EventDataReferenceSpaceChangePending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

FromCStruct EventDataReferenceSpaceChangePending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

IsEventData EventDataReferenceSpaceChangePending Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

data EventDataInteractionProfileChanged Source #

XrEventDataInteractionProfileChanged - Notifies the application than the active interaction profile has changed

Member Descriptions

Description

The EventDataInteractionProfileChanged event is sent to the application to notify it that the active input form factor for one or more top level user paths has changed. This event must only be sent for interaction profiles that the application indicated its support for via suggestInteractionProfileBindings. This event must only be sent for running sessions.

The application can call getCurrentInteractionProfile if it wants to change its own behavior based on the active hardware.

Valid Usage (Implicit)

See Also

Session, StructureType, getCurrentInteractionProfile, suggestInteractionProfileBindings

Constructors

EventDataInteractionProfileChanged 

Fields

  • session :: Ptr Session_T

    session is the Session for which at least one of the interaction profiles for a top level path has changed.

    session must be a valid Session handle

Instances

Instances details
Eq EventDataInteractionProfileChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Show EventDataInteractionProfileChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Storable EventDataInteractionProfileChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

Zero EventDataInteractionProfileChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

ToCStruct EventDataInteractionProfileChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

FromCStruct EventDataInteractionProfileChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

IsEventData EventDataInteractionProfileChanged Source # 
Instance details

Defined in OpenXR.Core10.OtherTypes

data Offset2Df Source #

XrOffset2Df - Float offset in two dimensions

Member Descriptions

Description

This structure is used for component values that may be fractional (floating-point). If used to represent physical distances, values must be in meters.

See Also

Extent2Df, Rect2Df

Constructors

Offset2Df 

Fields

  • x :: Float

    x the floating-point offset in the x direction.

  • y :: Float

    y the floating-point offset in the y direction.

data Extent2Df Source #

XrExtent2Df - Extent in two dimensions

Member Descriptions

Description

This structure is used for component values that may be fractional (floating-point). If used to represent physical distances, values must be in meters.

The width and height value must be non-negative.

See Also

CompositionLayerQuad, Offset2Df, Rect2Df, getReferenceSpaceBoundsRect

Constructors

Extent2Df 

Fields

  • width :: Float

    width the floating-point width of the extent.

  • height :: Float

    height the floating-point height of the extent.

data Rect2Df Source #

XrRect2Df - Rect in two dimensions

Member Descriptions

Description

This structure is used for component values that may be fractional (floating-point).

See Also

Extent2Df, Offset2Df

Constructors

Rect2Df 

Fields

Instances

Instances details
Show Rect2Df Source # 
Instance details

Defined in OpenXR.Core10.FundamentalTypes

Storable Rect2Df Source # 
Instance details

Defined in OpenXR.Core10.FundamentalTypes

Zero Rect2Df Source # 
Instance details

Defined in OpenXR.Core10.FundamentalTypes

Methods

zero :: Rect2Df #

ToCStruct Rect2Df Source # 
Instance details

Defined in OpenXR.Core10.FundamentalTypes

FromCStruct Rect2Df Source # 
Instance details

Defined in OpenXR.Core10.FundamentalTypes

data BaseInStructure Source #

XrBaseInStructure - Convenience type for iterating (read only)

Member Descriptions

Description

BaseInStructure can be used to facilitate iterating through a read-only structure pointer chain.

See Also

BaseInStructure, BaseOutStructure, StructureType

Constructors

BaseInStructure 

Fields

Instances

Instances details
Eq BaseInStructure Source # 
Instance details

Defined in OpenXR.CStruct.Extends

Show BaseInStructure Source # 
Instance details

Defined in OpenXR.CStruct.Extends

Storable BaseInStructure Source # 
Instance details

Defined in OpenXR.CStruct.Extends

Zero BaseInStructure Source # 
Instance details

Defined in OpenXR.CStruct.Extends

ToCStruct BaseInStructure Source # 
Instance details

Defined in OpenXR.CStruct.Extends

FromCStruct BaseInStructure Source # 
Instance details

Defined in OpenXR.CStruct.Extends

data BaseOutStructure Source #

XrBaseOutStructure - Convenience type for iterating (mutable)

Member Descriptions

Description

BaseOutStructure can be used to facilitate iterating through a structure pointer chain that returns data back to the application.

See Also

BaseInStructure, BaseOutStructure, StructureType

Constructors

BaseOutStructure 

Fields

Instances

Instances details
Eq BaseOutStructure Source # 
Instance details

Defined in OpenXR.CStruct.Extends

Show BaseOutStructure Source # 
Instance details

Defined in OpenXR.CStruct.Extends

Storable BaseOutStructure Source # 
Instance details

Defined in OpenXR.CStruct.Extends

Zero BaseOutStructure Source # 
Instance details

Defined in OpenXR.CStruct.Extends

ToCStruct BaseOutStructure Source # 
Instance details

Defined in OpenXR.CStruct.Extends

FromCStruct BaseOutStructure Source # 
Instance details

Defined in OpenXR.CStruct.Extends

newtype ObjectType Source #

XrObjectType - Specify an enumeration to track object handle types

Description

The ObjectType enumeration defines values, each of which corresponds to a specific OpenXR handle type. These values can be used to associate debug information with a particular type of object through one or more extensions.

The following table defines ObjectType and OpenXR Handle relationships:

ObjectType OpenXR Handle Type
OBJECT_TYPE_UNKNOWN Unknown/Undefined Handle
OBJECT_TYPE_INSTANCE Instance
OBJECT_TYPE_SESSION Session
OBJECT_TYPE_SWAPCHAIN Swapchain
OBJECT_TYPE_SPACE Space
OBJECT_TYPE_ACTION_SET ActionSet
OBJECT_TYPE_ACTION Action

See Also

DebugUtilsObjectNameInfoEXT

Constructors

ObjectType Int32 

Instances

Instances details
Eq ObjectType Source # 
Instance details

Defined in OpenXR.Core10.Enums.ObjectType

Ord ObjectType Source # 
Instance details

Defined in OpenXR.Core10.Enums.ObjectType

Read ObjectType Source # 
Instance details

Defined in OpenXR.Core10.Enums.ObjectType

Show ObjectType Source # 
Instance details

Defined in OpenXR.Core10.Enums.ObjectType

Storable ObjectType Source # 
Instance details

Defined in OpenXR.Core10.Enums.ObjectType

Zero ObjectType Source # 
Instance details

Defined in OpenXR.Core10.Enums.ObjectType

Methods

zero :: ObjectType #