KDXr::Session
Module: Public API
Session is used to initialize the XR API. More...
#include <KDXr/session.h>
Public Functions
Public Attributes
Friends
Detailed Description
Session is used to initialize the XR API.
See: SessionOptions
Public Functions Documentation
function Session
function ~Session
function Session
| Session(
Session && other
)
|
function operator=
| Session & operator=(
Session && other
)
|
function Session
| Session(
const Session &
) =delete
|
function operator=
| Session & operator=(
const Session &
) =delete
|
function handle
| inline KDGpu::Handle< Session_t > handle() const
|
Returns the handle used to retrieve the underlying XR API specific Session.
See: ResourceManager
Return: KDGpu::Handle
function isValid
| inline bool isValid() const
|
Convenience function to check whether the object is actually referencing a valid API specific resource.
function operator KDGpu::Handle< Session_t >
| inline operator KDGpu::Handle< Session_t >() const
|
function createReferenceSpace
| ReferenceSpace createReferenceSpace(
const ReferenceSpaceOptions & options =ReferenceSpaceOptions()
)
|
| std::span< const KDGpu::Format > supportedSwapchainFormats() const
|
| KDGpu::Format selectSwapchainFormat(
std::span< const KDGpu::Format > preferredFormats
) const
|
function createSwapchain
| Swapchain createSwapchain(
const SwapchainOptions & options
)
|
function setViewConfigurationType
| inline void setViewConfigurationType(
ViewConfigurationType viewConfigurationType
)
|
function viewConfigurationType
| inline ViewConfigurationType viewConfigurationType() const
|
function isActive
| inline bool isActive() const
|
function waitForFrame
| FrameState waitForFrame()
|
function beginFrame
| BeginFrameResult beginFrame()
|
function endFrame
| EndFrameResult endFrame(
const EndFrameOptions & options
)
|
function locateViews
| LocateViewsResult locateViews(
const LocateViewsOptions & options,
ViewState & viewState
)
|
function attachActionSets
| AttachActionSetsResult attachActionSets(
const AttachActionSetsOptions & options
)
|
function getInteractionProfile
| InteractionProfileState getInteractionProfile(
const GetInterationProfileOptions & options
) const
|
function syncActions
| SyncActionsResult syncActions(
const SyncActionsOptions & options
)
|
function createActionSpace
| ReferenceSpace createActionSpace(
const ActionSpaceOptions & options
)
|
function getBooleanState
| GetActionStateResult getBooleanState(
const GetActionStateOptions & options,
ActionStateBoolean & state
) const
|
function getFloatState
| GetActionStateResult getFloatState(
const GetActionStateOptions & options,
ActionStateFloat & state
) const
|
function getVector2State
| GetActionStateResult getVector2State(
const GetActionStateOptions & options,
ActionStateVector2 & state
) const
|
function getPoseState
| GetActionStateResult getPoseState(
const GetActionStateOptions & options,
ActionStatePose & state
) const
|
function vibrateOutput
| VibrateOutputResult vibrateOutput(
const VibrationOutputOptions & options
)
|
Public Attributes Documentation
variable state
| KDBindings::Property< SessionState > state { SessionState::Unknown };
|
variable running
| KDBindings::Property< bool > running { false };
|
variable autoRun
| KDBindings::Property< bool > autoRun { true };
|
Friends
friend System
| friend class System(
System
);
|
Updated on 2024-11-21 at 00:08:26 +0000