Skip to content

OpenXRStructureBase

Inherits: RefCounted < Object

Inherited by: OpenXRSpatialContextPersistenceConfig

Object for storing OpenXR structure data.

Object for storing OpenXR structure data that is passed when calling into OpenXR APIs.

Type Name Default
OpenXRStructureBase next
Returns Method
int _get_header(next: int) virtual
int get_header(next: int)
int get_structure_type()

next

OpenXRStructureBase next

Setting another structure object here chains these structures together to extend the API functionality. Consult the OpenXR documentation for which structures can be used with a given API call.

_get_header

int _get_header(next: int) virtual

get_header

int get_header(next: int)

Returns the structure pointer (any OpenXR structure that has an XrStructureType) used for this structure. The pointer is valid as long as the instance exists.

get_structure_type

int get_structure_type()

Returns the structure type (OpenXR XrStructureType) used for this structure.