Monado OpenXR Runtime
|
Public Member Functions | |
def | parse (cls, json_root) |
def | load_and_parse (cls, file) |
def | __init__ (self, json_root) |
Data Fields | |
profiles | |
virtual_profiles | |
A collection of interaction profiles used in bindings.
def bindings.Bindings.__init__ | ( | self, | |
json_root | |||
) |
Construct a bindings from a dictionary of profiles.
References bindings.Bindings.__has_diamonds(), bindings.Bindings.__mine_for_diamond_errors(), bindings.Bindings.__set_parent_profile_refs(), bindings.Bindings.profiles, oxr_instance.profiles, and bindings.Bindings.virtual_profiles.
def bindings.Bindings.load_and_parse | ( | cls, | |
file | |||
) |
Load a JSON file and parse it into Profile objects.
References ipcproto.common.Proto.parse(), and bindings.Bindings.parse().
def bindings.Bindings.parse | ( | cls, | |
json_root | |||
) |
Parse an entire bindings.json into a collection of Profile objects.
Referenced by bindings.Bindings.load_and_parse(), and ipcproto.common.Proto.load_and_parse().