Package org.lwjgl.assimp
Class AIMesh
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct aiMesh {
unsigned int mPrimitiveTypes;
unsigned int mNumVertices;
unsigned int mNumFaces;
{@link AIVector3D struct aiVector3D} * mVertices;
{@link AIVector3D struct aiVector3D} * mNormals;
{@link AIVector3D struct aiVector3D} * mTangents;
{@link AIVector3D struct aiVector3D} * mBitangents;
{@link AIColor4D struct aiColor4D} * mColors[AI_MAX_NUMBER_OF_COLOR_SETS];
{@link AIVector3D struct aiVector3D} * mTextureCoords[AI_MAX_NUMBER_OF_TEXTURECOORDS];
unsigned int mNumUVComponents[AI_MAX_NUMBER_OF_TEXTURECOORDS];
{@link AIFace struct aiFace} * mFaces;
unsigned int mNumBones;
{@link AIBone struct aiBone} ** mBones;
unsigned int mMaterialIndex;
{@link AIString struct aiString} mName;
unsigned int mNumAnimMeshes;
{@link AIAnimMesh struct aiAnimMesh} ** mAnimMeshes;
aiMorphingMethod mMethod;
{@link AIAABB struct aiAABB} mAABB;
{@link AIString struct aiString} ** mTextureCoordsNames;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionAIMesh
(ByteBuffer container) Creates aAIMesh
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic AIMesh
calloc()
Returns a newAIMesh
instance allocated withmemCalloc
.static AIMesh.Buffer
calloc
(int capacity) Returns a newAIMesh.Buffer
instance allocated withmemCalloc
.static AIMesh.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newAIMesh.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static AIMesh
calloc
(MemoryStack stack) Returns a newAIMesh
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static AIMesh
Deprecated.static AIMesh.Buffer
callocStack
(int capacity) Deprecated.static AIMesh.Buffer
callocStack
(int capacity, MemoryStack stack) Deprecated.static AIMesh
callocStack
(MemoryStack stack) Deprecated.static AIMesh
create()
Returns a newAIMesh
instance allocated withBufferUtils
.static AIMesh.Buffer
create
(int capacity) Returns a newAIMesh.Buffer
instance allocated withBufferUtils
.static AIMesh
create
(long address) Returns a newAIMesh
instance for the specified memory address.static AIMesh.Buffer
create
(long address, int capacity) Create aAIMesh.Buffer
instance at the specified memory.static @Nullable AIMesh
createSafe
(long address) static @Nullable AIMesh.Buffer
createSafe
(long address, int capacity) mAABB()
Passes themAABB
field to the specifiedConsumer
.Copies the specifiedAIAABB
to themAABB
field.static AIMesh
malloc()
Returns a newAIMesh
instance allocated withmemAlloc
.static AIMesh.Buffer
malloc
(int capacity) Returns a newAIMesh.Buffer
instance allocated withmemAlloc
.static AIMesh.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newAIMesh.Buffer
instance allocated on the specifiedMemoryStack
.static AIMesh
malloc
(MemoryStack stack) Returns a newAIMesh
instance allocated on the specifiedMemoryStack
.static AIMesh
Deprecated.static AIMesh.Buffer
mallocStack
(int capacity) Deprecated.static AIMesh.Buffer
mallocStack
(int capacity, MemoryStack stack) Deprecated.static AIMesh
mallocStack
(MemoryStack stack) Deprecated.@Nullable PointerBuffer
mAnimMeshes
(@Nullable PointerBuffer value) Sets the address of the specifiedPointerBuffer
to themAnimMeshes
field.@Nullable AIVector3D.Buffer
mBitangents
(@Nullable AIVector3D.Buffer value) Sets the address of the specifiedAIVector3D.Buffer
to themBitangents
field.@Nullable PointerBuffer
mBones()
mBones
(@Nullable PointerBuffer value) Sets the address of the specifiedPointerBuffer
to themBones
field.mColors()
@Nullable AIColor4D.Buffer
mColors
(int index) mColors
(int index, Consumer<@Nullable AIColor4D.Buffer> consumer) mColors
(int index, @Nullable AIColor4D.Buffer value) Copies the address of the specifiedAIColor4D.Buffer
at the specified index of themColors
field.mColors
(PointerBuffer value) Copies the specifiedPointerBuffer
to themColors
field.mFaces()
mFaces
(AIFace.Buffer value) Sets the address of the specifiedAIFace.Buffer
to themFaces
field.int
mMaterialIndex
(int value) Sets the specified value to themMaterialIndex
field.int
mMethod()
mMethod
(int value) Sets the specified value to themMethod
field.mName()
Passes themName
field to the specifiedConsumer
.Copies the specifiedAIString
to themName
field.@Nullable AIVector3D.Buffer
mNormals()
mNormals
(@Nullable AIVector3D.Buffer value) Sets the address of the specifiedAIVector3D.Buffer
to themNormals
field.int
int
int
int
mNumUVComponents
(int index) mNumUVComponents
(int index, int value) Sets the specified value at the specified index of themNumUVComponents
field.mNumUVComponents
(IntBuffer value) Copies the specifiedIntBuffer
to themNumUVComponents
field.int
mNumVertices
(int value) Sets the specified value to themNumVertices
field.int
mPrimitiveTypes
(int value) Sets the specified value to themPrimitiveTypes
field.@Nullable AIVector3D.Buffer
mTangents
(@Nullable AIVector3D.Buffer value) Sets the address of the specifiedAIVector3D.Buffer
to themTangents
field.@Nullable AIVector3D.Buffer
mTextureCoords
(int index) mTextureCoords
(int index, Consumer<@Nullable AIVector3D.Buffer> consumer) mTextureCoords
(int index, @Nullable AIVector3D.Buffer value) Copies the address of the specifiedAIVector3D.Buffer
at the specified index of themTextureCoords
field.mTextureCoords
(PointerBuffer value) Copies the specifiedPointerBuffer
to themTextureCoords
field.@Nullable PointerBuffer
mTextureCoordsNames
(@Nullable PointerBuffer value) Sets the address of the specifiedPointerBuffer
to themTextureCoordsNames
field.mVertices
(AIVector3D.Buffer value) Sets the address of the specifiedAIVector3D.Buffer
to themVertices
field.static AIAABB
nmAABB
(long struct) Unsafe version ofmAABB()
.static void
Unsafe version ofmAABB
.static @Nullable PointerBuffer
nmAnimMeshes
(long struct) Unsafe version ofmAnimMeshes
.static void
nmAnimMeshes
(long struct, @Nullable PointerBuffer value) Unsafe version ofmAnimMeshes
.static @Nullable AIVector3D.Buffer
nmBitangents
(long struct) Unsafe version ofmBitangents()
.static void
nmBitangents
(long struct, @Nullable AIVector3D.Buffer value) Unsafe version ofmBitangents
.static @Nullable PointerBuffer
nmBones
(long struct) Unsafe version ofmBones
.static void
nmBones
(long struct, @Nullable PointerBuffer value) Unsafe version ofmBones
.static PointerBuffer
nmColors
(long struct) Unsafe version ofmColors()
.static @Nullable AIColor4D.Buffer
nmColors
(long struct, int index) Unsafe version ofmColors
.static void
nmColors
(long struct, int index, @Nullable AIColor4D.Buffer value) Unsafe version ofmColors
.static void
nmColors
(long struct, PointerBuffer value) Unsafe version ofmColors
.static AIFace.Buffer
nmFaces
(long struct) Unsafe version ofmFaces()
.static void
nmFaces
(long struct, AIFace.Buffer value) Unsafe version ofmFaces
.static int
nmMaterialIndex
(long struct) Unsafe version ofmMaterialIndex()
.static void
nmMaterialIndex
(long struct, int value) Unsafe version ofmMaterialIndex
.static int
nmMethod
(long struct) Unsafe version ofmMethod()
.static void
nmMethod
(long struct, int value) Unsafe version ofmMethod
.static AIString
nmName
(long struct) Unsafe version ofmName()
.static void
Unsafe version ofmName
.static @Nullable AIVector3D.Buffer
nmNormals
(long struct) Unsafe version ofmNormals()
.static void
nmNormals
(long struct, @Nullable AIVector3D.Buffer value) Unsafe version ofmNormals
.static int
nmNumAnimMeshes
(long struct) Unsafe version ofmNumAnimMeshes()
.static void
nmNumAnimMeshes
(long struct, int value) Sets the specified value to themNumAnimMeshes
field of the specifiedstruct
.static int
nmNumBones
(long struct) Unsafe version ofmNumBones()
.static void
nmNumBones
(long struct, int value) Sets the specified value to themNumBones
field of the specifiedstruct
.static int
nmNumFaces
(long struct) Unsafe version ofmNumFaces()
.static void
nmNumFaces
(long struct, int value) Sets the specified value to themNumFaces
field of the specifiedstruct
.static IntBuffer
nmNumUVComponents
(long struct) Unsafe version ofmNumUVComponents()
.static int
nmNumUVComponents
(long struct, int index) Unsafe version ofmNumUVComponents
.static void
nmNumUVComponents
(long struct, int index, int value) Unsafe version ofmNumUVComponents
.static void
nmNumUVComponents
(long struct, IntBuffer value) Unsafe version ofmNumUVComponents
.static int
nmNumVertices
(long struct) Unsafe version ofmNumVertices()
.static void
nmNumVertices
(long struct, int value) Sets the specified value to themNumVertices
field of the specifiedstruct
.static int
nmPrimitiveTypes
(long struct) Unsafe version ofmPrimitiveTypes()
.static void
nmPrimitiveTypes
(long struct, int value) Unsafe version ofmPrimitiveTypes
.static @Nullable AIVector3D.Buffer
nmTangents
(long struct) Unsafe version ofmTangents()
.static void
nmTangents
(long struct, @Nullable AIVector3D.Buffer value) Unsafe version ofmTangents
.static PointerBuffer
nmTextureCoords
(long struct) Unsafe version ofmTextureCoords()
.static @Nullable AIVector3D.Buffer
nmTextureCoords
(long struct, int index) Unsafe version ofmTextureCoords
.static void
nmTextureCoords
(long struct, int index, @Nullable AIVector3D.Buffer value) Unsafe version ofmTextureCoords
.static void
nmTextureCoords
(long struct, PointerBuffer value) Unsafe version ofmTextureCoords
.static @Nullable PointerBuffer
nmTextureCoordsNames
(long struct) Unsafe version ofmTextureCoordsNames
.static void
nmTextureCoordsNames
(long struct, @Nullable PointerBuffer value) Unsafe version ofmTextureCoordsNames
.static AIVector3D.Buffer
nmVertices
(long struct) Unsafe version ofmVertices()
.static void
nmVertices
(long struct, AIVector3D.Buffer value) Unsafe version ofmVertices
.set
(int mPrimitiveTypes, int mNumVertices, AIVector3D.Buffer mVertices, @Nullable AIVector3D.Buffer mNormals, @Nullable AIVector3D.Buffer mTangents, @Nullable AIVector3D.Buffer mBitangents, PointerBuffer mColors, PointerBuffer mTextureCoords, IntBuffer mNumUVComponents, AIFace.Buffer mFaces, @Nullable PointerBuffer mBones, int mMaterialIndex, AIString mName, @Nullable PointerBuffer mAnimMeshes, int mMethod, AIAABB mAABB, @Nullable PointerBuffer mTextureCoordsNames) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.static void
validate
(long struct) Validates pointer members that should not beNULL
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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. -
MPRIMITIVETYPES
public static final int MPRIMITIVETYPESThe struct member offsets. -
MNUMVERTICES
public static final int MNUMVERTICESThe struct member offsets. -
MNUMFACES
public static final int MNUMFACESThe struct member offsets. -
MVERTICES
public static final int MVERTICESThe struct member offsets. -
MNORMALS
public static final int MNORMALSThe struct member offsets. -
MTANGENTS
public static final int MTANGENTSThe struct member offsets. -
MBITANGENTS
public static final int MBITANGENTSThe struct member offsets. -
MCOLORS
public static final int MCOLORSThe struct member offsets. -
MTEXTURECOORDS
public static final int MTEXTURECOORDSThe struct member offsets. -
MNUMUVCOMPONENTS
public static final int MNUMUVCOMPONENTSThe struct member offsets. -
MFACES
public static final int MFACESThe struct member offsets. -
MNUMBONES
public static final int MNUMBONESThe struct member offsets. -
MBONES
public static final int MBONESThe struct member offsets. -
MMATERIALINDEX
public static final int MMATERIALINDEXThe struct member offsets. -
MNAME
public static final int MNAMEThe struct member offsets. -
MNUMANIMMESHES
public static final int MNUMANIMMESHESThe struct member offsets. -
MANIMMESHES
public static final int MANIMMESHESThe struct member offsets. -
MMETHOD
public static final int MMETHODThe struct member offsets. -
MAABB
public static final int MAABBThe struct member offsets. -
MTEXTURECOORDSNAMES
public static final int MTEXTURECOORDSNAMESThe struct member offsets.
-
-
Constructor Details
-
AIMesh
Creates aAIMesh
instance at the current position of the specifiedByteBuffer
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 Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
. -
mPrimitiveTypes
public int mPrimitiveTypes()- Returns:
- the value of the
mPrimitiveTypes
field.
-
mNumVertices
public int mNumVertices()- Returns:
- the value of the
mNumVertices
field.
-
mNumFaces
public int mNumFaces()- Returns:
- the value of the
mNumFaces
field.
-
mVertices
- Returns:
- a
AIVector3D.Buffer
view of the struct array pointed to by themVertices
field.
-
mNormals
- Returns:
- a
AIVector3D.Buffer
view of the struct array pointed to by themNormals
field.
-
mTangents
- Returns:
- a
AIVector3D.Buffer
view of the struct array pointed to by themTangents
field.
-
mBitangents
- Returns:
- a
AIVector3D.Buffer
view of the struct array pointed to by themBitangents
field.
-
mColors
- Returns:
- a
PointerBuffer
view of themColors
field.
-
mColors
- Returns:
- a
AIColor4D
view of the pointer at the specified index of themColors
field.
-
mTextureCoords
- Returns:
- a
PointerBuffer
view of themTextureCoords
field.
-
mTextureCoords
- Returns:
- a
AIVector3D
view of the pointer at the specified index of themTextureCoords
field.
-
mNumUVComponents
- Returns:
- a
IntBuffer
view of themNumUVComponents
field.
-
mNumUVComponents
public int mNumUVComponents(int index) - Returns:
- the value at the specified index of the
mNumUVComponents
field.
-
mFaces
- Returns:
- a
AIFace.Buffer
view of the struct array pointed to by themFaces
field.
-
mNumBones
public int mNumBones()- Returns:
- the value of the
mNumBones
field.
-
mBones
- Returns:
- a
PointerBuffer
view of the data pointed to by themBones
field.
-
mMaterialIndex
public int mMaterialIndex()- Returns:
- the value of the
mMaterialIndex
field.
-
mName
- Returns:
- a
AIString
view of themName
field.
-
mNumAnimMeshes
public int mNumAnimMeshes()- Returns:
- the value of the
mNumAnimMeshes
field.
-
mAnimMeshes
- Returns:
- a
PointerBuffer
view of the data pointed to by themAnimMeshes
field.
-
mMethod
public int mMethod()- Returns:
- the value of the
mMethod
field.
-
mAABB
- Returns:
- a
AIAABB
view of themAABB
field.
-
mTextureCoordsNames
- Returns:
- a
PointerBuffer
view of the data pointed to by themTextureCoordsNames
field.
-
mPrimitiveTypes
Sets the specified value to themPrimitiveTypes
field. -
mNumVertices
Sets the specified value to themNumVertices
field. -
mVertices
Sets the address of the specifiedAIVector3D.Buffer
to themVertices
field. -
mNormals
Sets the address of the specifiedAIVector3D.Buffer
to themNormals
field. -
mTangents
Sets the address of the specifiedAIVector3D.Buffer
to themTangents
field. -
mBitangents
Sets the address of the specifiedAIVector3D.Buffer
to themBitangents
field. -
mColors
Copies the specifiedPointerBuffer
to themColors
field. -
mColors
Copies the address of the specifiedAIColor4D.Buffer
at the specified index of themColors
field. -
mColors
-
mTextureCoords
Copies the specifiedPointerBuffer
to themTextureCoords
field. -
mTextureCoords
Copies the address of the specifiedAIVector3D.Buffer
at the specified index of themTextureCoords
field. -
mTextureCoords
-
mNumUVComponents
Copies the specifiedIntBuffer
to themNumUVComponents
field. -
mNumUVComponents
Sets the specified value at the specified index of themNumUVComponents
field. -
mFaces
Sets the address of the specifiedAIFace.Buffer
to themFaces
field. -
mBones
Sets the address of the specifiedPointerBuffer
to themBones
field. -
mMaterialIndex
Sets the specified value to themMaterialIndex
field. -
mName
Copies the specifiedAIString
to themName
field. -
mName
Passes themName
field to the specifiedConsumer
. -
mAnimMeshes
Sets the address of the specifiedPointerBuffer
to themAnimMeshes
field. -
mMethod
Sets the specified value to themMethod
field. -
mAABB
Copies the specifiedAIAABB
to themAABB
field. -
mAABB
Passes themAABB
field to the specifiedConsumer
. -
mTextureCoordsNames
Sets the address of the specifiedPointerBuffer
to themTextureCoordsNames
field. -
set
public AIMesh set(int mPrimitiveTypes, int mNumVertices, AIVector3D.Buffer mVertices, @Nullable AIVector3D.Buffer mNormals, @Nullable AIVector3D.Buffer mTangents, @Nullable AIVector3D.Buffer mBitangents, PointerBuffer mColors, PointerBuffer mTextureCoords, IntBuffer mNumUVComponents, AIFace.Buffer mFaces, @Nullable PointerBuffer mBones, int mMaterialIndex, AIString mName, @Nullable PointerBuffer mAnimMeshes, int mMethod, AIAABB mAABB, @Nullable PointerBuffer mTextureCoordsNames) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newAIMesh
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newAIMesh
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newAIMesh
instance allocated withBufferUtils
. -
create
Returns a newAIMesh
instance for the specified memory address. -
createSafe
-
malloc
Returns a newAIMesh.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newAIMesh.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newAIMesh.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aAIMesh.Buffer
instance 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.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
malloc
Returns a newAIMesh
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newAIMesh
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newAIMesh.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newAIMesh.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nmPrimitiveTypes
public static int nmPrimitiveTypes(long struct) Unsafe version ofmPrimitiveTypes()
. -
nmNumVertices
public static int nmNumVertices(long struct) Unsafe version ofmNumVertices()
. -
nmNumFaces
public static int nmNumFaces(long struct) Unsafe version ofmNumFaces()
. -
nmVertices
Unsafe version ofmVertices()
. -
nmNormals
Unsafe version ofmNormals()
. -
nmTangents
Unsafe version ofmTangents()
. -
nmBitangents
Unsafe version ofmBitangents()
. -
nmColors
Unsafe version ofmColors()
. -
nmColors
Unsafe version ofmColors
. -
nmTextureCoords
Unsafe version ofmTextureCoords()
. -
nmTextureCoords
Unsafe version ofmTextureCoords
. -
nmNumUVComponents
Unsafe version ofmNumUVComponents()
. -
nmNumUVComponents
public static int nmNumUVComponents(long struct, int index) Unsafe version ofmNumUVComponents
. -
nmFaces
Unsafe version ofmFaces()
. -
nmNumBones
public static int nmNumBones(long struct) Unsafe version ofmNumBones()
. -
nmBones
Unsafe version ofmBones
. -
nmMaterialIndex
public static int nmMaterialIndex(long struct) Unsafe version ofmMaterialIndex()
. -
nmName
Unsafe version ofmName()
. -
nmNumAnimMeshes
public static int nmNumAnimMeshes(long struct) Unsafe version ofmNumAnimMeshes()
. -
nmAnimMeshes
Unsafe version ofmAnimMeshes
. -
nmMethod
public static int nmMethod(long struct) Unsafe version ofmMethod()
. -
nmAABB
Unsafe version ofmAABB()
. -
nmTextureCoordsNames
Unsafe version ofmTextureCoordsNames
. -
nmPrimitiveTypes
public static void nmPrimitiveTypes(long struct, int value) Unsafe version ofmPrimitiveTypes
. -
nmNumVertices
public static void nmNumVertices(long struct, int value) Sets the specified value to themNumVertices
field of the specifiedstruct
. -
nmNumFaces
public static void nmNumFaces(long struct, int value) Sets the specified value to themNumFaces
field of the specifiedstruct
. -
nmVertices
Unsafe version ofmVertices
. -
nmNormals
Unsafe version ofmNormals
. -
nmTangents
Unsafe version ofmTangents
. -
nmBitangents
Unsafe version ofmBitangents
. -
nmColors
Unsafe version ofmColors
. -
nmColors
Unsafe version ofmColors
. -
nmTextureCoords
Unsafe version ofmTextureCoords
. -
nmTextureCoords
Unsafe version ofmTextureCoords
. -
nmNumUVComponents
Unsafe version ofmNumUVComponents
. -
nmNumUVComponents
public static void nmNumUVComponents(long struct, int index, int value) Unsafe version ofmNumUVComponents
. -
nmFaces
Unsafe version ofmFaces
. -
nmNumBones
public static void nmNumBones(long struct, int value) Sets the specified value to themNumBones
field of the specifiedstruct
. -
nmBones
Unsafe version ofmBones
. -
nmMaterialIndex
public static void nmMaterialIndex(long struct, int value) Unsafe version ofmMaterialIndex
. -
nmName
Unsafe version ofmName
. -
nmNumAnimMeshes
public static void nmNumAnimMeshes(long struct, int value) Sets the specified value to themNumAnimMeshes
field of the specifiedstruct
. -
nmAnimMeshes
Unsafe version ofmAnimMeshes
. -
nmMethod
public static void nmMethod(long struct, int value) Unsafe version ofmMethod
. -
nmAABB
Unsafe version ofmAABB
. -
nmTextureCoordsNames
Unsafe version ofmTextureCoordsNames
. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-