Skip to content

KDXr

Classes

Name
class KDXr::Action
Action is used to initialize the XR API.
struct KDXr::ActionBindingSuggestion
struct KDXr::ActionOptions
Holds option fields used for Action creation.
class KDXr::ActionSet
ActionSet is used to initialize the XR API.
struct KDXr::ActionSetOptions
Holds option fields used for ActionSet creation.
struct KDXr::ActionSpaceOptions
struct KDXr::ActionStateBoolean
struct KDXr::ActionStateFloat
struct KDXr::ActionStatePose
struct KDXr::ActionStateVector2
struct KDXr::ActiveActionSet
struct KDXr::ApiAction
ApiAction.
struct KDXr::ApiActionSet
ApiActionSet.
struct KDXr::ApiInstance
ApiInstance.
struct KDXr::ApiLayer
struct KDXr::ApiReferenceSpace
ApiReferenceSpace.
struct KDXr::ApiSession
ApiSession.
struct KDXr::ApiSwapchain
ApiSwapchain.
struct KDXr::ApiSystem
ApiSystem.
struct KDXr::AttachActionSetsOptions
struct KDXr::CompositionLayer
struct KDXr::CubeLayer
struct KDXr::CylinderLayer
struct KDXr::DepthInfo
struct KDXr::EndFrameOptions
struct KDXr::Extension
struct KDXr::FieldOfView
struct KDXr::FrameState
struct KDXr::GetActionStateOptions
struct KDXr::GetInterationProfileOptions
struct KDXr::GraphicsRequirements
class KDXr::Instance
Instance is used to initialize the XR API.
struct KDXr::InstanceOptions
Holds option fields used for Instance creation.
struct KDXr::InstanceProperties
struct KDXr::InteractionProfileState
struct KDXr::LocateSpaceOptions
struct KDXr::LocateViewsOptions
class KDXr::Logger
struct KDXr::OpenXrAction
OpenXrAction.
struct KDXr::OpenXrActionSet
OpenXrActionSet.
class KDXr::OpenXrApi
OpenXRApi.
struct KDXr::OpenXrInstance
OpenXrInstance.
struct KDXr::OpenXrReferenceSpace
OpenXrReferenceSpace.
class KDXr::OpenXrResourceManager
OpenXrResourceManager.
struct KDXr::OpenXrSession
OpenXrSession.
struct KDXr::OpenXrSwapchain
OpenXrSwapchain.
struct KDXr::OpenXrSystem
OpenXrSystem.
struct KDXr::Pose
struct KDXr::ProjectionLayer
struct KDXr::ProjectionLayerView
struct KDXr::QuadLayer
struct KDXr::Quaternion
class KDXr::ReferenceSpace
ReferenceSpace is used to initialize the XR API.
struct KDXr::ReferenceSpaceOptions
Holds option fields used for ReferenceSpace creation.
class KDXr::ResourceManager
ResourceManager manages XR API resources.
class KDXr::Session
Session is used to initialize the XR API.
struct KDXr::SessionOptions
Holds option fields used for Session creation.
struct KDXr::SpaceState
struct KDXr::SuggestActionBindingsOptions
class KDXr::Swapchain
Swapchain is used to initialize the XR API.
struct KDXr::SwapchainInfo
struct KDXr::SwapchainOptions
Holds option fields used for Swapchain creation.
struct KDXr::SwapchainSubTexture
struct KDXr::SyncActionsOptions
class KDXr::System
System is used to initialize the XR API.
struct KDXr::SystemGraphicsProperties
struct KDXr::SystemOptions
Holds option fields used for System creation.
struct KDXr::SystemProperties
struct KDXr::SystemTrackingProperties
struct KDXr::Vector2
struct KDXr::Vector3
struct KDXr::VibrationOutputOptions
struct KDXr::View
struct KDXr::ViewConfigurationView
struct KDXr::ViewState
class KDXr::XrApi
XrApi is the link between our Application and the XR API.

Types

Name
enum class uint32_t CompositionLayerType { Projection = 0, Quad = 1, Cylinder = 2, Cube = 3, Equirect = 4, PassThrough = 5, MaxEnum = 0x7fffffff}

Functions

