Top Description Inners Fields Constructors Methods
org.lwjgl.openxr

public Class XrTriangleMeshCreateInfoFB

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

The information to create a triangle mesh.
Description

Mesh buffers can be updated between TriangleMeshBeginUpdateFB and TriangleMeshEndUpdateFB calls.

If the mesh is non-mutable, vertexBuffer must be a pointer to an array of vertexCount XrVector3f structures. If the mesh is non-mutable, indexBuffer must be a pointer to an array of 3 * triangleCount uint32_t vertex indices.

Valid Usage (Implicit)
See Also

XrVector3f, CreateTriangleMeshFB

Layout


struct XrTriangleMeshCreateInfoFB {
    XrStructureType type;
    void const * next;
    XrTriangleMeshFlagsFB flags;
    XrWindingOrderFB windingOrder;
    uint32_t vertexCount;
    XrVector3f const * vertexBuffer;
    uint32_t triangleCount;
    uint32_t const * indexBuffer;
}

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
FLAGS

The struct member offsets.

public static final int
INDEXBUFFER

The struct member offsets.

public static final int
NEXT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
TRIANGLECOUNT

The struct member offsets.

public static final int
TYPE

The struct member offsets.

public static final int
VERTEXBUFFER

The struct member offsets.

public static final int
VERTEXCOUNT

The struct member offsets.

public static final int
WINDINGORDER

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

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

