Package org.lwjgl.openxr
Class XrGraphicsRequirementsOpenGLESKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrGraphicsRequirementsOpenGLESKHR,XrGraphicsRequirementsOpenGLESKHR.Buffer>
-
- org.lwjgl.openxr.XrGraphicsRequirementsOpenGLESKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrGraphicsRequirementsOpenGLESKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrGraphicsRequirementsOpenGLESKHR
public static class XrGraphicsRequirementsOpenGLESKHR.Buffer extends org.lwjgl.system.StructBuffer<XrGraphicsRequirementsOpenGLESKHR,XrGraphicsRequirementsOpenGLESKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrGraphicsRequirementsOpenGLESKHRstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longmaxApiVersionSupported()XrGraphicsRequirementsOpenGLESKHR.BuffermaxApiVersionSupported(long value)Sets the specified value to theXrGraphicsRequirementsOpenGLESKHR.maxApiVersionSupported()field.longminApiVersionSupported()XrGraphicsRequirementsOpenGLESKHR.BufferminApiVersionSupported(long value)Sets the specified value to theXrGraphicsRequirementsOpenGLESKHR.minApiVersionSupported()field.longnext()XrGraphicsRequirementsOpenGLESKHR.Buffernext(long value)Sets the specified value to theXrGraphicsRequirementsOpenGLESKHR.next()field.inttype()XrGraphicsRequirementsOpenGLESKHR.Buffertype(int value)Sets the specified value to theXrGraphicsRequirementsOpenGLESKHR.type()field.XrGraphicsRequirementsOpenGLESKHR.Buffertype$Default()Sets theTYPE_GRAPHICS_REQUIREMENTS_OPENGL_ES_KHRvalue to theXrGraphicsRequirementsOpenGLESKHR.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrGraphicsRequirementsOpenGLESKHR.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 byXrGraphicsRequirementsOpenGLESKHR.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
XrGraphicsRequirementsOpenGLESKHR.type()field.
-
next
public long next()
- Returns:
- the value of the
XrGraphicsRequirementsOpenGLESKHR.next()field.
-
minApiVersionSupported
public long minApiVersionSupported()
- Returns:
- the value of the
XrGraphicsRequirementsOpenGLESKHR.minApiVersionSupported()field.
-
maxApiVersionSupported
public long maxApiVersionSupported()
- Returns:
- the value of the
XrGraphicsRequirementsOpenGLESKHR.maxApiVersionSupported()field.
-
type
public XrGraphicsRequirementsOpenGLESKHR.Buffer type(int value)
Sets the specified value to theXrGraphicsRequirementsOpenGLESKHR.type()field.
-
type$Default
public XrGraphicsRequirementsOpenGLESKHR.Buffer type$Default()
Sets theTYPE_GRAPHICS_REQUIREMENTS_OPENGL_ES_KHRvalue to theXrGraphicsRequirementsOpenGLESKHR.type()field.
-
next
public XrGraphicsRequirementsOpenGLESKHR.Buffer next(long value)
Sets the specified value to theXrGraphicsRequirementsOpenGLESKHR.next()field.
-
minApiVersionSupported
public XrGraphicsRequirementsOpenGLESKHR.Buffer minApiVersionSupported(long value)
Sets the specified value to theXrGraphicsRequirementsOpenGLESKHR.minApiVersionSupported()field.
-
maxApiVersionSupported
public XrGraphicsRequirementsOpenGLESKHR.Buffer maxApiVersionSupported(long value)
Sets the specified value to theXrGraphicsRequirementsOpenGLESKHR.maxApiVersionSupported()field.
-
-