Package org.lwjgl.openxr
Class XrSceneMeshIndicesUint32MSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSceneMeshIndicesUint32MSFT,XrSceneMeshIndicesUint32MSFT.Buffer>
-
- org.lwjgl.openxr.XrSceneMeshIndicesUint32MSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSceneMeshIndicesUint32MSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSceneMeshIndicesUint32MSFT
public static class XrSceneMeshIndicesUint32MSFT.Buffer extends org.lwjgl.system.StructBuffer<XrSceneMeshIndicesUint32MSFT,XrSceneMeshIndicesUint32MSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSceneMeshIndicesUint32MSFTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSceneMeshIndicesUint32MSFT.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 byXrSceneMeshIndicesUint32MSFT.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
XrSceneMeshIndicesUint32MSFT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrSceneMeshIndicesUint32MSFT.next()field.
-
indexCapacityInput
public int indexCapacityInput()
- Returns:
- the value of the
XrSceneMeshIndicesUint32MSFT.indexCapacityInput()field.
-
indexCountOutput
public int indexCountOutput()
- Returns:
- the value of the
XrSceneMeshIndicesUint32MSFT.indexCountOutput()field.
-
indices
@Nullable public java.nio.IntBuffer indices()
- Returns:
- a
IntBufferview of the data pointed to by theXrSceneMeshIndicesUint32MSFT.indices()field.
-
type
public XrSceneMeshIndicesUint32MSFT.Buffer type(int value)
Sets the specified value to theXrSceneMeshIndicesUint32MSFT.type()field.
-
type$Default
public XrSceneMeshIndicesUint32MSFT.Buffer type$Default()
Sets theTYPE_SCENE_MESH_INDICES_UINT32_MSFTvalue to theXrSceneMeshIndicesUint32MSFT.type()field.
-
next
public XrSceneMeshIndicesUint32MSFT.Buffer next(long value)
Sets the specified value to theXrSceneMeshIndicesUint32MSFT.next()field.
-
indexCapacityInput
public XrSceneMeshIndicesUint32MSFT.Buffer indexCapacityInput(int value)
Sets the specified value to theXrSceneMeshIndicesUint32MSFT.indexCapacityInput()field.
-
indexCountOutput
public XrSceneMeshIndicesUint32MSFT.Buffer indexCountOutput(int value)
Sets the specified value to theXrSceneMeshIndicesUint32MSFT.indexCountOutput()field.
-
indices
public XrSceneMeshIndicesUint32MSFT.Buffer indices(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theXrSceneMeshIndicesUint32MSFT.indices()field.
-
-