struct ovrHapticsBuffer {
void * Samples;
int SamplesCount;
ovrHapticsBufferSubmitMode SubmitMode;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | OVRHapticsBuffer.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | SAMPLES
The struct member offsets. |
| public static final int | SAMPLESCOUNT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SUBMITMODE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | OVRHapticsBuffer(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static OVRHapticsBuffer | |
| public static OVRHapticsBuffer. | calloc(int
the buffer capacity capacity)Returns a new |
| public static OVRHapticsBuffer | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRHapticsBuffer. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVRHapticsBuffer | |
| public static OVRHapticsBuffer | |
| public static OVRHapticsBuffer. | |
| public static OVRHapticsBuffer. | |
| protected OVRHapticsBuffer | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static OVRHapticsBuffer | |
| public static OVRHapticsBuffer | |
| public static OVRHapticsBuffer. | create(int
the buffer capacity capacity)Returns a new |
| public static OVRHapticsBuffer. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static OVRHapticsBuffer | |
| public static OVRHapticsBuffer. | |
| public static OVRHapticsBuffer | |
| public static OVRHapticsBuffer. | malloc(int
the buffer capacity capacity)Returns a new |
| public static OVRHapticsBuffer | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRHapticsBuffer. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVRHapticsBuffer | |
| public static OVRHapticsBuffer | |
| public static OVRHapticsBuffer. | |
| public static OVRHapticsBuffer. | |
| public static ByteBuffer | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public ByteBuffer | Returns: samples stored in opaque formatthe number of elements in the returned buffer capacity)
|
| public OVRHapticsBuffer | |
| public int | |
| public OVRHapticsBuffer | |
| public OVRHapticsBuffer | set(ByteBuffer Samples, int SamplesCount, int SubmitMode)
Initializes this struct with the specified values. |
| public OVRHapticsBuffer | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public OVRHapticsBuffer | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| SAMPLES | back to summary |
|---|---|
| public static final int SAMPLES The struct member offsets. | |
| SAMPLESCOUNT | back to summary |
|---|---|
| public static final int SAMPLESCOUNT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SUBMITMODE | back to summary |
|---|---|
| public static final int SUBMITMODE The struct member offsets. | |
| OVRHapticsBuffer | back to summary |
|---|---|
| protected OVRHapticsBuffer(long address, ByteBuffer container) | |
| OVRHapticsBuffer | back to summary |
|---|---|
| public OVRHapticsBuffer(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static OVRHapticsBuffer calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static OVRHapticsBuffer. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static OVRHapticsBuffer calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static OVRHapticsBuffer. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static OVRHapticsBuffer callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRHapticsBuffer callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRHapticsBuffer. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRHapticsBuffer. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected OVRHapticsBuffer create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static OVRHapticsBuffer create() Returns a new | |
| create | back to summary |
|---|---|
| public static OVRHapticsBuffer create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static OVRHapticsBuffer. Returns a new
| |
| create | back to summary |
|---|---|
| public static OVRHapticsBuffer. Create a
| |
| createSafe | back to summary |
|---|---|
| public static OVRHapticsBuffer createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static OVRHapticsBuffer. Like
| |
| malloc | back to summary |
|---|---|
| public static OVRHapticsBuffer malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static OVRHapticsBuffer. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static OVRHapticsBuffer malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static OVRHapticsBuffer. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static OVRHapticsBuffer mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRHapticsBuffer mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRHapticsBuffer. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRHapticsBuffer. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nSamples | back to summary |
|---|---|
| public static ByteBuffer nSamples(long struct, int capacity) Unsafe version of | |
| nSamples | back to summary |
|---|---|
| public static void nSamples(long struct, ByteBuffer value) Unsafe version of | |
| nSamplesCount | back to summary |
|---|---|
| public static int nSamplesCount(long struct) Unsafe version of | |
| nSamplesCount | back to summary |
|---|---|
| public static void nSamplesCount(long struct, int value) Unsafe version of | |
| nSubmitMode | back to summary |
|---|---|
| public static int nSubmitMode(long struct) Unsafe version of | |
| nSubmitMode | back to summary |
|---|---|
| public static void nSubmitMode(long struct, int value) Unsafe version of | |
| Samples | back to summary |
|---|---|
public ByteBuffer Samples(int capacity)
| |
| Samples | back to summary |
|---|---|
| public OVRHapticsBuffer Samples(ByteBuffer value) Sets the address of the specified | |
| SamplesCount | back to summary |
|---|---|
| public int SamplesCount() number of samples (up to | |
| SamplesCount | back to summary |
|---|---|
| public OVRHapticsBuffer SamplesCount(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public OVRHapticsBuffer set(ByteBuffer Samples, int SamplesCount, int SubmitMode) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public OVRHapticsBuffer set(OVRHapticsBuffer src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| SubmitMode | back to summary | |
|---|---|---|
| public int SubmitMode() how samples are submitted to the hardware. Must be:
| ||
| SubmitMode | back to summary |
|---|---|
| public OVRHapticsBuffer SubmitMode(int value) Sets the specified value to the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
OVRHapticsBuffer structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final OVRHapticsBuffer |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected OVRHapticsBuffer | |
| public ByteBuffer | |
| public OVRHapticsBuffer. | Samples(ByteBuffer value)
Sets the address of the specified |
| public int | |
| public OVRHapticsBuffer. | |
| protected OVRHapticsBuffer. | |
| public int | |
| public OVRHapticsBuffer. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final OVRHapticsBuffer ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected OVRHapticsBuffer getElementFactory() Implements abstract org.
| |
| Samples | back to summary |
|---|---|
public ByteBuffer Samples(int capacity)
| |
| Samples | back to summary |
|---|---|
| public OVRHapticsBuffer. Sets the address of the specified | |
| SamplesCount | back to summary |
|---|---|
public int SamplesCount()
| |
| SamplesCount | back to summary |
|---|---|
| public OVRHapticsBuffer. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected OVRHapticsBuffer. Implements abstract org.
| |
| SubmitMode | back to summary |
|---|---|
public int SubmitMode()
| |
| SubmitMode | back to summary |
|---|---|
| public OVRHapticsBuffer. Sets the specified value to the | |