Top Description Inners Fields Constructors Methods
org.lwjgl.openxr

public Class XrPlaneDetectorBeginInfoEXT

extends Struct<XrPlaneDetectorBeginInfoEXT>
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 information to detect planes.
Valid Usage (Implicit)
See Also

XrExtent3DfEXT, XrPosef, BeginPlaneDetectionEXT

Layout


struct XrPlaneDetectorBeginInfoEXT {
    XrStructureType type;
    void const * next;
    XrSpace baseSpace;
    XrTime time;
    uint32_t orientationCount;
    XrPlaneDetectorOrientationEXT const * orientations;
    uint32_t semanticTypeCount;
    XrPlaneDetectorSemanticTypeEXT const * semanticTypes;
    uint32_t maxPlanes;
    float minArea;
    XrPosef boundingBoxPose;
    XrExtent3DfEXT boundingBoxExtent;
}

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
BASESPACE

The struct member offsets.

public static final int
BOUNDINGBOXEXTENT

The struct member offsets.

public static final int
BOUNDINGBOXPOSE

The struct member offsets.

public static final int
MAXPLANES

The struct member offsets.

public static final int
MINAREA

The struct member offsets.

public static final int
NEXT

The struct member offsets.

public static final int
ORIENTATIONCOUNT

The struct member offsets.

public static final int
ORIENTATIONS

The struct member offsets.

public static final int
SEMANTICTYPECOUNT

The struct member offsets.

public static final int
SEMANTICTYPES

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
TIME

The struct member offsets.

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
XrPlaneDetectorBeginInfoEXT(long address, ByteBuffer container)

