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

OpenXR.Extensions.XR_KHR_composition_layer_equirect2

Description

Name

XR_KHR_composition_layer_equirect2 - instance extension

Specification

See XR_KHR_composition_layer_equirect2 in the main specification for complete information.

Registered Extension Number

92

Revision

1

Extension and Version Dependencies

  • Requires OpenXR 1.0

See Also

CompositionLayerEquirect2KHR

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

Documentation

data CompositionLayerEquirect2KHR Source #

XrCompositionLayerEquirect2KHR - Equirectangular layer composition info

Member Descriptions

Description

CompositionLayerEquirect2KHR contains the information needed to render an equirectangular image onto a sphere when calling endFrame. CompositionLayerEquirect2KHR is an alias type for the base struct CompositionLayerBaseHeader used in FrameEndInfo.

Valid Usage (Implicit)

See Also

CompositionLayerBaseHeader, CompositionLayerFlags, EyeVisibility, FrameEndInfo, Posef, Space, StructureType, SwapchainSubImage, endFrame

Constructors

CompositionLayerEquirect2KHR 

Fields

  • layerFlags :: CompositionLayerFlags

    layerFlags specifies options for the layer.

  • space :: Ptr Space_T

    space is the Space in which the pose of the equirect layer is evaluated over time.

  • eyeVisibility :: EyeVisibility
     
  • subImage :: SwapchainSubImage

    subImage identifies the image SwapchainSubImage to use.

  • pose :: Posef

    pose is an Posef defining the position and orientation of the center point of the sphere onto which the equirect image data is mapped, relative to the reference frame of the space.

  • radius :: Float

    radius is the non-negative radius of the sphere onto which the equirect image data is mapped. Values of zero or floating point positive infinity are treated as an infinite sphere.

  • centralHorizontalAngle :: Float

    centralHorizontalAngle defines the visible horizontal angle of the sphere, based at 0 radians, in the range of [0, 2π]. It grows symmetrically around the 0 radian angle.

  • upperVerticalAngle :: Float

    upperVerticalAngle defines the upper vertical angle of the visible portion of the sphere, in the range of [-π/2, π/2].

  • lowerVerticalAngle :: Float

    lowerVerticalAngle defines the lower vertical angle of the visible portion of the sphere, in the range of [-π/2, π/2].

Instances

Instances details
Show CompositionLayerEquirect2KHR Source # 
Instance details

Defined in OpenXR.Extensions.XR_KHR_composition_layer_equirect2

Storable CompositionLayerEquirect2KHR Source # 
Instance details

Defined in OpenXR.Extensions.XR_KHR_composition_layer_equirect2

Zero CompositionLayerEquirect2KHR Source # 
Instance details

Defined in OpenXR.Extensions.XR_KHR_composition_layer_equirect2

ToCStruct CompositionLayerEquirect2KHR Source # 
Instance details

Defined in OpenXR.Extensions.XR_KHR_composition_layer_equirect2

FromCStruct CompositionLayerEquirect2KHR Source # 
Instance details

Defined in OpenXR.Extensions.XR_KHR_composition_layer_equirect2

IsCompositionLayer CompositionLayerEquirect2KHR Source # 
Instance details

Defined in OpenXR.Extensions.XR_KHR_composition_layer_equirect2

type KHR_COMPOSITION_LAYER_EQUIRECT2_EXTENSION_NAME = "XR_KHR_composition_layer_equirect2" Source #