Package org.lwjgl.openxr
Class XrHandMeshVertexBufferMSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrHandMeshVertexBufferMSFT,XrHandMeshVertexBufferMSFT.Buffer>
-
- org.lwjgl.openxr.XrHandMeshVertexBufferMSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrHandMeshVertexBufferMSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrHandMeshVertexBufferMSFT
public static class XrHandMeshVertexBufferMSFT.Buffer extends org.lwjgl.system.StructBuffer<XrHandMeshVertexBufferMSFT,XrHandMeshVertexBufferMSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrHandMeshVertexBufferMSFTstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intvertexCapacityInput()intvertexCountOutput()XrHandMeshVertexBufferMSFT.BuffervertexCountOutput(int value)Sets the specified value to theXrHandMeshVertexBufferMSFT.vertexCountOutput()field.longvertexUpdateTime()XrHandMeshVertexBufferMSFT.BuffervertexUpdateTime(long value)Sets the specified value to theXrHandMeshVertexBufferMSFT.vertexUpdateTime()field.XrHandMeshVertexMSFT.Buffervertices()XrHandMeshVertexBufferMSFT.Buffervertices(XrHandMeshVertexMSFT.Buffer value)Sets the address of the specifiedXrHandMeshVertexMSFT.Bufferto theXrHandMeshVertexBufferMSFT.vertices()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrHandMeshVertexBufferMSFT.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 byXrHandMeshVertexBufferMSFT.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
-
vertexUpdateTime
public long vertexUpdateTime()
- Returns:
- the value of the
XrHandMeshVertexBufferMSFT.vertexUpdateTime()field.
-
vertexCapacityInput
public int vertexCapacityInput()
- Returns:
- the value of the
XrHandMeshVertexBufferMSFT.vertexCapacityInput()field.
-
vertexCountOutput
public int vertexCountOutput()
- Returns:
- the value of the
XrHandMeshVertexBufferMSFT.vertexCountOutput()field.
-
vertices
public XrHandMeshVertexMSFT.Buffer vertices()
- Returns:
- a
XrHandMeshVertexMSFT.Bufferview of the struct array pointed to by theXrHandMeshVertexBufferMSFT.vertices()field.
-
vertexUpdateTime
public XrHandMeshVertexBufferMSFT.Buffer vertexUpdateTime(long value)
Sets the specified value to theXrHandMeshVertexBufferMSFT.vertexUpdateTime()field.
-
vertexCountOutput
public XrHandMeshVertexBufferMSFT.Buffer vertexCountOutput(int value)
Sets the specified value to theXrHandMeshVertexBufferMSFT.vertexCountOutput()field.
-
vertices
public XrHandMeshVertexBufferMSFT.Buffer vertices(XrHandMeshVertexMSFT.Buffer value)
Sets the address of the specifiedXrHandMeshVertexMSFT.Bufferto theXrHandMeshVertexBufferMSFT.vertices()field.
-
-