KDXr::Instance
Module: Public API
Instance is used to initialize the XR API. More...
#include <KDXr/instance.h>
Public Functions
Public Attributes
Friends
Detailed Description
Instance is used to initialize the XR API.
See:
| using namespace KDXr;
std::unique_ptr<XrApi> api = std::make_unique<OpenXrApi>();
Instance instance = api->createInstance(InstanceOptions{
.applicationName = "MyApplication",
.applicationVersion = 0,
});
|
Public Functions Documentation
function Instance
function ~Instance
function Instance
| Instance(
Instance && other
)
|
function operator=
| Instance & operator=(
Instance && other
)
|
function Instance
| Instance(
const Instance &
) =delete
|
function operator=
| Instance & operator=(
const Instance &
) =delete
|
function handle
| inline KDGpu::Handle< Instance_t > handle() const
|
function isValid
| inline bool isValid() const
|
function operator KDGpu::Handle< Instance_t >
| inline operator KDGpu::Handle< Instance_t >() const
|
function enabledApiLayers
| std::vector< ApiLayer > enabledApiLayers() const
|
Returns the extensions requested for the instance.
function enabledExtensions
| std::vector< Extension > enabledExtensions() const
|
function properties
| InstanceProperties properties() const
|
function system
| System * system(
const SystemOptions & options =SystemOptions()
)
|
function processEvents
| ProcessEventsResult processEvents()
|
function createActionSet
| ActionSet createActionSet(
const ActionSetOptions & options
)
|
function suggestActionBindings
| SuggestActionBindingsResult suggestActionBindings(
const SuggestActionBindingsOptions & options
)
|
Public Attributes Documentation
variable instanceLost
| KDBindings::Signal instanceLost;
|
variable interactionProfileChanged
| KDBindings::Signal interactionProfileChanged;
|
Friends
friend XrApi
| friend class XrApi(
XrApi
);
|
Updated on 2024-09-08 at 00:13:10 +0000