Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openxr

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openxr

  • 0.5.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

OpenXR for Ruby

Project license RubyGems gem Ruby compatibility

OpenXR.rb implements Ruby bindings for OpenXR 1.0, the open standard and cross-platform API for virtual reality (VR) and augmented reality (AR) hardware.

Installation

$ gem install openxr

Prerequisites

Examples

Loading the library

require 'openxr'

Listing extensions

OpenXR::Extension.each do |extension|
  puts [extension.name, extension.version].join("\t")
end

Creating an instance

OpenXR::Instance.create($0) do |instance|
  ...
end

Development

We recommend Debian 11 (aka Bullseye) as a development environment. If you're on a Mac, you can run Debian in a virtual machine using VMware Fusion or VirtualBox.

Install the Debian packages for the OpenXR SDK's loader as follows:

$ apt install libopenxr-loader1

That's the only required package, but find related packages of interest using:

$ apt search openxr

In addition, you will need an OpenXR runtime for your hardware. In the absence of suitable vendor-supplied runtimes, have a look at the open-source Monado project which supports many common devices.

See Also

FAQs

Package last updated on 15 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc