Package org.lwjgl.openxr
Class XrSceneMeshIndicesUint16MSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSceneMeshIndicesUint16MSFT,XrSceneMeshIndicesUint16MSFT.Buffer>
-
- org.lwjgl.openxr.XrSceneMeshIndicesUint16MSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSceneMeshIndicesUint16MSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSceneMeshIndicesUint16MSFT
public static class XrSceneMeshIndicesUint16MSFT.Buffer extends org.lwjgl.system.StructBuffer<XrSceneMeshIndicesUint16MSFT,XrSceneMeshIndicesUint16MSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSceneMeshIndicesUint16MSFTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSceneMeshIndicesUint16MSFT.Bufferinstance 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 byXrSceneMeshIndicesUint16MSFT.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
type
public int type()
- Returns:
- the value of the
XrSceneMeshIndicesUint16MSFT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrSceneMeshIndicesUint16MSFT.next()field.
-
indexCapacityInput
public int indexCapacityInput()
- Returns:
- the value of the
XrSceneMeshIndicesUint16MSFT.indexCapacityInput()field.
-
indexCountOutput
public int indexCountOutput()
- Returns:
- the value of the
XrSceneMeshIndicesUint16MSFT.indexCountOutput()field.
-
indices
@Nullable public java.nio.ShortBuffer indices()
- Returns:
- a
ShortBufferview of the data pointed to by theXrSceneMeshIndicesUint16MSFT.indices()field.
-
type
public XrSceneMeshIndicesUint16MSFT.Buffer type(int value)
Sets the specified value to theXrSceneMeshIndicesUint16MSFT.type()field.
-
type$Default
public XrSceneMeshIndicesUint16MSFT.Buffer type$Default()
Sets theTYPE_SCENE_MESH_INDICES_UINT16_MSFTvalue to theXrSceneMeshIndicesUint16MSFT.type()field.
-
next
public XrSceneMeshIndicesUint16MSFT.Buffer next(long value)
Sets the specified value to theXrSceneMeshIndicesUint16MSFT.next()field.
-
indexCapacityInput
public XrSceneMeshIndicesUint16MSFT.Buffer indexCapacityInput(int value)
Sets the specified value to theXrSceneMeshIndicesUint16MSFT.indexCapacityInput()field.
-
indexCountOutput
public XrSceneMeshIndicesUint16MSFT.Buffer indexCountOutput(int value)
Sets the specified value to theXrSceneMeshIndicesUint16MSFT.indexCountOutput()field.
-
indices
public XrSceneMeshIndicesUint16MSFT.Buffer indices(@Nullable java.nio.ShortBuffer value)
Sets the address of the specifiedShortBufferto theXrSceneMeshIndicesUint16MSFT.indices()field.
-
-