Package org.lwjgl.openxr
Class XrFrameEndInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrFrameEndInfo,XrFrameEndInfo.Buffer>
-
- org.lwjgl.openxr.XrFrameEndInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrFrameEndInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrFrameEndInfo
public static class XrFrameEndInfo.Buffer extends org.lwjgl.system.StructBuffer<XrFrameEndInfo,XrFrameEndInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrFrameEndInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrFrameEndInfo.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 byXrFrameEndInfo.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
XrFrameEndInfo.type()field.
-
next
public long next()
- Returns:
- the value of the
XrFrameEndInfo.next()field.
-
displayTime
public long displayTime()
- Returns:
- the value of the
XrFrameEndInfo.displayTime()field.
-
environmentBlendMode
public int environmentBlendMode()
- Returns:
- the value of the
XrFrameEndInfo.environmentBlendMode()field.
-
layerCount
public int layerCount()
- Returns:
- the value of the
XrFrameEndInfo.layerCount()field.
-
layers
@Nullable public org.lwjgl.PointerBuffer layers()
- Returns:
- a
PointerBufferview of the data pointed to by theXrFrameEndInfo.layers()field.
-
type
public XrFrameEndInfo.Buffer type(int value)
Sets the specified value to theXrFrameEndInfo.type()field.
-
type$Default
public XrFrameEndInfo.Buffer type$Default()
Sets theTYPE_FRAME_END_INFOvalue to theXrFrameEndInfo.type()field.
-
next
public XrFrameEndInfo.Buffer next(long value)
Sets the specified value to theXrFrameEndInfo.next()field.
-
next
public XrFrameEndInfo.Buffer next(XrSecondaryViewConfigurationFrameEndInfoMSFT value)
Prepends the specifiedXrSecondaryViewConfigurationFrameEndInfoMSFTvalue to thenextchain.
-
displayTime
public XrFrameEndInfo.Buffer displayTime(long value)
Sets the specified value to theXrFrameEndInfo.displayTime()field.
-
environmentBlendMode
public XrFrameEndInfo.Buffer environmentBlendMode(int value)
Sets the specified value to theXrFrameEndInfo.environmentBlendMode()field.
-
layerCount
public XrFrameEndInfo.Buffer layerCount(int value)
Sets the specified value to theXrFrameEndInfo.layerCount()field.
-
layers
public XrFrameEndInfo.Buffer layers(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theXrFrameEndInfo.layers()field.
-
-