Package org.lwjgl.openvr
Class InputBindingInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<InputBindingInfo,InputBindingInfo.Buffer>
-
- org.lwjgl.openvr.InputBindingInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<InputBindingInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- InputBindingInfo
public static class InputBindingInfo.Buffer extends org.lwjgl.system.StructBuffer<InputBindingInfo,InputBindingInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofInputBindingInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBufferrchDevicePathName()Returns aByteBufferview of therchDevicePathNamefield.java.lang.StringrchDevicePathNameString()Decodes the null-terminated string stored in therchDevicePathNamefield.java.nio.ByteBufferrchInputPathName()Returns aByteBufferview of therchInputPathNamefield.java.lang.StringrchInputPathNameString()Decodes the null-terminated string stored in therchInputPathNamefield.java.nio.ByteBufferrchModeName()Returns aByteBufferview of therchModeNamefield.java.lang.StringrchModeNameString()Decodes the null-terminated string stored in therchModeNamefield.java.nio.ByteBufferrchSlotName()Returns aByteBufferview of therchSlotNamefield.java.lang.StringrchSlotNameString()Decodes the null-terminated string stored in therchSlotNamefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newInputBindingInfo.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 byInputBindingInfo.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
-
rchDevicePathName
public java.nio.ByteBuffer rchDevicePathName()
Returns aByteBufferview of therchDevicePathNamefield.
-
rchDevicePathNameString
public java.lang.String rchDevicePathNameString()
Decodes the null-terminated string stored in therchDevicePathNamefield.
-
rchInputPathName
public java.nio.ByteBuffer rchInputPathName()
Returns aByteBufferview of therchInputPathNamefield.
-
rchInputPathNameString
public java.lang.String rchInputPathNameString()
Decodes the null-terminated string stored in therchInputPathNamefield.
-
rchModeName
public java.nio.ByteBuffer rchModeName()
Returns aByteBufferview of therchModeNamefield.
-
rchModeNameString
public java.lang.String rchModeNameString()
Decodes the null-terminated string stored in therchModeNamefield.
-
rchSlotName
public java.nio.ByteBuffer rchSlotName()
Returns aByteBufferview of therchSlotNamefield.
-
rchSlotNameString
public java.lang.String rchSlotNameString()
Decodes the null-terminated string stored in therchSlotNamefield.
-
-