public class AIMeshMorphKey
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
mTime – the time of this keymValues – the values at the time of this keymWeights – the weights at the time of this keymNumValuesAndWeights – the number of values and weights
struct aiMeshMorphKey {
double mTime;
unsigned int * mValues;
double * mWeights;
unsigned int mNumValuesAndWeights;
}| Modifier and Type | Class and Description |
|---|---|
static class |
AIMeshMorphKey.Buffer
An array of
AIMeshMorphKey structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MNUMVALUESANDWEIGHTS
The struct member offsets.
|
static int |
MTIME
The struct member offsets.
|
static int |
MVALUES
The struct member offsets.
|
static int |
MWEIGHTS
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
AIMeshMorphKey(java.nio.ByteBuffer container)
Creates a
AIMeshMorphKey instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static AIMeshMorphKey |
calloc()
Returns a new
AIMeshMorphKey instance allocated with memCalloc. |
static AIMeshMorphKey.Buffer |
calloc(int capacity)
Returns a new
AIMeshMorphKey.Buffer instance allocated with memCalloc. |
static AIMeshMorphKey |
callocStack()
Returns a new
AIMeshMorphKey instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static AIMeshMorphKey.Buffer |
callocStack(int capacity)
Returns a new
AIMeshMorphKey.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static AIMeshMorphKey.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
AIMeshMorphKey.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static AIMeshMorphKey |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
AIMeshMorphKey instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static AIMeshMorphKey |
create()
Returns a new
AIMeshMorphKey instance allocated with BufferUtils. |
static AIMeshMorphKey.Buffer |
create(int capacity)
Returns a new
AIMeshMorphKey.Buffer instance allocated with BufferUtils. |
static AIMeshMorphKey |
create(long address)
Returns a new
AIMeshMorphKey instance for the specified memory address. |
static AIMeshMorphKey.Buffer |
create(long address,
int capacity)
Create a
AIMeshMorphKey.Buffer instance at the specified memory. |
static AIMeshMorphKey |
createSafe(long address)
|
static AIMeshMorphKey.Buffer |
createSafe(long address,
int capacity)
|
static AIMeshMorphKey |
malloc()
Returns a new
AIMeshMorphKey instance allocated with memAlloc. |
static AIMeshMorphKey.Buffer |
malloc(int capacity)
Returns a new
AIMeshMorphKey.Buffer instance allocated with memAlloc. |
static AIMeshMorphKey |
mallocStack()
Returns a new
AIMeshMorphKey instance allocated on the thread-local MemoryStack. |
static AIMeshMorphKey.Buffer |
mallocStack(int capacity)
Returns a new
AIMeshMorphKey.Buffer instance allocated on the thread-local MemoryStack. |
static AIMeshMorphKey.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
AIMeshMorphKey.Buffer instance allocated on the specified MemoryStack. |
static AIMeshMorphKey |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
AIMeshMorphKey instance allocated on the specified MemoryStack. |
int |
mNumValuesAndWeights()
Returns the value of the
mNumValuesAndWeights field. |
AIMeshMorphKey |
mNumValuesAndWeights(int value)
Sets the specified value to the
mNumValuesAndWeights field. |
double |
mTime()
Returns the value of the
mTime field. |
AIMeshMorphKey |
mTime(double value)
Sets the specified value to the
mTime field. |
java.nio.IntBuffer |
mValues()
Returns a
IntBuffer view of the data pointed to by the mValues field. |
AIMeshMorphKey |
mValues(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the mValues field. |
java.nio.DoubleBuffer |
mWeights()
Returns a
DoubleBuffer view of the data pointed to by the mWeights field. |
AIMeshMorphKey |
mWeights(java.nio.DoubleBuffer value)
Sets the address of the specified
DoubleBuffer to the mWeights field. |
static int |
nmNumValuesAndWeights(long struct)
Unsafe version of
mNumValuesAndWeights(). |
static void |
nmNumValuesAndWeights(long struct,
int value)
Sets the specified value to the
mNumValuesAndWeights field of the specified struct. |
static double |
nmTime(long struct)
Unsafe version of
mTime(). |
static void |
nmTime(long struct,
double value)
Unsafe version of
mTime. |
static java.nio.IntBuffer |
nmValues(long struct)
Unsafe version of
mValues. |
static void |
nmValues(long struct,
java.nio.IntBuffer value)
Unsafe version of
mValues. |
static java.nio.DoubleBuffer |
nmWeights(long struct)
Unsafe version of
mWeights. |
static void |
nmWeights(long struct,
java.nio.DoubleBuffer value)
Unsafe version of
mWeights. |
AIMeshMorphKey |
set(AIMeshMorphKey src)
Copies the specified struct data to this struct.
|
AIMeshMorphKey |
set(double mTime,
java.nio.IntBuffer mValues,
java.nio.DoubleBuffer mWeights,
int mNumValuesAndWeights)
Initializes this struct with the specified values.
|
int |
sizeof() |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int MTIME
public static final int MVALUES
public static final int MWEIGHTS
public static final int MNUMVALUESANDWEIGHTS
public AIMeshMorphKey(java.nio.ByteBuffer container)
AIMeshMorphKey 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic double mTime()
mTime field.public java.nio.IntBuffer mValues()
IntBuffer view of the data pointed to by the mValues field.public java.nio.DoubleBuffer mWeights()
DoubleBuffer view of the data pointed to by the mWeights field.public int mNumValuesAndWeights()
mNumValuesAndWeights field.public AIMeshMorphKey mTime(double value)
mTime field.public AIMeshMorphKey mValues(java.nio.IntBuffer value)
IntBuffer to the mValues field.public AIMeshMorphKey mWeights(java.nio.DoubleBuffer value)
DoubleBuffer to the mWeights field.public AIMeshMorphKey mNumValuesAndWeights(int value)
mNumValuesAndWeights field.public AIMeshMorphKey set(double mTime, java.nio.IntBuffer mValues, java.nio.DoubleBuffer mWeights, int mNumValuesAndWeights)
public AIMeshMorphKey set(AIMeshMorphKey src)
src - the source structpublic static AIMeshMorphKey malloc()
AIMeshMorphKey instance allocated with memAlloc. The instance must be explicitly freed.public static AIMeshMorphKey calloc()
AIMeshMorphKey instance allocated with memCalloc. The instance must be explicitly freed.public static AIMeshMorphKey create()
AIMeshMorphKey instance allocated with BufferUtils.public static AIMeshMorphKey create(long address)
AIMeshMorphKey instance for the specified memory address.@Nullable public static AIMeshMorphKey createSafe(long address)
public static AIMeshMorphKey.Buffer malloc(int capacity)
AIMeshMorphKey.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static AIMeshMorphKey.Buffer calloc(int capacity)
AIMeshMorphKey.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static AIMeshMorphKey.Buffer create(int capacity)
AIMeshMorphKey.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static AIMeshMorphKey.Buffer create(long address, int capacity)
AIMeshMorphKey.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static AIMeshMorphKey.Buffer createSafe(long address, int capacity)
public static AIMeshMorphKey mallocStack()
AIMeshMorphKey instance allocated on the thread-local MemoryStack.public static AIMeshMorphKey callocStack()
AIMeshMorphKey instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static AIMeshMorphKey mallocStack(org.lwjgl.system.MemoryStack stack)
AIMeshMorphKey instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static AIMeshMorphKey callocStack(org.lwjgl.system.MemoryStack stack)
AIMeshMorphKey instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static AIMeshMorphKey.Buffer mallocStack(int capacity)
AIMeshMorphKey.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static AIMeshMorphKey.Buffer callocStack(int capacity)
AIMeshMorphKey.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static AIMeshMorphKey.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
AIMeshMorphKey.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static AIMeshMorphKey.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
AIMeshMorphKey.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static double nmTime(long struct)
mTime().public static java.nio.IntBuffer nmValues(long struct)
mValues.public static java.nio.DoubleBuffer nmWeights(long struct)
mWeights.public static int nmNumValuesAndWeights(long struct)
mNumValuesAndWeights().public static void nmTime(long struct,
double value)
mTime.public static void nmValues(long struct,
java.nio.IntBuffer value)
mValues.public static void nmWeights(long struct,
java.nio.DoubleBuffer value)
mWeights.public static void nmNumValuesAndWeights(long struct,
int value)
mNumValuesAndWeights field of the specified struct.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.