Package org.lwjgl.openxr
Class XrVisibilityMaskKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrVisibilityMaskKHR,XrVisibilityMaskKHR.Buffer>
-
- org.lwjgl.openxr.XrVisibilityMaskKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrVisibilityMaskKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrVisibilityMaskKHR
public static class XrVisibilityMaskKHR.Buffer extends org.lwjgl.system.StructBuffer<XrVisibilityMaskKHR,XrVisibilityMaskKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrVisibilityMaskKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrVisibilityMaskKHR.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 byXrVisibilityMaskKHR.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
XrVisibilityMaskKHR.type()field.
-
next
public long next()
- Returns:
- the value of the
XrVisibilityMaskKHR.next()field.
-
vertexCapacityInput
public int vertexCapacityInput()
- Returns:
- the value of the
XrVisibilityMaskKHR.vertexCapacityInput()field.
-
vertexCountOutput
public int vertexCountOutput()
- Returns:
- the value of the
XrVisibilityMaskKHR.vertexCountOutput()field.
-
vertices
@Nullable public XrVector2f.Buffer vertices()
- Returns:
- a
XrVector2f.Bufferview of the struct array pointed to by theXrVisibilityMaskKHR.vertices()field.
-
indexCapacityInput
public int indexCapacityInput()
- Returns:
- the value of the
XrVisibilityMaskKHR.indexCapacityInput()field.
-
indexCountOutput
public int indexCountOutput()
- Returns:
- the value of the
XrVisibilityMaskKHR.indexCountOutput()field.
-
indices
@Nullable public java.nio.IntBuffer indices()
- Returns:
- a
IntBufferview of the data pointed to by theXrVisibilityMaskKHR.indices()field.
-
type
public XrVisibilityMaskKHR.Buffer type(int value)
Sets the specified value to theXrVisibilityMaskKHR.type()field.
-
type$Default
public XrVisibilityMaskKHR.Buffer type$Default()
Sets theTYPE_VISIBILITY_MASK_KHRvalue to theXrVisibilityMaskKHR.type()field.
-
next
public XrVisibilityMaskKHR.Buffer next(long value)
Sets the specified value to theXrVisibilityMaskKHR.next()field.
-
vertexCapacityInput
public XrVisibilityMaskKHR.Buffer vertexCapacityInput(int value)
Sets the specified value to theXrVisibilityMaskKHR.vertexCapacityInput()field.
-
vertexCountOutput
public XrVisibilityMaskKHR.Buffer vertexCountOutput(int value)
Sets the specified value to theXrVisibilityMaskKHR.vertexCountOutput()field.
-
vertices
public XrVisibilityMaskKHR.Buffer vertices(@Nullable XrVector2f.Buffer value)
Sets the address of the specifiedXrVector2f.Bufferto theXrVisibilityMaskKHR.vertices()field.
-
indexCapacityInput
public XrVisibilityMaskKHR.Buffer indexCapacityInput(int value)
Sets the specified value to theXrVisibilityMaskKHR.indexCapacityInput()field.
-
indexCountOutput
public XrVisibilityMaskKHR.Buffer indexCountOutput(int value)
Sets the specified value to theXrVisibilityMaskKHR.indexCountOutput()field.
-
indices
public XrVisibilityMaskKHR.Buffer indices(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theXrVisibilityMaskKHR.indices()field.
-
-