public
XrPlaneDetectorBeginInfoEXT(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public long
baseSpace()

the XrSpace that the boundingBox is defined in.

public XrPlaneDetectorBeginInfoEXT
baseSpace(XrSpace value)

Sets the specified value to the baseSpace field.

public XrExtent3DfEXT
boundingBoxExtent()

the extent of the bounding box to use for detection.

public XrPlaneDetectorBeginInfoEXT
boundingBoxExtent(XrExtent3DfEXT value)

Copies the specified XrExtent3DfEXT to the boundingBoxExtent field.

public XrPlaneDetectorBeginInfoEXT
boundingBoxExtent(Consumer<XrExtent3DfEXT> consumer)

Passes the boundingBoxExtent field to the specified Consumer.

public XrPosef
boundingBoxPose()

the pose of the center of the bounding box of the volume to use for detection in baseSpace.

public XrPlaneDetectorBeginInfoEXT
boundingBoxPose(XrPosef value)

Copies the specified XrPosef to the boundingBoxPose field.

public XrPlaneDetectorBeginInfoEXT
boundingBoxPose(Consumer<XrPosef> consumer)

Passes the boundingBoxPose field to the specified Consumer.

public static XrPlaneDetectorBeginInfoEXT
calloc()

Returns a new XrPlaneDetectorBeginInfoEXT instance allocated with memCalloc.

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

Returns a new XrPlaneDetectorBeginInfoEXT.Buffer instance allocated with memCalloc.

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

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

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

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

protected XrPlaneDetectorBeginInfoEXT
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 XrPlaneDetectorBeginInfoEXT
create()

Returns a new XrPlaneDetectorBeginInfoEXT instance allocated with BufferUtils.

public static XrPlaneDetectorBeginInfoEXT
create(long address)

Returns a new XrPlaneDetectorBeginInfoEXT instance for the specified memory address.

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

Returns a new XrPlaneDetectorBeginInfoEXT.Buffer instance allocated with BufferUtils.

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

Create a XrPlaneDetectorBeginInfoEXT.Buffer instance at the specified memory.

public static XrPlaneDetectorBeginInfoEXT
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public static XrPlaneDetectorBeginInfoEXT
malloc()

Returns a new XrPlaneDetectorBeginInfoEXT instance allocated with memAlloc.

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

Returns a new XrPlaneDetectorBeginInfoEXT.Buffer instance allocated with memAlloc.

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

Returns a new XrPlaneDetectorBeginInfoEXT instance allocated on the specified MemoryStack.

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

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

public int
maxPlanes()

the maximum number of planes the runtime may return.

public XrPlaneDetectorBeginInfoEXT
maxPlanes(int value)

Sets the specified value to the maxPlanes field.

public float
minArea()

the minimum area in square meters a plane must have to be returned.

public XrPlaneDetectorBeginInfoEXT
minArea(float value)

Sets the specified value to the minArea field.

public static long
nbaseSpace(long struct)

Unsafe version of baseSpace.

public static void
nbaseSpace(long struct, XrSpace value)

Unsafe version of baseSpace.

public static XrExtent3DfEXT
nboundingBoxExtent(long struct)

Unsafe version of boundingBoxExtent.

public static void
nboundingBoxExtent(long struct, XrExtent3DfEXT value)

Unsafe version of boundingBoxExtent.

public static XrPosef
nboundingBoxPose(long struct)

Unsafe version of boundingBoxPose.

public static void
nboundingBoxPose(long struct, XrPosef value)

Unsafe version of boundingBoxPose.

public long
next()

NULL or a pointer to the next structure in a structure chain.

public XrPlaneDetectorBeginInfoEXT
next(long value)

Sets the specified value to the next field.

public static int
nmaxPlanes(long struct)

Unsafe version of maxPlanes.

public static void
nmaxPlanes(long struct, int value)

Unsafe version of maxPlanes.

public static float
nminArea(long struct)

Unsafe version of minArea.

public static void
nminArea(long struct, float value)

Unsafe version of minArea.

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
norientationCount(long struct)

Unsafe version of orientationCount.

public static void
norientationCount(long struct, int value)

Sets the specified value to the orientationCount field of the specified struct.

public static IntBuffer
norientations(long struct)

Unsafe version of orientations.

public static void
norientations(long struct, IntBuffer value)

Unsafe version of orientations.

public static int
nsemanticTypeCount(long struct)

Unsafe version of semanticTypeCount.

public static void
nsemanticTypeCount(long struct, int value)

Sets the specified value to the semanticTypeCount field of the specified struct.

public static IntBuffer
nsemanticTypes(long struct)

Unsafe version of semanticTypes.

public static void
nsemanticTypes(long struct, IntBuffer value)

Unsafe version of semanticTypes.

public static long
ntime(long struct)

Unsafe version of time.

public static void
ntime(long struct, long value)

Unsafe version of time.

public static int
ntype(long struct)

Unsafe version of type.

public static void
ntype(long struct, int value)

Unsafe version of type.

public int
orientationCount()

the number of elements in the orientations.

public XrPlaneDetectorBeginInfoEXT
orientationCount(int value)

Sets the specified value to the orientationCount field.

public IntBuffer
orientations()

an array of XrPlaneDetectorOrientationEXT.

public XrPlaneDetectorBeginInfoEXT
orientations(IntBuffer value)

Sets the address of the specified IntBuffer to the orientations field.

public int
semanticTypeCount()

the number of elements in the semanticTypes.

public XrPlaneDetectorBeginInfoEXT
semanticTypeCount(int value)

Sets the specified value to the semanticTypeCount field.

public IntBuffer
semanticTypes()

an array of XrPlaneDetectorSemanticTypeEXT.

public XrPlaneDetectorBeginInfoEXT
semanticTypes(IntBuffer value)

Sets the address of the specified IntBuffer to the semanticTypes field.

public XrPlaneDetectorBeginInfoEXT
set(int type, long next, XrSpace baseSpace, long time, int orientationCount, IntBuffer orientations, int semanticTypeCount, IntBuffer semanticTypes, int maxPlanes, float minArea, XrPosef boundingBoxPose, XrExtent3DfEXT boundingBoxExtent)

Initializes this struct with the specified values.

public XrPlaneDetectorBeginInfoEXT

Returns:

this struct
set
(XrPlaneDetectorBeginInfoEXT
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 long
time()

an XrTime at which to detect the planes.

public XrPlaneDetectorBeginInfoEXT
time(long value)

Sets the specified value to the time field.

public int
type()

the XrStructureType of this structure.

public XrPlaneDetectorBeginInfoEXT
type(int value)

Sets the specified value to the type field.

public XrPlaneDetectorBeginInfoEXT
public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate