Package org.lwjgl.openxr
Class XrHolographicWindowAttachmentMSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrHolographicWindowAttachmentMSFT,XrHolographicWindowAttachmentMSFT.Buffer>
-
- org.lwjgl.openxr.XrHolographicWindowAttachmentMSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrHolographicWindowAttachmentMSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrHolographicWindowAttachmentMSFT
public static class XrHolographicWindowAttachmentMSFT.Buffer extends org.lwjgl.system.StructBuffer<XrHolographicWindowAttachmentMSFT,XrHolographicWindowAttachmentMSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrHolographicWindowAttachmentMSFTstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcoreWindow()XrHolographicWindowAttachmentMSFT.BuffercoreWindow(long value)Sets the specified value to theXrHolographicWindowAttachmentMSFT.coreWindow()field.longholographicSpace()XrHolographicWindowAttachmentMSFT.BufferholographicSpace(long value)Sets the specified value to theXrHolographicWindowAttachmentMSFT.holographicSpace()field.longnext()XrHolographicWindowAttachmentMSFT.Buffernext(long value)Sets the specified value to theXrHolographicWindowAttachmentMSFT.next()field.inttype()XrHolographicWindowAttachmentMSFT.Buffertype(int value)Sets the specified value to theXrHolographicWindowAttachmentMSFT.type()field.XrHolographicWindowAttachmentMSFT.Buffertype$Default()Sets theTYPE_HOLOGRAPHIC_WINDOW_ATTACHMENT_MSFTvalue to theXrHolographicWindowAttachmentMSFT.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrHolographicWindowAttachmentMSFT.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 byXrHolographicWindowAttachmentMSFT.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
XrHolographicWindowAttachmentMSFT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrHolographicWindowAttachmentMSFT.next()field.
-
holographicSpace
public long holographicSpace()
- Returns:
- the value of the
XrHolographicWindowAttachmentMSFT.holographicSpace()field.
-
coreWindow
public long coreWindow()
- Returns:
- the value of the
XrHolographicWindowAttachmentMSFT.coreWindow()field.
-
type
public XrHolographicWindowAttachmentMSFT.Buffer type(int value)
Sets the specified value to theXrHolographicWindowAttachmentMSFT.type()field.
-
type$Default
public XrHolographicWindowAttachmentMSFT.Buffer type$Default()
Sets theTYPE_HOLOGRAPHIC_WINDOW_ATTACHMENT_MSFTvalue to theXrHolographicWindowAttachmentMSFT.type()field.
-
next
public XrHolographicWindowAttachmentMSFT.Buffer next(long value)
Sets the specified value to theXrHolographicWindowAttachmentMSFT.next()field.
-
holographicSpace
public XrHolographicWindowAttachmentMSFT.Buffer holographicSpace(long value)
Sets the specified value to theXrHolographicWindowAttachmentMSFT.holographicSpace()field.
-
coreWindow
public XrHolographicWindowAttachmentMSFT.Buffer coreWindow(long value)
Sets the specified value to theXrHolographicWindowAttachmentMSFT.coreWindow()field.
-
-