Package org.lwjgl.openvr
Class InputBindingInfo
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<InputBindingInfo>
org.lwjgl.openvr.InputBindingInfo
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class InputBindingInfo
extends org.lwjgl.system.Struct<InputBindingInfo>
implements org.lwjgl.system.NativeResource
Layout
struct InputBindingInfo_t {
char rchDevicePathName[128];
char rchInputPathName[128];
char rchModeName[128];
char rchSlotName[128];
char rchInputSourceType[32];
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionInputBindingInfo(ByteBuffer container) Creates aInputBindingInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic InputBindingInfocalloc()Returns a newInputBindingInfoinstance allocated withmemCalloc.static InputBindingInfo.Buffercalloc(int capacity) Returns a newInputBindingInfo.Bufferinstance allocated withmemCalloc.static InputBindingInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newInputBindingInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static InputBindingInfocalloc(org.lwjgl.system.MemoryStack stack) Returns a newInputBindingInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static InputBindingInfoDeprecated.static InputBindingInfo.BuffercallocStack(int capacity) Deprecated.static InputBindingInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static InputBindingInfocallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.static InputBindingInfocreate()Returns a newInputBindingInfoinstance allocated withBufferUtils.static InputBindingInfo.Buffercreate(int capacity) Returns a newInputBindingInfo.Bufferinstance allocated withBufferUtils.static InputBindingInfocreate(long address) Returns a newInputBindingInfoinstance for the specified memory address.static InputBindingInfo.Buffercreate(long address, int capacity) Create aInputBindingInfo.Bufferinstance at the specified memory.static @Nullable InputBindingInfocreateSafe(long address) static @Nullable InputBindingInfo.BuffercreateSafe(long address, int capacity) static InputBindingInfomalloc()Returns a newInputBindingInfoinstance allocated withmemAlloc.static InputBindingInfo.Buffermalloc(int capacity) Returns a newInputBindingInfo.Bufferinstance allocated withmemAlloc.static InputBindingInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newInputBindingInfo.Bufferinstance allocated on the specifiedMemoryStack.static InputBindingInfomalloc(org.lwjgl.system.MemoryStack stack) Returns a newInputBindingInfoinstance allocated on the specifiedMemoryStack.static InputBindingInfoDeprecated.static InputBindingInfo.BuffermallocStack(int capacity) Deprecated.static InputBindingInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static InputBindingInfomallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.static ByteBuffernrchDevicePathName(long struct) Unsafe version ofrchDevicePathName().static StringnrchDevicePathNameString(long struct) Unsafe version ofrchDevicePathNameString().static ByteBuffernrchInputPathName(long struct) Unsafe version ofrchInputPathName().static StringnrchInputPathNameString(long struct) Unsafe version ofrchInputPathNameString().static ByteBuffernrchInputSourceType(long struct) Unsafe version ofrchInputSourceType().static StringnrchInputSourceTypeString(long struct) Unsafe version ofrchInputSourceTypeString().static ByteBuffernrchModeName(long struct) Unsafe version ofrchModeName().static StringnrchModeNameString(long struct) Unsafe version ofrchModeNameString().static ByteBuffernrchSlotName(long struct) Unsafe version ofrchSlotName().static StringnrchSlotNameString(long struct) Unsafe version ofrchSlotNameString().intsizeof()Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
RCHDEVICEPATHNAME
public static final int RCHDEVICEPATHNAMEThe struct member offsets. -
RCHINPUTPATHNAME
public static final int RCHINPUTPATHNAMEThe struct member offsets. -
RCHMODENAME
public static final int RCHMODENAMEThe struct member offsets. -
RCHSLOTNAME
public static final int RCHSLOTNAMEThe struct member offsets. -
RCHINPUTSOURCETYPE
public static final int RCHINPUTSOURCETYPEThe struct member offsets.
-
-
Constructor Details
-
InputBindingInfo
Creates aInputBindingInfoinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<InputBindingInfo>
-
rchDevicePathName
- Returns:
- a
ByteBufferview of therchDevicePathNamefield.
-
rchDevicePathNameString
- Returns:
- the null-terminated string stored in the
rchDevicePathNamefield.
-
rchInputPathName
- Returns:
- a
ByteBufferview of therchInputPathNamefield.
-
rchInputPathNameString
- Returns:
- the null-terminated string stored in the
rchInputPathNamefield.
-
rchModeName
- Returns:
- a
ByteBufferview of therchModeNamefield.
-
rchModeNameString
- Returns:
- the null-terminated string stored in the
rchModeNamefield.
-
rchSlotName
- Returns:
- a
ByteBufferview of therchSlotNamefield.
-
rchSlotNameString
- Returns:
- the null-terminated string stored in the
rchSlotNamefield.
-
rchInputSourceType
- Returns:
- a
ByteBufferview of therchInputSourceTypefield.
-
rchInputSourceTypeString
- Returns:
- the null-terminated string stored in the
rchInputSourceTypefield.
-
malloc
Returns a newInputBindingInfoinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newInputBindingInfoinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newInputBindingInfoinstance allocated withBufferUtils. -
create
Returns a newInputBindingInfoinstance for the specified memory address. -
createSafe
-
malloc
Returns a newInputBindingInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newInputBindingInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newInputBindingInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aInputBindingInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
mallocStack
@Deprecated public static InputBindingInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
@Deprecated public static InputBindingInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
malloc
Returns a newInputBindingInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newInputBindingInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newInputBindingInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newInputBindingInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nrchDevicePathName
Unsafe version ofrchDevicePathName(). -
nrchDevicePathNameString
Unsafe version ofrchDevicePathNameString(). -
nrchInputPathName
Unsafe version ofrchInputPathName(). -
nrchInputPathNameString
Unsafe version ofrchInputPathNameString(). -
nrchModeName
Unsafe version ofrchModeName(). -
nrchModeNameString
Unsafe version ofrchModeNameString(). -
nrchSlotName
Unsafe version ofrchSlotName(). -
nrchSlotNameString
Unsafe version ofrchSlotNameString(). -
nrchInputSourceType
Unsafe version ofrchInputSourceType(). -
nrchInputSourceTypeString
Unsafe version ofrchInputSourceTypeString().
-