Struct XrSpatialBufferGetInfoEXT
Represents the information necessary to get the contents of a XrSpatialBufferEXT.
Provided by XR_EXT_spatial_entity
.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public readonly struct XrSpatialBufferGetInfoEXT
Remarks
Warning
Don't initialize this struct with the default parameterless constructor. Use a constructor with parameters to ensure that type is correctly initialized to SpatialBufferGetInfoEXT.
Constructors
XrSpatialBufferGetInfoEXT(ulong)
Construct an instance with a null
next pointer.
Declaration
public XrSpatialBufferGetInfoEXT(ulong bufferId)
Parameters
Type | Name | Description |
---|---|---|
ulong | bufferId | The buffer ID. |
XrSpatialBufferGetInfoEXT(void*, ulong)
Construct an instance.
Declaration
public XrSpatialBufferGetInfoEXT(void* next, ulong bufferId)
Parameters
Type | Name | Description |
---|---|---|
void* | next | The next pointer. |
ulong | bufferId | The buffer ID. |
Properties
bufferId
The ID of the buffer whose data to retrieve.
Declaration
public ulong bufferId { get; }
Property Value
Type | Description |
---|---|
ulong |
next
null
or a pointer to the next structure in a structure chain.
Declaration
public void* next { get; }
Property Value
Type | Description |
---|---|
void* |
type
The XrStructureType
of this struct: SpatialBufferGetInfoEXT.
Declaration
public XrStructureType type { get; }
Property Value
Type | Description |
---|---|
XrStructureType |