Package org.lwjgl.openxr
Class XrViewConfigurationView.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrViewConfigurationView,XrViewConfigurationView.Buffer>
-
- org.lwjgl.openxr.XrViewConfigurationView.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrViewConfigurationView>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrViewConfigurationView
public static class XrViewConfigurationView.Buffer extends org.lwjgl.system.StructBuffer<XrViewConfigurationView,XrViewConfigurationView.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrViewConfigurationViewstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrViewConfigurationView.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 byXrViewConfigurationView.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
XrViewConfigurationView.type()field.
-
next
public long next()
- Returns:
- the value of the
XrViewConfigurationView.next()field.
-
recommendedImageRectWidth
public int recommendedImageRectWidth()
- Returns:
- the value of the
XrViewConfigurationView.recommendedImageRectWidth()field.
-
maxImageRectWidth
public int maxImageRectWidth()
- Returns:
- the value of the
XrViewConfigurationView.maxImageRectWidth()field.
-
recommendedImageRectHeight
public int recommendedImageRectHeight()
- Returns:
- the value of the
XrViewConfigurationView.recommendedImageRectHeight()field.
-
maxImageRectHeight
public int maxImageRectHeight()
- Returns:
- the value of the
XrViewConfigurationView.maxImageRectHeight()field.
-
recommendedSwapchainSampleCount
public int recommendedSwapchainSampleCount()
- Returns:
- the value of the
XrViewConfigurationView.recommendedSwapchainSampleCount()field.
-
maxSwapchainSampleCount
public int maxSwapchainSampleCount()
- Returns:
- the value of the
XrViewConfigurationView.maxSwapchainSampleCount()field.
-
type
public XrViewConfigurationView.Buffer type(int value)
Sets the specified value to theXrViewConfigurationView.type()field.
-
type$Default
public XrViewConfigurationView.Buffer type$Default()
Sets theTYPE_VIEW_CONFIGURATION_VIEWvalue to theXrViewConfigurationView.type()field.
-
next
public XrViewConfigurationView.Buffer next(long value)
Sets the specified value to theXrViewConfigurationView.next()field.
-
next
public XrViewConfigurationView.Buffer next(XrFoveatedViewConfigurationViewVARJO value)
Prepends the specifiedXrFoveatedViewConfigurationViewVARJOvalue to thenextchain.
-
next
public XrViewConfigurationView.Buffer next(XrViewConfigurationDepthRangeEXT value)
Prepends the specifiedXrViewConfigurationDepthRangeEXTvalue to thenextchain.
-
next
public XrViewConfigurationView.Buffer next(XrViewConfigurationViewFovEPIC value)
Prepends the specifiedXrViewConfigurationViewFovEPICvalue to thenextchain.
-
recommendedImageRectWidth
public XrViewConfigurationView.Buffer recommendedImageRectWidth(int value)
Sets the specified value to theXrViewConfigurationView.recommendedImageRectWidth()field.
-
maxImageRectWidth
public XrViewConfigurationView.Buffer maxImageRectWidth(int value)
Sets the specified value to theXrViewConfigurationView.maxImageRectWidth()field.
-
recommendedImageRectHeight
public XrViewConfigurationView.Buffer recommendedImageRectHeight(int value)
Sets the specified value to theXrViewConfigurationView.recommendedImageRectHeight()field.
-
maxImageRectHeight
public XrViewConfigurationView.Buffer maxImageRectHeight(int value)
Sets the specified value to theXrViewConfigurationView.maxImageRectHeight()field.
-
recommendedSwapchainSampleCount
public XrViewConfigurationView.Buffer recommendedSwapchainSampleCount(int value)
Sets the specified value to theXrViewConfigurationView.recommendedSwapchainSampleCount()field.
-
maxSwapchainSampleCount
public XrViewConfigurationView.Buffer maxSwapchainSampleCount(int value)
Sets the specified value to theXrViewConfigurationView.maxSwapchainSampleCount()field.
-
-