public
XrTriangleMeshCreateInfoFB(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static XrTriangleMeshCreateInfoFB
calloc()

Returns a new XrTriangleMeshCreateInfoFB instance allocated with memCalloc.

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

Returns a new XrTriangleMeshCreateInfoFB.Buffer instance allocated with memCalloc.

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

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

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

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

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

Returns a new XrTriangleMeshCreateInfoFB instance allocated with BufferUtils.

public static XrTriangleMeshCreateInfoFB
create(long address)

Returns a new XrTriangleMeshCreateInfoFB instance for the specified memory address.

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

Returns a new XrTriangleMeshCreateInfoFB.Buffer instance allocated with BufferUtils.

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

Create a XrTriangleMeshCreateInfoFB.Buffer instance at the specified memory.

public static XrTriangleMeshCreateInfoFB
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public long
flags()

a bitmask of XrTriangleMeshFlagBitsFB that specify behavior.

public XrTriangleMeshCreateInfoFB
flags(long value)

Sets the specified value to the flags field.

public IntBuffer

Returns:

the triangle indices. The size of the array must be triangleCount elements. When the mesh is mutable (({@code flags} & {@link FBTriangleMesh#XR_TRIANGLE_MESH_MUTABLE_BIT_FB TRIANGLE_MESH_MUTABLE_BIT_FB}) != 0), the indexBuffer parameter must be NULL and mesh data must be populated separately.
indexBuffer
(int
the number of elements in the returned buffer
capacity
)

public XrTriangleMeshCreateInfoFB
indexBuffer(IntBuffer value)

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

public static XrTriangleMeshCreateInfoFB
malloc()

Returns a new XrTriangleMeshCreateInfoFB instance allocated with memAlloc.

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

Returns a new XrTriangleMeshCreateInfoFB.Buffer instance allocated with memAlloc.

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

Returns a new XrTriangleMeshCreateInfoFB instance allocated on the specified MemoryStack.

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

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

public long
next()

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

public XrTriangleMeshCreateInfoFB
next(long value)

Sets the specified value to the next field.

public static long
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, long value)

Unsafe version of flags.

public static IntBuffer
nindexBuffer(long struct, int capacity)

Unsafe version of indexBuffer.

public static void
nindexBuffer(long struct, IntBuffer value)

Unsafe version of indexBuffer.

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

Unsafe version of triangleCount.

public static void
ntriangleCount(long struct, int value)

Unsafe version of triangleCount.

public static int
ntype(long struct)

Unsafe version of type.

public static void
ntype(long struct, int value)

Unsafe version of type.

public static XrVector3f
nvertexBuffer(long struct)

Unsafe version of vertexBuffer.

public static void
nvertexBuffer(long struct, XrVector3f value)

Unsafe version of vertexBuffer.

public static int
nvertexCount(long struct)

Unsafe version of vertexCount.

public static void
nvertexCount(long struct, int value)

Unsafe version of vertexCount.

public static int
nwindingOrder(long struct)

Unsafe version of windingOrder.

public static void
nwindingOrder(long struct, int value)

Unsafe version of windingOrder.

public XrTriangleMeshCreateInfoFB
set(int type, long next, long flags, int windingOrder, int vertexCount, XrVector3f vertexBuffer, int triangleCount, IntBuffer indexBuffer)

Initializes this struct with the specified values.

public XrTriangleMeshCreateInfoFB

Returns:

this struct
set
(XrTriangleMeshCreateInfoFB
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
triangleCount()

the number of triangles in the mesh.

public XrTriangleMeshCreateInfoFB
triangleCount(int value)

Sets the specified value to the triangleCount field.

public int
type()

the XrStructureType of this structure.

public XrTriangleMeshCreateInfoFB
type(int value)

Sets the specified value to the type field.

public XrTriangleMeshCreateInfoFB
type$Default()

Sets the TYPE_TRIANGLE_MESH_CREATE_INFO_FB value to the type field.

public XrVector3f
vertexBuffer()

a pointer to the vertex data.

public XrTriangleMeshCreateInfoFB
vertexBuffer(XrVector3f value)

Sets the address of the specified XrVector3f to the vertexBuffer field.

public int
vertexCount()

the number of vertices in the mesh.

public XrTriangleMeshCreateInfoFB
vertexCount(int value)

Sets the specified value to the vertexCount field.

public int
windingOrder()

the XrWindingOrderFB value defining the winding order of the mesh triangles.

public XrTriangleMeshCreateInfoFB
windingOrder(int value)

Sets the specified value to the windingOrder 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.

FLAGSback to summary
public static final int FLAGS

The struct member offsets.

INDEXBUFFERback to summary
public static final int INDEXBUFFER

The struct member offsets.

NEXTback to summary
public static final int NEXT

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

TRIANGLECOUNTback to summary
public static final int TRIANGLECOUNT

The struct member offsets.

TYPEback to summary
public static final int TYPE

The struct member offsets.

VERTEXBUFFERback to summary
public static final int VERTEXBUFFER

The struct member offsets.

VERTEXCOUNTback to summary
public static final int VERTEXCOUNT

The struct member offsets.

WINDINGORDERback to summary
public static final int WINDINGORDER

The struct member offsets.

Constructor Detail

XrTriangleMeshCreateInfoFBback to summary
protected XrTriangleMeshCreateInfoFB(long address, ByteBuffer container)
XrTriangleMeshCreateInfoFBback to summary
public XrTriangleMeshCreateInfoFB(ByteBuffer container)

Creates a XrTriangleMeshCreateInfoFB 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 XrTriangleMeshCreateInfoFB calloc()

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

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

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

Parameters
capacity:int

the buffer capacity

callocback to summary
public static XrTriangleMeshCreateInfoFB calloc(MemoryStack stack)

Returns a new XrTriangleMeshCreateInfoFB 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 XrTriangleMeshCreateInfoFB.Buffer calloc(int capacity, MemoryStack stack)

Returns a new XrTriangleMeshCreateInfoFB.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 XrTriangleMeshCreateInfoFB 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 XrTriangleMeshCreateInfoFB create()

Returns a new XrTriangleMeshCreateInfoFB instance allocated with BufferUtils.

createback to summary
public static XrTriangleMeshCreateInfoFB create(long address)

Returns a new XrTriangleMeshCreateInfoFB instance for the specified memory address.

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

Returns a new XrTriangleMeshCreateInfoFB.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

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

Create a XrTriangleMeshCreateInfoFB.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static XrTriangleMeshCreateInfoFB createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

Annotations
@Nullable
flagsback to summary
public long flags()

a bitmask of XrTriangleMeshFlagBitsFB that specify behavior.

Annotations
@NativeType:XrTriangleMeshFlagsFB
flagsback to summary
public XrTriangleMeshCreateInfoFB flags(long value)

Sets the specified value to the flags field.

indexBufferback to summary
public IntBuffer indexBuffer(int capacity)
Parameters
capacity:int

the number of elements in the returned buffer

Returns:IntBuffer

the triangle indices. The size of the array must be triangleCount elements. When the mesh is mutable (({@code flags} & {@link FBTriangleMesh#XR_TRIANGLE_MESH_MUTABLE_BIT_FB TRIANGLE_MESH_MUTABLE_BIT_FB}) != 0), the indexBuffer parameter must be NULL and mesh data must be populated separately.

Annotations
@Nullable
@NativeType:uint32_t const *
indexBufferback to summary
public XrTriangleMeshCreateInfoFB indexBuffer(IntBuffer value)

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

mallocback to summary
public static XrTriangleMeshCreateInfoFB malloc()

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

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

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

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static XrTriangleMeshCreateInfoFB malloc(MemoryStack stack)

Returns a new XrTriangleMeshCreateInfoFB instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

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

Returns a new XrTriangleMeshCreateInfoFB.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()

NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

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

Sets the specified value to the next field.

nflagsback to summary
public static long nflags(long struct)

Unsafe version of flags.

nflagsback to summary
public static void nflags(long struct, long value)

Unsafe version of flags.

nindexBufferback to summary
public static IntBuffer nindexBuffer(long struct, int capacity)

Unsafe version of indexBuffer.

Annotations
@Nullable
nindexBufferback to summary
public static void nindexBuffer(long struct, IntBuffer value)

Unsafe version of indexBuffer.

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.

ntriangleCountback to summary
public static int ntriangleCount(long struct)

Unsafe version of triangleCount.

ntriangleCountback to summary
public static void ntriangleCount(long struct, int value)

Unsafe version of triangleCount.

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.

nvertexBufferback to summary
public static XrVector3f nvertexBuffer(long struct)

Unsafe version of vertexBuffer.

Annotations
@Nullable
nvertexBufferback to summary
public static void nvertexBuffer(long struct, XrVector3f value)

Unsafe version of vertexBuffer.

nvertexCountback to summary
public static int nvertexCount(long struct)

Unsafe version of vertexCount.

nvertexCountback to summary
public static void nvertexCount(long struct, int value)

Unsafe version of vertexCount.

nwindingOrderback to summary
public static int nwindingOrder(long struct)

Unsafe version of windingOrder.

nwindingOrderback to summary
public static void nwindingOrder(long struct, int value)

Unsafe version of windingOrder.

setback to summary
public XrTriangleMeshCreateInfoFB set(int type, long next, long flags, int windingOrder, int vertexCount, XrVector3f vertexBuffer, int triangleCount, IntBuffer indexBuffer)

Initializes this struct with the specified values.

setback to summary
public XrTriangleMeshCreateInfoFB set(XrTriangleMeshCreateInfoFB src)

Copies the specified struct data to this struct.

Parameters
src:XrTriangleMeshCreateInfoFB

the source struct

Returns:XrTriangleMeshCreateInfoFB

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
triangleCountback to summary
public int triangleCount()

the number of triangles in the mesh. In the case of the mutable mesh, the value is treated as the maximum number of triangles the mesh will be able to represent at any time in its lifecycle. The actual number of triangles can vary and is defined when TriangleMeshEndUpdateFB is called.

Annotations
@NativeType:uint32_t
triangleCountback to summary
public XrTriangleMeshCreateInfoFB triangleCount(int value)

Sets the specified value to the triangleCount field.

typeback to summary
public int type()

the XrStructureType of this structure.

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

Sets the specified value to the type field.

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

Sets the TYPE_TRIANGLE_MESH_CREATE_INFO_FB value to the type field.

vertexBufferback to summary
public XrVector3f vertexBuffer()

a pointer to the vertex data. The size of the array must be vertexCount elements. When the mesh is mutable (({@code flags} & {@link FBTriangleMesh#XR_TRIANGLE_MESH_MUTABLE_BIT_FB TRIANGLE_MESH_MUTABLE_BIT_FB}) != 0), the vertexBuffer parameter must be NULL and mesh data must be populated separately.

Annotations
@Nullable
@NativeType:XrVector3f const *
vertexBufferback to summary
public XrTriangleMeshCreateInfoFB vertexBuffer(XrVector3f value)

Sets the address of the specified XrVector3f to the vertexBuffer field.

vertexCountback to summary
public int vertexCount()

the number of vertices in the mesh. In the case of the mutable mesh, the value is treated as the maximum number of vertices the mesh will be able to represent at any time in its lifecycle. The actual number of vertices can vary and is defined when TriangleMeshEndUpdateFB is called.

Annotations
@NativeType:uint32_t
vertexCountback to summary
public XrTriangleMeshCreateInfoFB vertexCount(int value)

Sets the specified value to the vertexCount field.

windingOrderback to summary
public int windingOrder()

the XrWindingOrderFB value defining the winding order of the mesh triangles.

Annotations
@NativeType:XrWindingOrderFB
windingOrderback to summary
public XrTriangleMeshCreateInfoFB windingOrder(int value)

Sets the specified value to the windingOrder field.

org.lwjgl.openxr back to summary

public Class XrTriangleMeshCreateInfoFB.Buffer

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

An array of XrTriangleMeshCreateInfoFB structs.

Field Summary

Modifier and TypeField and Description
private static final XrTriangleMeshCreateInfoFB

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new XrTriangleMeshCreateInfoFB.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 long

Returns:

the value of the XrTriangleMeshCreateInfoFB#flags field.
flags
()

public XrTriangleMeshCreateInfoFB.Buffer
flags(long value)

Sets the specified value to the XrTriangleMeshCreateInfoFB#flags field.

protected XrTriangleMeshCreateInfoFB
public IntBuffer

Returns:

a IntBuffer view of the data pointed to by the XrTriangleMeshCreateInfoFB#indexBuffer field.
indexBuffer
(int
the number of elements in the returned buffer
capacity
)

public XrTriangleMeshCreateInfoFB.Buffer
indexBuffer(IntBuffer value)

Sets the address of the specified IntBuffer to the XrTriangleMeshCreateInfoFB#indexBuffer field.

public long

Returns:

the value of the XrTriangleMeshCreateInfoFB#next field.
next
()

public XrTriangleMeshCreateInfoFB.Buffer
next(long value)

Sets the specified value to the XrTriangleMeshCreateInfoFB#next field.

protected XrTriangleMeshCreateInfoFB.Buffer
public int

Returns:

the value of the XrTriangleMeshCreateInfoFB#triangleCount field.
triangleCount
()

public XrTriangleMeshCreateInfoFB.Buffer
triangleCount(int value)

Sets the specified value to the XrTriangleMeshCreateInfoFB#triangleCount field.

public int

Returns:

the value of the XrTriangleMeshCreateInfoFB#type field.
type
()

public XrTriangleMeshCreateInfoFB.Buffer
type(int value)

Sets the specified value to the XrTriangleMeshCreateInfoFB#type field.

public XrTriangleMeshCreateInfoFB.Buffer
public XrVector3f

Returns:

a XrVector3f view of the struct pointed to by the XrTriangleMeshCreateInfoFB#vertexBuffer field.
vertexBuffer
()

public XrTriangleMeshCreateInfoFB.Buffer
vertexBuffer(XrVector3f value)

Sets the address of the specified XrVector3f to the XrTriangleMeshCreateInfoFB#vertexBuffer field.

public int

Returns:

the value of the XrTriangleMeshCreateInfoFB#vertexCount field.
vertexCount
()

public XrTriangleMeshCreateInfoFB.Buffer
vertexCount(int value)

Sets the specified value to the XrTriangleMeshCreateInfoFB#vertexCount field.

public int

Returns:

the value of the XrTriangleMeshCreateInfoFB#windingOrder field.
windingOrder
()

public XrTriangleMeshCreateInfoFB.Buffer
windingOrder(int value)

Sets the specified value to the XrTriangleMeshCreateInfoFB#windingOrder field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final XrTriangleMeshCreateInfoFB ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new XrTriangleMeshCreateInfoFB.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 XrTriangleMeshCreateInfoFB#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

flagsback to summary
public long flags()
Returns:long

the value of the XrTriangleMeshCreateInfoFB#flags field.

Annotations
@NativeType:XrTriangleMeshFlagsFB
flagsback to summary
public XrTriangleMeshCreateInfoFB.Buffer flags(long value)

Sets the specified value to the XrTriangleMeshCreateInfoFB#flags field.

getElementFactoryback to summary
protected XrTriangleMeshCreateInfoFB getElementFactory()

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

Annotations
@Override
indexBufferback to summary
public IntBuffer indexBuffer(int capacity)
Parameters
capacity:int

the number of elements in the returned buffer

Returns:IntBuffer

a IntBuffer view of the data pointed to by the XrTriangleMeshCreateInfoFB#indexBuffer field.

Annotations
@Nullable
@NativeType:uint32_t const *
indexBufferback to summary
public XrTriangleMeshCreateInfoFB.Buffer indexBuffer(IntBuffer value)

Sets the address of the specified IntBuffer to the XrTriangleMeshCreateInfoFB#indexBuffer field.

nextback to summary
public long next()
Returns:long

the value of the XrTriangleMeshCreateInfoFB#next field.

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

Sets the specified value to the XrTriangleMeshCreateInfoFB#next field.

selfback to summary
protected XrTriangleMeshCreateInfoFB.Buffer self()

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

Annotations
@Override
triangleCountback to summary
public int triangleCount()
Returns:int

the value of the XrTriangleMeshCreateInfoFB#triangleCount field.

Annotations
@NativeType:uint32_t
triangleCountback to summary
public XrTriangleMeshCreateInfoFB.Buffer triangleCount(int value)

Sets the specified value to the XrTriangleMeshCreateInfoFB#triangleCount field.

typeback to summary
public int type()
Returns:int

the value of the XrTriangleMeshCreateInfoFB#type field.

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

Sets the specified value to the XrTriangleMeshCreateInfoFB#type field.

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

Sets the TYPE_TRIANGLE_MESH_CREATE_INFO_FB value to the XrTriangleMeshCreateInfoFB#type field.

vertexBufferback to summary
public XrVector3f vertexBuffer()
Returns:XrVector3f

a XrVector3f view of the struct pointed to by the XrTriangleMeshCreateInfoFB#vertexBuffer field.

Annotations
@Nullable
@NativeType:XrVector3f const *
vertexBufferback to summary
public XrTriangleMeshCreateInfoFB.Buffer vertexBuffer(XrVector3f value)

Sets the address of the specified XrVector3f to the XrTriangleMeshCreateInfoFB#vertexBuffer field.

vertexCountback to summary
public int vertexCount()
Returns:int

the value of the XrTriangleMeshCreateInfoFB#vertexCount field.

Annotations
@NativeType:uint32_t
vertexCountback to summary
public XrTriangleMeshCreateInfoFB.Buffer vertexCount(int value)

Sets the specified value to the XrTriangleMeshCreateInfoFB#vertexCount field.

windingOrderback to summary
public int windingOrder()
Returns:int

the value of the XrTriangleMeshCreateInfoFB#windingOrder field.

Annotations
@NativeType:XrWindingOrderFB
windingOrderback to summary
public XrTriangleMeshCreateInfoFB.Buffer windingOrder(int value)

Sets the specified value to the XrTriangleMeshCreateInfoFB#windingOrder field.