Skip to content

KDXr::ReferenceSpace

Module: Public API

ReferenceSpace is used to initialize the XR API. More...

#include <KDXr/reference_space.h>

Public Functions

Name
ReferenceSpace()
~ReferenceSpace()
ReferenceSpace(ReferenceSpace && other)
ReferenceSpace & operator=(ReferenceSpace && other)
ReferenceSpace(const ReferenceSpace & ) =delete
ReferenceSpace & operator=(const ReferenceSpace & ) =delete
KDGpu::Handle< ReferenceSpace_t > handle() const
Returns the handle used to retrieve the underlying XR API specific ReferenceSpace.
bool isValid() const
Convenience function to check whether the object is actually referencing a valid API specific resource.
operator KDGpu::Handle< ReferenceSpace_t >() const
LocateSpaceResult locateSpace(const LocateSpaceOptions & options, SpaceState & state) const

Friends

Name
class Session

Detailed Description

1
class KDXr::ReferenceSpace;

ReferenceSpace is used to initialize the XR API.

See: ReferenceSpaceOptions

Public Functions Documentation

function ReferenceSpace

1
ReferenceSpace()

function ~ReferenceSpace

1
~ReferenceSpace()

function ReferenceSpace

1
2
3
ReferenceSpace(
    ReferenceSpace && other
)

function operator=

1
2
3
ReferenceSpace & operator=(
    ReferenceSpace && other
)

function ReferenceSpace

1
2
3
ReferenceSpace(
    const ReferenceSpace & 
) =delete

function operator=

1
2
3
ReferenceSpace & operator=(
    const ReferenceSpace & 
) =delete

function handle

1
inline KDGpu::Handle< ReferenceSpace_t > handle() const

Returns the handle used to retrieve the underlying XR API specific ReferenceSpace.

See: ResourceManager

Return: KDGpu::Handle

function isValid

1
inline bool isValid() const

Convenience function to check whether the object is actually referencing a valid API specific resource.

function operator KDGpu::Handle< ReferenceSpace_t >

1
inline operator KDGpu::Handle< ReferenceSpace_t >() const

function locateSpace

1
2
3
4
LocateSpaceResult locateSpace(
    const LocateSpaceOptions & options,
    SpaceState & state
) const

Friends

friend Session

1
2
3
friend class Session(
    Session 
);

Updated on 2024-12-15 at 00:01:56 +0000