Top Description Inners Fields Constructors Methods
org.lwjgl.openvr

public Class VRSkeletalSummaryData

extends Struct<VRSkeletalSummaryData>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct VRSkeletalSummaryData_t
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Contains summary information about the current skeletal pose.

Layout


struct VRSkeletalSummaryData_t {
    float flFingerCurl[5];
    float flFingerSplay[4];
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
FLFINGERCURL

The struct member offsets.

public static final int
FLFINGERSPLAY

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VRSkeletalSummaryData(long address, ByteBuffer container)

public
VRSkeletalSummaryData(ByteBuffer container)

Creates a VRSkeletalSummaryData instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VRSkeletalSummaryData
calloc()

Returns a new VRSkeletalSummaryData instance allocated with memCalloc.

public static VRSkeletalSummaryData.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VRSkeletalSummaryData.Buffer instance allocated with memCalloc.

public static VRSkeletalSummaryData
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VRSkeletalSummaryData instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VRSkeletalSummaryData.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VRSkeletalSummaryData.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VRSkeletalSummaryData
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VRSkeletalSummaryData
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VRSkeletalSummaryData.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VRSkeletalSummaryData.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VRSkeletalSummaryData
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VRSkeletalSummaryData
create()

Returns a new VRSkeletalSummaryData instance allocated with BufferUtils.

public static VRSkeletalSummaryData
create(long address)

Returns a new VRSkeletalSummaryData instance for the specified memory address.

public static VRSkeletalSummaryData.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VRSkeletalSummaryData.Buffer instance allocated with BufferUtils.

public static VRSkeletalSummaryData.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VRSkeletalSummaryData.Buffer instance at the specified memory.

public static VRSkeletalSummaryData
createSafe(long address)

Like create, but returns null if address is NULL.

public static VRSkeletalSummaryData.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public FloatBuffer
flFingerCurl()

The amount that each finger is 'curled' inwards towards the palm.

public float
flFingerCurl(int index)

The amount that each finger is 'curled' inwards towards the palm.

public FloatBuffer
flFingerSplay()

The amount that each pair of adjacent fingers are separated.

public float
flFingerSplay(int index)

The amount that each pair of adjacent fingers are separated.

public static VRSkeletalSummaryData
malloc()

Returns a new VRSkeletalSummaryData instance allocated with memAlloc.

public static VRSkeletalSummaryData.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VRSkeletalSummaryData.Buffer instance allocated with memAlloc.

public static VRSkeletalSummaryData
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VRSkeletalSummaryData instance allocated on the specified MemoryStack.

public static VRSkeletalSummaryData.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VRSkeletalSummaryData.Buffer instance allocated on the specified MemoryStack.

public static VRSkeletalSummaryData
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VRSkeletalSummaryData
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VRSkeletalSummaryData.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VRSkeletalSummaryData.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static FloatBuffer
nflFingerCurl(long struct)

Unsafe version of flFingerCurl.

public static float
nflFingerCurl(long struct, int index)

Unsafe version of flFingerCurl.

public static FloatBuffer
nflFingerSplay(long struct)

Unsafe version of flFingerSplay.

public static float
nflFingerSplay(long struct, int index)

Unsafe version of flFingerSplay.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

FLFINGERCURLback to summary
public static final int FLFINGERCURL

The struct member offsets.

FLFINGERSPLAYback to summary
public static final int FLFINGERSPLAY

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

Constructor Detail

VRSkeletalSummaryDataback to summary
protected VRSkeletalSummaryData(long address, ByteBuffer container)
VRSkeletalSummaryDataback to summary
public VRSkeletalSummaryData(ByteBuffer container)

Creates a VRSkeletalSummaryData instance at the current position of the specified ByteBuffer container. 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 Detail

callocback to summary
public static VRSkeletalSummaryData calloc()

Returns a new VRSkeletalSummaryData instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VRSkeletalSummaryData.Buffer calloc(int capacity)

Returns a new VRSkeletalSummaryData.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VRSkeletalSummaryData calloc(MemoryStack stack)

Returns a new VRSkeletalSummaryData instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VRSkeletalSummaryData.Buffer calloc(int capacity, MemoryStack stack)

Returns a new VRSkeletalSummaryData.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static VRSkeletalSummaryData callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VRSkeletalSummaryData callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VRSkeletalSummaryData.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VRSkeletalSummaryData.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
createback to summary
protected VRSkeletalSummaryData create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VRSkeletalSummaryData create()

Returns a new VRSkeletalSummaryData instance allocated with BufferUtils.

createback to summary
public static VRSkeletalSummaryData create(long address)

Returns a new VRSkeletalSummaryData instance for the specified memory address.

createback to summary
public static VRSkeletalSummaryData.Buffer create(int capacity)

Returns a new VRSkeletalSummaryData.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VRSkeletalSummaryData.Buffer create(long address, int capacity)

Create a VRSkeletalSummaryData.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VRSkeletalSummaryData createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VRSkeletalSummaryData.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
flFingerCurlback to summary
public FloatBuffer flFingerCurl()

The amount that each finger is 'curled' inwards towards the palm.

In the case of the thumb, this represents how much the thumb is wrapped around the fist. 0 means straight, 1 means fully curled.

Annotations
@NativeType:float[5]
flFingerCurlback to summary
public float flFingerCurl(int index)

The amount that each finger is 'curled' inwards towards the palm.

In the case of the thumb, this represents how much the thumb is wrapped around the fist. 0 means straight, 1 means fully curled.

flFingerSplayback to summary
public FloatBuffer flFingerSplay()

The amount that each pair of adjacent fingers are separated.

0 means the digits are touching, 1 means they are fully separated.

Annotations
@NativeType:float[4]
flFingerSplayback to summary
public float flFingerSplay(int index)

The amount that each pair of adjacent fingers are separated.

0 means the digits are touching, 1 means they are fully separated.

mallocback to summary
public static VRSkeletalSummaryData malloc()

Returns a new VRSkeletalSummaryData instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VRSkeletalSummaryData.Buffer malloc(int capacity)

Returns a new VRSkeletalSummaryData.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VRSkeletalSummaryData malloc(MemoryStack stack)

Returns a new VRSkeletalSummaryData instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VRSkeletalSummaryData.Buffer malloc(int capacity, MemoryStack stack)

Returns a new VRSkeletalSummaryData.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static VRSkeletalSummaryData mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VRSkeletalSummaryData mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VRSkeletalSummaryData.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VRSkeletalSummaryData.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
nflFingerCurlback to summary
public static FloatBuffer nflFingerCurl(long struct)

Unsafe version of flFingerCurl.

nflFingerCurlback to summary
public static float nflFingerCurl(long struct, int index)

Unsafe version of flFingerCurl.

nflFingerSplayback to summary
public static FloatBuffer nflFingerSplay(long struct)

Unsafe version of flFingerSplay.

nflFingerSplayback to summary
public static float nflFingerSplay(long struct, int index)

Unsafe version of flFingerSplay.

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
org.lwjgl.openvr back to summary

public Class VRSkeletalSummaryData.Buffer

extends StructBuffer<VRSkeletalSummaryData, VRSkeletalSummaryData.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VRSkeletalSummaryData structs.

Field Summary

Modifier and TypeField and Description
private static final VRSkeletalSummaryData

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VRSkeletalSummaryData.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public FloatBuffer
public float

Returns:

the value at the specified index of the VRSkeletalSummaryData#flFingerCurl field.
flFingerCurl
(int index)

public FloatBuffer
public float

Returns:

the value at the specified index of the VRSkeletalSummaryData#flFingerSplay field.
flFingerSplay
(int index)

protected VRSkeletalSummaryData
protected VRSkeletalSummaryData.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VRSkeletalSummaryData ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VRSkeletalSummaryData.Buffer instance 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 by VRSkeletalSummaryData#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

flFingerCurlback to summary
public FloatBuffer flFingerCurl()
Returns:FloatBuffer

a FloatBuffer view of the VRSkeletalSummaryData#flFingerCurl field.

Annotations
@NativeType:float[5]
flFingerCurlback to summary
public float flFingerCurl(int index)
Returns:float

the value at the specified index of the VRSkeletalSummaryData#flFingerCurl field.

flFingerSplayback to summary
public FloatBuffer flFingerSplay()
Returns:FloatBuffer

a FloatBuffer view of the VRSkeletalSummaryData#flFingerSplay field.

Annotations
@NativeType:float[4]
flFingerSplayback to summary
public float flFingerSplay(int index)
Returns:float

the value at the specified index of the VRSkeletalSummaryData#flFingerSplay field.

getElementFactoryback to summary
protected VRSkeletalSummaryData getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
selfback to summary
protected VRSkeletalSummaryData.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override