Skip to content

KDXr::ApiSession

Module: API

ApiSession.

#include <api_session.h>

Inherited by KDXr::OpenXrSession

Public Functions

Name
virtual void initialize(Session * frontendSession) =0
virtual std::vector< KDGpu::Format > supportedSwapchainFormats() const =0
virtual FrameState waitForFrame() =0
virtual BeginFrameResult beginFrame() =0
virtual EndFrameResult endFrame(const EndFrameOptions & options) =0
virtual LocateViewsResult locateViews(const LocateViewsOptions & options, ViewConfigurationType viewConfigurationType, ViewState & viewState) =0
virtual AttachActionSetsResult attachActionSets(const AttachActionSetsOptions & options) =0
virtual InteractionProfileState getInteractionProfile(const GetInterationProfileOptions & options) const =0
virtual SyncActionsResult syncActions(const SyncActionsOptions & options) =0
virtual GetActionStateResult getBooleanState(const GetActionStateOptions & options, ActionStateBoolean & state) const =0
virtual GetActionStateResult getFloatState(const GetActionStateOptions & options, ActionStateFloat & state) const =0
virtual GetActionStateResult getVector2State(const GetActionStateOptions & options, ActionStateVector2 & state) const =0
virtual GetActionStateResult getPoseState(const GetActionStateOptions & options, ActionStatePose & state) const =0
virtual VibrateOutputResult vibrateOutput(const VibrationOutputOptions & options) =0

Public Functions Documentation

function initialize

1
2
3
virtual void initialize(
    Session * frontendSession
) =0

Reimplemented by: KDXr::OpenXrSession::initialize

function supportedSwapchainFormats

1
virtual std::vector< KDGpu::Format > supportedSwapchainFormats() const =0

Reimplemented by: KDXr::OpenXrSession::supportedSwapchainFormats

function waitForFrame

1
virtual FrameState waitForFrame() =0

Reimplemented by: KDXr::OpenXrSession::waitForFrame

function beginFrame

1
virtual BeginFrameResult beginFrame() =0

Reimplemented by: KDXr::OpenXrSession::beginFrame

function endFrame

1
2
3
virtual EndFrameResult endFrame(
    const EndFrameOptions & options
) =0

Reimplemented by: KDXr::OpenXrSession::endFrame

function locateViews

1
2
3
4
5
virtual LocateViewsResult locateViews(
    const LocateViewsOptions & options,
    ViewConfigurationType viewConfigurationType,
    ViewState & viewState
) =0

Reimplemented by: KDXr::OpenXrSession::locateViews

function attachActionSets

1
2
3
virtual AttachActionSetsResult attachActionSets(
    const AttachActionSetsOptions & options
) =0

Reimplemented by: KDXr::OpenXrSession::attachActionSets

function getInteractionProfile

1
2
3
virtual InteractionProfileState getInteractionProfile(
    const GetInterationProfileOptions & options
) const =0

Reimplemented by: KDXr::OpenXrSession::getInteractionProfile

function syncActions

1
2
3
virtual SyncActionsResult syncActions(
    const SyncActionsOptions & options
) =0

Reimplemented by: KDXr::OpenXrSession::syncActions

function getBooleanState

1
2
3
4
virtual GetActionStateResult getBooleanState(
    const GetActionStateOptions & options,
    ActionStateBoolean & state
) const =0

Reimplemented by: KDXr::OpenXrSession::getBooleanState

function getFloatState

1
2
3
4
virtual GetActionStateResult getFloatState(
    const GetActionStateOptions & options,
    ActionStateFloat & state
) const =0

Reimplemented by: KDXr::OpenXrSession::getFloatState

function getVector2State

1
2
3
4
virtual GetActionStateResult getVector2State(
    const GetActionStateOptions & options,
    ActionStateVector2 & state
) const =0

Reimplemented by: KDXr::OpenXrSession::getVector2State

function getPoseState

1
2
3
4
virtual GetActionStateResult getPoseState(
    const GetActionStateOptions & options,
    ActionStatePose & state
) const =0

Reimplemented by: KDXr::OpenXrSession::getPoseState

function vibrateOutput

1
2
3
virtual VibrateOutputResult vibrateOutput(
    const VibrationOutputOptions & options
) =0

Reimplemented by: KDXr::OpenXrSession::vibrateOutput


Updated on 2024-11-25 at 00:15:04 +0000