Package org.lwjgl.openxr
Class XrViewConfigurationViewFovEPIC.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrViewConfigurationViewFovEPIC,XrViewConfigurationViewFovEPIC.Buffer>
-
- org.lwjgl.openxr.XrViewConfigurationViewFovEPIC.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrViewConfigurationViewFovEPIC>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrViewConfigurationViewFovEPIC
public static class XrViewConfigurationViewFovEPIC.Buffer extends org.lwjgl.system.StructBuffer<XrViewConfigurationViewFovEPIC,XrViewConfigurationViewFovEPIC.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrViewConfigurationViewFovEPICstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrViewConfigurationViewFovEPIC.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 byXrViewConfigurationViewFovEPIC.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
XrViewConfigurationViewFovEPIC.type()field.
-
next
public long next()
- Returns:
- the value of the
XrViewConfigurationViewFovEPIC.next()field.
-
recommendedFov
public XrFovf recommendedFov()
- Returns:
- a
XrFovfview of theXrViewConfigurationViewFovEPIC.recommendedFov()field.
-
maxMutableFov
public XrFovf maxMutableFov()
- Returns:
- a
XrFovfview of theXrViewConfigurationViewFovEPIC.maxMutableFov()field.
-
type
public XrViewConfigurationViewFovEPIC.Buffer type(int value)
Sets the specified value to theXrViewConfigurationViewFovEPIC.type()field.
-
type$Default
public XrViewConfigurationViewFovEPIC.Buffer type$Default()
Sets theTYPE_VIEW_CONFIGURATION_VIEW_FOV_EPICvalue to theXrViewConfigurationViewFovEPIC.type()field.
-
next
public XrViewConfigurationViewFovEPIC.Buffer next(long value)
Sets the specified value to theXrViewConfigurationViewFovEPIC.next()field.
-
recommendedFov
public XrViewConfigurationViewFovEPIC.Buffer recommendedFov(XrFovf value)
Copies the specifiedXrFovfto theXrViewConfigurationViewFovEPIC.recommendedFov()field.
-
recommendedFov
public XrViewConfigurationViewFovEPIC.Buffer recommendedFov(java.util.function.Consumer<XrFovf> consumer)
Passes theXrViewConfigurationViewFovEPIC.recommendedFov()field to the specifiedConsumer.
-
maxMutableFov
public XrViewConfigurationViewFovEPIC.Buffer maxMutableFov(XrFovf value)
Copies the specifiedXrFovfto theXrViewConfigurationViewFovEPIC.maxMutableFov()field.
-
maxMutableFov
public XrViewConfigurationViewFovEPIC.Buffer maxMutableFov(java.util.function.Consumer<XrFovf> consumer)
Passes theXrViewConfigurationViewFovEPIC.maxMutableFov()field to the specifiedConsumer.
-
-