Package org.lwjgl.ovr
Class OVRExtensionProperties.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRExtensionProperties,OVRExtensionProperties.Buffer>
-
- org.lwjgl.ovr.OVRExtensionProperties.Buffer
-
- All Implemented Interfaces:
java.lang.Iterable<OVRExtensionProperties>,org.lwjgl.system.Pointer
- Enclosing class:
- OVRExtensionProperties
public static class OVRExtensionProperties.Buffer extends org.lwjgl.system.StructBuffer<OVRExtensionProperties,OVRExtensionProperties.Buffer>
An array ofOVRExtensionPropertiesstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intextensionId()java.nio.ByteBufferextensionName()java.lang.StringextensionNameString()intextensionVersion()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRExtensionProperties.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 byOVRExtensionProperties.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
-
extensionId
public int extensionId()
- Returns:
- the value of the
OVRExtensionProperties.extensionId()field.
-
extensionName
public java.nio.ByteBuffer extensionName()
- Returns:
- a
ByteBufferview of theextensionNamefield.
-
extensionNameString
public java.lang.String extensionNameString()
- Returns:
- the null-terminated string stored in the
extensionNamefield.
-
extensionVersion
public int extensionVersion()
- Returns:
- the value of the
OVRExtensionProperties.extensionVersion()field.
-
-