Package org.robovm.compiler.llvm
Class VectorStructureType
java.lang.Object
org.robovm.compiler.llvm.Type
org.robovm.compiler.llvm.UserType
org.robovm.compiler.llvm.AggregateType
org.robovm.compiler.llvm.StructureType
org.robovm.compiler.llvm.VectorStructureType
- All Implemented Interfaces:
Writable
public class VectorStructureType extends StructureType
- Version:
- $Id$
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.robovm.compiler.llvm.Writable
Writable.Provider -
Field Summary
Fields inherited from class org.robovm.compiler.llvm.StructureType
ATTR_NOT_SINGLE_INT_STRUCT, ATTR_UNALIGNED, types -
Constructor Summary
Constructors Constructor Description VectorStructureType(int ownMembersOffset, Type... types)VectorStructureType(String alias, Type... types)VectorStructureType(Type... types) -
Method Summary
Modifier and Type Method Description StringgetDefinition()booleanisVectorArray()voidwriteDefinition(Writer writer)Methods inherited from class org.robovm.compiler.llvm.StructureType
equals, getAttributes, getOwnMembersOffset, getTypeAt, getTypeCount, getTypes, hashCode
-
Constructor Details
-
VectorStructureType
-
VectorStructureType
-
VectorStructureType
-
-
Method Details
-
isVectorArray
public boolean isVectorArray()- Returns:
- true if vector consists of another vector structs (not primitives)\ and will be translated into struct of array of primitive vector example is MatrixFloat2x2
-
writeDefinition
- Overrides:
writeDefinitionin classStructureType- Throws:
IOException
-
getDefinition
- Overrides:
getDefinitionin classStructureType
-