Name
XrFormFactor formFactorToXrFormFactor(FormFactor formFactor)
XrSwapchainUsageFlags swapchainUsageFlagsToXrSwapchainUsageFlags(SwapchainUsageFlags flags)
KDGpu::TextureUsageFlags kdxrSwapchainUsageFlagsToKDGpuTextureUsageFlags(SwapchainUsageFlags flags)
SessionState xrSessionStateToSessionState(XrSessionState state)
XrViewConfigurationType viewConfigurationTypeToXrViewConfigurationType(ViewConfigurationType type)
ViewStateFlags xrViewStateFlagsToViewStateFlags(XrViewStateFlags flags)
XrCompositionLayerFlags compositionLayerFlagsToXrCompositionLayerFlags(CompositionLayerFlags flags)
XrEnvironmentBlendMode environmentBlendModeToXrEnvironmentBlendMode(EnvironmentBlendMode mode)
XrEyeVisibility eyeVisibilityToXrEyeVisibility(EyeVisibility visibility)
XrActionType actionTypeToXrActionType(ActionType type)
SpaceStateFlags xrSpaceLocationFlagsToSpaceStateFlags(XrSpaceLocationFlags flags)
SpaceStateFlags xrSpaceVelocityFlagsToSpaceStateFlags(XrSpaceVelocityFlags flags)
std::string getSessionStateAsString(SessionState state)
std::string getVersionAsString(uint64_t version)
template <class T >
void
hash_combine(uint64_t & seed, const T & v)

Types Documentation

enum CompositionLayerType

Enumerator Value Description
Projection 0
Quad 1
Cylinder 2
Cube 3
Equirect 4
PassThrough 5
MaxEnum 0x7fffffff

Functions Documentation

function formFactorToXrFormFactor

1
2
3
XrFormFactor formFactorToXrFormFactor(
    FormFactor formFactor
)

function swapchainUsageFlagsToXrSwapchainUsageFlags

1
2
3
XrSwapchainUsageFlags swapchainUsageFlagsToXrSwapchainUsageFlags(
    SwapchainUsageFlags flags
)

function kdxrSwapchainUsageFlagsToKDGpuTextureUsageFlags

1
2
3
KDGpu::TextureUsageFlags kdxrSwapchainUsageFlagsToKDGpuTextureUsageFlags(
    SwapchainUsageFlags flags
)

function xrSessionStateToSessionState

1
2
3
SessionState xrSessionStateToSessionState(
    XrSessionState state
)

function viewConfigurationTypeToXrViewConfigurationType

1
2
3
XrViewConfigurationType viewConfigurationTypeToXrViewConfigurationType(
    ViewConfigurationType type
)

function xrViewStateFlagsToViewStateFlags

1
2
3
ViewStateFlags xrViewStateFlagsToViewStateFlags(
    XrViewStateFlags flags
)

function compositionLayerFlagsToXrCompositionLayerFlags

1
2
3
XrCompositionLayerFlags compositionLayerFlagsToXrCompositionLayerFlags(
    CompositionLayerFlags flags
)

function environmentBlendModeToXrEnvironmentBlendMode

1
2
3
XrEnvironmentBlendMode environmentBlendModeToXrEnvironmentBlendMode(
    EnvironmentBlendMode mode
)

function eyeVisibilityToXrEyeVisibility

1
2
3
XrEyeVisibility eyeVisibilityToXrEyeVisibility(
    EyeVisibility visibility
)

function actionTypeToXrActionType

1
2
3
XrActionType actionTypeToXrActionType(
    ActionType type
)

function xrSpaceLocationFlagsToSpaceStateFlags

1
2
3
SpaceStateFlags xrSpaceLocationFlagsToSpaceStateFlags(
    XrSpaceLocationFlags flags
)

function xrSpaceVelocityFlagsToSpaceStateFlags

1
2
3
SpaceStateFlags xrSpaceVelocityFlagsToSpaceStateFlags(
    XrSpaceVelocityFlags flags
)

function getSessionStateAsString

1
2
3
inline std::string getSessionStateAsString(
    SessionState state
)

function getVersionAsString

1
2
3
inline std::string getVersionAsString(
    uint64_t version
)

function hash_combine

1
2
3
4
5
template <class T >
inline void hash_combine(
    uint64_t & seed,
    const T & v
)

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