Top Description Inners Fields Constructors Methods
org.lwjgl.openxr

public Class XrPlaneDetectorLocationEXT

extends Struct<XrPlaneDetectorLocationEXT>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Describes the location of a plane.
Valid Usage (Implicit)
See Also

XrExtent2Df, XrPlaneDetectorLocationsEXT, XrPosef, GetPlaneDetectionsEXT

Layout


struct XrPlaneDetectorLocationEXT {
    XrStructureType type;
    void * next;
    uint64_t planeId;
    XrSpaceLocationFlags locationFlags;
    XrPosef pose;
    XrExtent2Df extents;
    XrPlaneDetectorOrientationEXT orientation;
    XrPlaneDetectorSemanticTypeEXT semanticType;
    uint32_t polygonBufferCount;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
EXTENTS

The struct member offsets.

public static final int
LOCATIONFLAGS

The struct member offsets.

public static final int
NEXT

The struct member offsets.

public static final int
ORIENTATION

The struct member offsets.

public static final int
PLANEID

The struct member offsets.

public static final int
POLYGONBUFFERCOUNT

The struct member offsets.

public static final int
POSE

The struct member offsets.

public static final int
SEMANTICTYPE

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
TYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
XrPlaneDetectorLocationEXT(long address, ByteBuffer container)

public
XrPlaneDetectorLocationEXT(ByteBuffer container)

Creates a XrPlaneDetectorLocationEXT instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static XrPlaneDetectorLocationEXT
calloc()

Returns a new XrPlaneDetectorLocationEXT instance allocated with memCalloc.

public static XrPlaneDetectorLocationEXT.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new XrPlaneDetectorLocationEXT.Buffer instance allocated with memCalloc.

public static XrPlaneDetectorLocationEXT
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XrPlaneDetectorLocationEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static XrPlaneDetectorLocationEXT.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XrPlaneDetectorLocationEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected XrPlaneDetectorLocationEXT
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static XrPlaneDetectorLocationEXT
create()

Returns a new XrPlaneDetectorLocationEXT instance allocated with BufferUtils.

public static XrPlaneDetectorLocationEXT
create(long address)

Returns a new XrPlaneDetectorLocationEXT instance for the specified memory address.

public static XrPlaneDetectorLocationEXT.Buffer
create(int
the buffer capacity
capacity
)

Returns a new XrPlaneDetectorLocationEXT.Buffer instance allocated with BufferUtils.

public static XrPlaneDetectorLocationEXT.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a XrPlaneDetectorLocationEXT.Buffer instance at the specified memory.

public static XrPlaneDetectorLocationEXT
createSafe(long address)

Like create, but returns null if address is NULL.

public static XrPlaneDetectorLocationEXT.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public XrExtent2Df

Returns:

a XrExtent2Df view of the extents field.
extents
()

public XrPlaneDetectorLocationEXT
extents(XrExtent2Df value)

Copies the specified XrExtent2Df to the extents field.

public XrPlaneDetectorLocationEXT
extents(Consumer<XrExtent2Df> consumer)

Passes the extents field to the specified Consumer.

public long
locationFlags()

a bitfield, with bit masks defined in XrSpaceLocationFlagBits, to indicate which members contain valid data.

public XrPlaneDetectorLocationEXT
locationFlags(long value)

Sets the specified value to the locationFlags field.

public static XrPlaneDetectorLocationEXT
malloc()

Returns a new XrPlaneDetectorLocationEXT instance allocated with memAlloc.

public static XrPlaneDetectorLocationEXT.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new XrPlaneDetectorLocationEXT.Buffer instance allocated with memAlloc.

public static XrPlaneDetectorLocationEXT
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XrPlaneDetectorLocationEXT instance allocated on the specified MemoryStack.

public static XrPlaneDetectorLocationEXT.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XrPlaneDetectorLocationEXT.Buffer instance allocated on the specified MemoryStack.

public long

Returns:

the value of the next field.
next
()

public XrPlaneDetectorLocationEXT
next(long value)

Sets the specified value to the next field.

public static XrExtent2Df
nextents(long struct)

Unsafe version of extents.

public static void
nextents(long struct, XrExtent2Df value)

Unsafe version of extents.

public static long
nlocationFlags(long struct)

Unsafe version of locationFlags.

public static void
nlocationFlags(long struct, long value)

Unsafe version of locationFlags.

public static long
nnext(long struct)

Unsafe version of next.

public static void
nnext(long struct, long value)

Unsafe version of next.

public static int
norientation(long struct)

Unsafe version of orientation.

public static void
norientation(long struct, int value)

Unsafe version of orientation.

public static long
nplaneId(long struct)

Unsafe version of planeId.

public static void
nplaneId(long struct, long value)

Unsafe version of planeId.

public static int
npolygonBufferCount(long struct)

Unsafe version of polygonBufferCount.

public static void
npolygonBufferCount(long struct, int value)

Unsafe version of polygonBufferCount.

public static XrPosef
npose(long struct)

Unsafe version of pose.

public static void
npose(long struct, XrPosef value)

Unsafe version of pose.

public static int
nsemanticType(long struct)

Unsafe version of semanticType.

public static void
nsemanticType(long struct, int value)

Unsafe version of semanticType.

public static int
ntype(long struct)

Unsafe version of type.

public static void
ntype(long struct, int value)

Unsafe version of type.

public int
orientation()

the detected orientation of the plane.

public XrPlaneDetectorLocationEXT
orientation(int value)

Sets the specified value to the orientation field.

public long
planeId()

a uint64_t unique identifier of the plane.

public XrPlaneDetectorLocationEXT
planeId(long value)

Sets the specified value to the planeId field.

public int
polygonBufferCount()

the number of polygon buffers associated with this plane.

public XrPlaneDetectorLocationEXT
polygonBufferCount(int value)

Sets the specified value to the polygonBufferCount field.

public XrPosef
pose()

an XrPosef defining the position and orientation of the origin of a plane within the reference frame of the corresponding XrPlaneDetectorGetInfoEXT::baseSpace.

public XrPlaneDetectorLocationEXT
pose(XrPosef value)

Copies the specified XrPosef to the pose field.

public XrPlaneDetectorLocationEXT
pose(Consumer<XrPosef> consumer)

Passes the pose field to the specified Consumer.

public int
semanticType()

semanticType XrPlaneDetectorSemanticTypeEXT type of the plane.

public XrPlaneDetectorLocationEXT
semanticType(int value)

Sets the specified value to the semanticType field.

public XrPlaneDetectorLocationEXT
set(int type, long next, long planeId, long locationFlags, XrPosef pose, XrExtent2Df extents, int orientation, int semanticType, int polygonBufferCount)

Initializes this struct with the specified values.

public XrPlaneDetectorLocationEXT

Returns:

this struct
set
(XrPlaneDetectorLocationEXT
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int

Returns:

the value of the type field.
type
()

public XrPlaneDetectorLocationEXT
type(int value)

Sets the specified value to the type field.

public XrPlaneDetectorLocationEXT
type$Default()

Sets the TYPE_PLANE_DETECTOR_LOCATION_EXT value to the type field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

EXTENTSback to summary
public static final int EXTENTS

The struct member offsets.

LOCATIONFLAGSback to summary
public static final int LOCATIONFLAGS

The struct member offsets.

NEXTback to summary
public static final int NEXT

The struct member offsets.

ORIENTATIONback to summary
public static final int ORIENTATION

The struct member offsets.

PLANEIDback to summary
public static final int PLANEID

The struct member offsets.

POLYGONBUFFERCOUNTback to summary
public static final int POLYGONBUFFERCOUNT

The struct member offsets.

POSEback to summary
public static final int POSE

The struct member offsets.

SEMANTICTYPEback to summary
public static final int SEMANTICTYPE

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

TYPEback to summary
public static final int TYPE

The struct member offsets.

Constructor Detail

XrPlaneDetectorLocationEXTback to summary
protected XrPlaneDetectorLocationEXT(long address, ByteBuffer container)
XrPlaneDetectorLocationEXTback to summary
public XrPlaneDetectorLocationEXT(ByteBuffer container)

Creates a XrPlaneDetectorLocationEXT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

The created instance holds a strong reference to the container object.

Method Detail

callocback to summary
public static XrPlaneDetectorLocationEXT calloc()

Returns a new XrPlaneDetectorLocationEXT instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static XrPlaneDetectorLocationEXT.Buffer calloc(int capacity)

Returns a new XrPlaneDetectorLocationEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static XrPlaneDetectorLocationEXT calloc(MemoryStack stack)

Returns a new XrPlaneDetectorLocationEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static XrPlaneDetectorLocationEXT.Buffer calloc(int capacity, MemoryStack stack)

Returns a new XrPlaneDetectorLocationEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

createback to summary
protected XrPlaneDetectorLocationEXT create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static XrPlaneDetectorLocationEXT create()

Returns a new XrPlaneDetectorLocationEXT instance allocated with BufferUtils.

createback to summary
public static XrPlaneDetectorLocationEXT create(long address)

Returns a new XrPlaneDetectorLocationEXT instance for the specified memory address.

createback to summary
public static XrPlaneDetectorLocationEXT.Buffer create(int capacity)

Returns a new XrPlaneDetectorLocationEXT.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static XrPlaneDetectorLocationEXT.Buffer create(long address, int capacity)

Create a XrPlaneDetectorLocationEXT.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static XrPlaneDetectorLocationEXT createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static XrPlaneDetectorLocationEXT.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
extentsback to summary
public XrExtent2Df extents()
Returns:XrExtent2Df

a XrExtent2Df view of the extents field.

extentsback to summary
public XrPlaneDetectorLocationEXT extents(XrExtent2Df value)

Copies the specified XrExtent2Df to the extents field.

extentsback to summary
public XrPlaneDetectorLocationEXT extents(Consumer<XrExtent2Df> consumer)

Passes the extents field to the specified Consumer.

locationFlagsback to summary
public long locationFlags()

a bitfield, with bit masks defined in XrSpaceLocationFlagBits, to indicate which members contain valid data. If none of the bits are set, no other fields in this structure should be considered to be valid or meaningful.

Annotations
@NativeType:XrSpaceLocationFlags
locationFlagsback to summary
public XrPlaneDetectorLocationEXT locationFlags(long value)

Sets the specified value to the locationFlags field.

mallocback to summary
public static XrPlaneDetectorLocationEXT malloc()

Returns a new XrPlaneDetectorLocationEXT instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static XrPlaneDetectorLocationEXT.Buffer malloc(int capacity)

Returns a new XrPlaneDetectorLocationEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static XrPlaneDetectorLocationEXT malloc(MemoryStack stack)

Returns a new XrPlaneDetectorLocationEXT instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static XrPlaneDetectorLocationEXT.Buffer malloc(int capacity, MemoryStack stack)

Returns a new XrPlaneDetectorLocationEXT.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

nextback to summary
public long next()
Returns:long

the value of the next field.

Annotations
@NativeType:void *
nextback to summary
public XrPlaneDetectorLocationEXT next(long value)

Sets the specified value to the next field.

nextentsback to summary
public static XrExtent2Df nextents(long struct)

Unsafe version of extents.

nextentsback to summary
public static void nextents(long struct, XrExtent2Df value)

Unsafe version of extents.

nlocationFlagsback to summary
public static long nlocationFlags(long struct)

Unsafe version of locationFlags.

nlocationFlagsback to summary
public static void nlocationFlags(long struct, long value)

Unsafe version of locationFlags.

nnextback to summary
public static long nnext(long struct)

Unsafe version of next.

nnextback to summary
public static void nnext(long struct, long value)

Unsafe version of next.

norientationback to summary
public static int norientation(long struct)

Unsafe version of orientation.

norientationback to summary
public static void norientation(long struct, int value)

Unsafe version of orientation.

nplaneIdback to summary
public static long nplaneId(long struct)

Unsafe version of planeId.

nplaneIdback to summary
public static void nplaneId(long struct, long value)

Unsafe version of planeId.

npolygonBufferCountback to summary
public static int npolygonBufferCount(long struct)

Unsafe version of polygonBufferCount.

npolygonBufferCountback to summary
public static void npolygonBufferCount(long struct, int value)

Unsafe version of polygonBufferCount.

nposeback to summary
public static XrPosef npose(long struct)

Unsafe version of pose.

nposeback to summary
public static void npose(long struct, XrPosef value)

Unsafe version of pose.

nsemanticTypeback to summary
public static int nsemanticType(long struct)

Unsafe version of semanticType.

nsemanticTypeback to summary
public static void nsemanticType(long struct, int value)

Unsafe version of semanticType.

ntypeback to summary
public static int ntype(long struct)

Unsafe version of type.

ntypeback to summary
public static void ntype(long struct, int value)

Unsafe version of type.

orientationback to summary
public int orientation()

the detected orientation of the plane.

Annotations
@NativeType:XrPlaneDetectorOrientationEXT
orientationback to summary
public XrPlaneDetectorLocationEXT orientation(int value)

Sets the specified value to the orientation field.

planeIdback to summary
public long planeId()

a uint64_t unique identifier of the plane. The planeId should remain the same for the duration of the XrPlaneDetectorEXT handle for a physical plane. A runtime on occasion may assign a different id to the same physical plane, for example when several planes merge into one plane. planeId must remain valid until the next call to BeginPlaneDetectionEXT or DestroyPlaneDetectorEXT. This id is used by GetPlanePolygonBufferEXT.

Annotations
@NativeType:uint64_t
planeIdback to summary
public XrPlaneDetectorLocationEXT planeId(long value)

Sets the specified value to the planeId field.

polygonBufferCountback to summary
public int polygonBufferCount()

the number of polygon buffers associated with this plane. If this is zero no polygon buffer was generated. The first polygon buffer is always the outside contour. If contours are requested with PLANE_DETECTOR_ENABLE_CONTOUR_BIT_EXT this value must always be at least 1.

Annotations
@NativeType:uint32_t
polygonBufferCountback to summary
public XrPlaneDetectorLocationEXT polygonBufferCount(int value)

Sets the specified value to the polygonBufferCount field.

poseback to summary
public XrPosef pose()

an XrPosef defining the position and orientation of the origin of a plane within the reference frame of the corresponding XrPlaneDetectorGetInfoEXT::baseSpace.

poseback to summary
public XrPlaneDetectorLocationEXT pose(XrPosef value)

Copies the specified XrPosef to the pose field.

poseback to summary
public XrPlaneDetectorLocationEXT pose(Consumer<XrPosef> consumer)

Passes the pose field to the specified Consumer.

semanticTypeback to summary
public int semanticType()

semanticType XrPlaneDetectorSemanticTypeEXT type of the plane.

Annotations
@NativeType:XrPlaneDetectorSemanticTypeEXT
semanticTypeback to summary
public XrPlaneDetectorLocationEXT semanticType(int value)

Sets the specified value to the semanticType field.

setback to summary
public XrPlaneDetectorLocationEXT set(int type, long next, long planeId, long locationFlags, XrPosef pose, XrExtent2Df extents, int orientation, int semanticType, int polygonBufferCount)

Initializes this struct with the specified values.

setback to summary
public XrPlaneDetectorLocationEXT set(XrPlaneDetectorLocationEXT src)

Copies the specified struct data to this struct.

Parameters
src:XrPlaneDetectorLocationEXT

the source struct

Returns:XrPlaneDetectorLocationEXT

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
typeback to summary
public int type()
Returns:int

the value of the type field.

Annotations
@NativeType:XrStructureType
typeback to summary
public XrPlaneDetectorLocationEXT type(int value)

Sets the specified value to the type field.

type$Defaultback to summary
public XrPlaneDetectorLocationEXT type$Default()

Sets the TYPE_PLANE_DETECTOR_LOCATION_EXT value to the type field.

org.lwjgl.openxr back to summary

public Class XrPlaneDetectorLocationEXT.Buffer

extends StructBuffer<XrPlaneDetectorLocationEXT, XrPlaneDetectorLocationEXT.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of XrPlaneDetectorLocationEXT structs.

Field Summary

Modifier and TypeField and Description
private static final XrPlaneDetectorLocationEXT

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new XrPlaneDetectorLocationEXT.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public XrExtent2Df

Returns:

a XrExtent2Df view of the extents field.
extents
()

public XrPlaneDetectorLocationEXT.Buffer
extents(XrExtent2Df value)

Copies the specified XrExtent2Df to the extents field.

public XrPlaneDetectorLocationEXT.Buffer
extents(Consumer<XrExtent2Df> consumer)

Passes the extents field to the specified Consumer.

protected XrPlaneDetectorLocationEXT
public long

Returns:

the value of the XrPlaneDetectorLocationEXT#locationFlags field.
locationFlags
()

public XrPlaneDetectorLocationEXT.Buffer
locationFlags(long value)

Sets the specified value to the XrPlaneDetectorLocationEXT#locationFlags field.

public long

Returns:

the value of the next field.
next
()

public XrPlaneDetectorLocationEXT.Buffer
next(long value)

Sets the specified value to the next field.

public int

Returns:

the value of the XrPlaneDetectorLocationEXT#orientation field.
orientation
()

public XrPlaneDetectorLocationEXT.Buffer
orientation(int value)

Sets the specified value to the XrPlaneDetectorLocationEXT#orientation field.

public long

Returns:

the value of the XrPlaneDetectorLocationEXT#planeId field.
planeId
()

public XrPlaneDetectorLocationEXT.Buffer
planeId(long value)

Sets the specified value to the XrPlaneDetectorLocationEXT#planeId field.

public int
public XrPlaneDetectorLocationEXT.Buffer
polygonBufferCount(int value)

Sets the specified value to the XrPlaneDetectorLocationEXT#polygonBufferCount field.

public XrPosef

Returns:

a XrPosef view of the XrPlaneDetectorLocationEXT#pose field.
pose
()

public XrPlaneDetectorLocationEXT.Buffer
pose(XrPosef value)

Copies the specified XrPosef to the XrPlaneDetectorLocationEXT#pose field.

public XrPlaneDetectorLocationEXT.Buffer
pose(Consumer<XrPosef> consumer)

Passes the XrPlaneDetectorLocationEXT#pose field to the specified Consumer.

protected XrPlaneDetectorLocationEXT.Buffer
public int

Returns:

the value of the XrPlaneDetectorLocationEXT#semanticType field.
semanticType
()

public XrPlaneDetectorLocationEXT.Buffer
semanticType(int value)

Sets the specified value to the XrPlaneDetectorLocationEXT#semanticType field.

public int

Returns:

the value of the type field.
type
()

public XrPlaneDetectorLocationEXT.Buffer
type(int value)

Sets the specified value to the type field.

public XrPlaneDetectorLocationEXT.Buffer
type$Default()

Sets the TYPE_PLANE_DETECTOR_LOCATION_EXT value to the type field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final XrPlaneDetectorLocationEXT ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new XrPlaneDetectorLocationEXT.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by XrPlaneDetectorLocationEXT#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

extentsback to summary
public XrExtent2Df extents()
Returns:XrExtent2Df

a XrExtent2Df view of the extents field.

extentsback to summary
public XrPlaneDetectorLocationEXT.Buffer extents(XrExtent2Df value)

Copies the specified XrExtent2Df to the extents field.

extentsback to summary
public XrPlaneDetectorLocationEXT.Buffer extents(Consumer<XrExtent2Df> consumer)

Passes the extents field to the specified Consumer.

getElementFactoryback to summary
protected XrPlaneDetectorLocationEXT getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
locationFlagsback to summary
public long locationFlags()
Returns:long

the value of the XrPlaneDetectorLocationEXT#locationFlags field.

Annotations
@NativeType:XrSpaceLocationFlags
locationFlagsback to summary
public XrPlaneDetectorLocationEXT.Buffer locationFlags(long value)

Sets the specified value to the XrPlaneDetectorLocationEXT#locationFlags field.

nextback to summary
public long next()
Returns:long

the value of the next field.

Annotations
@NativeType:void *
nextback to summary
public XrPlaneDetectorLocationEXT.Buffer next(long value)

Sets the specified value to the next field.

orientationback to summary
public int orientation()
Returns:int

the value of the XrPlaneDetectorLocationEXT#orientation field.

Annotations
@NativeType:XrPlaneDetectorOrientationEXT
orientationback to summary
public XrPlaneDetectorLocationEXT.Buffer orientation(int value)

Sets the specified value to the XrPlaneDetectorLocationEXT#orientation field.

planeIdback to summary
public long planeId()
Returns:long

the value of the XrPlaneDetectorLocationEXT#planeId field.

Annotations
@NativeType:uint64_t
planeIdback to summary
public XrPlaneDetectorLocationEXT.Buffer planeId(long value)

Sets the specified value to the XrPlaneDetectorLocationEXT#planeId field.

polygonBufferCountback to summary
public int polygonBufferCount()
Returns:int

the value of the XrPlaneDetectorLocationEXT#polygonBufferCount field.

Annotations
@NativeType:uint32_t
polygonBufferCountback to summary
public XrPlaneDetectorLocationEXT.Buffer polygonBufferCount(int value)

Sets the specified value to the XrPlaneDetectorLocationEXT#polygonBufferCount field.

poseback to summary
public XrPosef pose()
Returns:XrPosef

a XrPosef view of the XrPlaneDetectorLocationEXT#pose field.

poseback to summary
public XrPlaneDetectorLocationEXT.Buffer pose(XrPosef value)

Copies the specified XrPosef to the XrPlaneDetectorLocationEXT#pose field.

poseback to summary
public XrPlaneDetectorLocationEXT.Buffer pose(Consumer<XrPosef> consumer)

Passes the XrPlaneDetectorLocationEXT#pose field to the specified Consumer.

selfback to summary
protected XrPlaneDetectorLocationEXT.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
semanticTypeback to summary
public int semanticType()
Returns:int

the value of the XrPlaneDetectorLocationEXT#semanticType field.

Annotations
@NativeType:XrPlaneDetectorSemanticTypeEXT
semanticTypeback to summary
public XrPlaneDetectorLocationEXT.Buffer semanticType(int value)

Sets the specified value to the XrPlaneDetectorLocationEXT#semanticType field.

typeback to summary
public int type()
Returns:int

the value of the type field.

Annotations
@NativeType:XrStructureType
typeback to summary
public XrPlaneDetectorLocationEXT.Buffer type(int value)

Sets the specified value to the type field.

type$Defaultback to summary
public XrPlaneDetectorLocationEXT.Buffer type$Default()

Sets the TYPE_PLANE_DETECTOR_LOCATION_EXT value to the type field.