Crate openxr[][src]

Expand description

To get started, construct an Entry object.

Re-exports

pub use sys;

Modules

opengl
raw
vulkan

Structs

Action
ActionSet
ActionState
ActionType

See XrActionType

ActiveActionSet
AndroidSurfaceSwapchainFlagsFB

See XrAndroidSurfaceSwapchainFlagsFB

AndroidThreadTypeKHR

Android Thread Types - see XrAndroidThreadTypeKHR

ApiLayerProperties

See XrApiLayerProperties

ApplicationInfo
Binding
Color4f

See XrColor4f

ColorSpaceFB

See XrColorSpaceFB

CompositionLayerBase
CompositionLayerCubeKHR
CompositionLayerCylinderKHR
CompositionLayerEquirectKHR
CompositionLayerFlags

See XrCompositionLayerFlagBits

CompositionLayerProjection
CompositionLayerProjectionView
CompositionLayerQuad
DebugUtilsMessageSeverityFlagsEXT

See XrDebugUtilsMessageSeverityFlagsEXT

DebugUtilsMessageTypeFlagsEXT

See XrDebugUtilsMessageTypeFlagsEXT

DisplayRefreshRateChangedFB
Duration
Entry

Entry point to the API. Start here.

EnvironmentBlendMode

See XrEnvironmentBlendMode

EventDataBuffer
EventsLost
ExtensionSet

A subset of known extensions

Extent2Df

See XrExtent2Df

Extent2Di

See XrExtent2Di

EyeVisibility

eye visibility selector - see XrEyeVisibility

FormFactor

See XrFormFactor

Fovf

See XrFovf

FrameState

Result of method calls on FrameWaiter

FrameStream

Handle for managing frame presentation

FrameWaiter

Handle for waiting to render a frame

Hand

See XrHandEXT

HandEXT

See XrHandEXT

HandJoint

See XrHandJointEXT

HandJointEXT

See XrHandJointEXT

HandJointLocation

See XrHandJointLocationEXT - defined by XR_EXT_hand_tracking

HandJointLocationEXT

See XrHandJointLocationEXT - defined by XR_EXT_hand_tracking

HandJointSetEXT

See XrHandJointSetEXT

HandJointVelocity

See XrHandJointVelocityEXT - defined by XR_EXT_hand_tracking

HandJointVelocityEXT

See XrHandJointVelocityEXT - defined by XR_EXT_hand_tracking

HandJointsMotionRangeEXT

See XrHandJointsMotionRangeEXT

HandMeshVertexMSFT

See XrHandMeshVertexMSFT - defined by XR_MSFT_hand_tracking_mesh

HandPoseTypeMSFT

See XrHandPoseTypeMSFT

HandTracker
Haptic

Tag for haptic output actions

HapticBase
HapticVibration
InputSourceLocalizedNameFlags

See XrInputSourceLocalizedNameFlagBits

Instance

Root object mediating an application’s interaction with OpenXR

InstanceCreateFlags

See XrInstanceCreateFlagBits

InstanceExtensions

Extensions used internally by the bindings

InstanceLossPending
InstanceProperties
InteractionProfileChanged
LoadError

An error encountered while loading entry points from a dynamic library at run time

MainSessionVisibilityChangedEXTX
MeshComputeLodMSFT

See XrMeshComputeLodMSFT

ObjectType

Enums to track objects of various types - see XrObjectType

Offset2Df

See XrOffset2Df

Offset2Di

See XrOffset2Di

OverlayMainSessionFlagsEXTX

See XrOverlayMainSessionFlagsEXTX

OverlaySessionCreateFlagsEXTX

See XrOverlaySessionCreateFlagsEXTX

Path
PerfSettingsDomainEXT

See XrPerfSettingsDomainEXT

PerfSettingsEXT
PerfSettingsLevelEXT

See XrPerfSettingsLevelEXT

PerfSettingsNotificationLevelEXT

See XrPerfSettingsNotificationLevelEXT

PerfSettingsSubDomainEXT

See XrPerfSettingsSubDomainEXT

Posef

See XrPosef

Quaternionf

See XrQuaternionf

RawEntry
Rect2Df

See XrRect2Df

Rect2Di

See XrRect2Di

ReferenceSpaceChangePending
ReferenceSpaceType

See XrReferenceSpaceType

ReprojectionModeMSFT

See XrReprojectionModeMSFT

SceneComponentTypeMSFT

See XrSceneComponentTypeMSFT

SceneComputeConsistencyMSFT

See XrSceneComputeConsistencyMSFT

SceneComputeFeatureMSFT

See XrSceneComputeFeatureMSFT

SceneComputeStateMSFT

See XrSceneComputeStateMSFT

SceneObjectTypeMSFT

See XrSceneObjectTypeMSFT

ScenePlaneAlignmentTypeMSFT

See XrScenePlaneAlignmentTypeMSFT

SecondaryEndInfo
SecondaryViewState
Session

A rendering session using a particular graphics API G

SessionCreateFlags

See XrSessionCreateFlagBits

SessionState

See XrSessionState

SessionStateChanged
Space
SpaceLocation
SpaceLocationFlags

See XrSpaceLocationFlagBits

SpaceVelocity
SpaceVelocityFlags

See XrSpaceVelocityFlagBits

SpatialGraphNodeTypeMSFT

See XrSpatialGraphNodeTypeMSFT

StructureType

Structure type enumerant - see XrStructureType

Swapchain

A set of images to be rendered to using a particular graphics API G

SwapchainCreateFlags

See XrSwapchainCreateFlagBits

SwapchainCreateInfo
SwapchainSubImage
SwapchainUsageFlags

See XrSwapchainUsageFlagBits

SystemGraphicsProperties

See XrSystemGraphicsProperties

SystemId
SystemProperties
SystemTrackingProperties
Time
Vector2f

See XrVector2f

Vector3f

See XrVector3f

Vector4f

See XrVector4f

Version
View
ViewConfigurationProperties
ViewConfigurationType

See XrViewConfigurationType

ViewConfigurationView
ViewStateFlags

See XrViewStateFlagBits

VisibilityMask

Mesh obtained from Session::get_visibility_mask

VisibilityMaskChangedKHR
VisibilityMaskTypeKHR

See XrVisibilityMaskTypeKHR

VulkanDeviceCreateFlagsKHR

See XrVulkanDeviceCreateFlagsKHR

VulkanInstanceCreateFlagsKHR

See XrVulkanInstanceCreateFlagsKHR

Enums

Event
OpenGL

The OpenGL graphics API

Vulkan

The Vulkan graphics API

Constants

CURRENT_API_VERSION
FREQUENCY_UNSPECIFIED
HAND_JOINT_COUNT
USER_GAMEPAD
USER_HAND_LEFT
USER_HAND_RIGHT
USER_HEAD
USER_TREADMILL

Traits

ActionInput
ActionTy
Graphics

Static dispatch for OpenXR graphics bindings

Type Definitions

EGLenum
HandJointLocations

An array of HandJointLocations, one for each HandJoint.

HandJointVelocities

An array of HandJointVelocitys, one for each HandJoint.

Result
VkComponentSwizzle
VkFilter
VkSamplerAddressMode
VkSamplerMipmapMode