public class android.renderscript.Mesh$AllocationBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: android.renderscript.Mesh$AllocationBuilder
super_class: java.lang.Object
{
android.renderscript.RenderScript mRS;
descriptor: Landroid/renderscript/RenderScript;
flags: (0x0000)
int mVertexTypeCount;
descriptor: I
flags: (0x0000)
android.renderscript.Mesh$AllocationBuilder$Entry[] mVertexTypes;
descriptor: [Landroid/renderscript/Mesh$AllocationBuilder$Entry;
flags: (0x0000)
java.util.Vector mIndexTypes;
descriptor: Ljava/util/Vector;
flags: (0x0000)
public void <init>(android.renderscript.RenderScript);
descriptor: (Landroid/renderscript/RenderScript;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield android.renderscript.Mesh$AllocationBuilder.mRS:Landroid/renderscript/RenderScript;
2: aload 0
iconst_0
putfield android.renderscript.Mesh$AllocationBuilder.mVertexTypeCount:I
3: aload 0
bipush 16
anewarray android.renderscript.Mesh$AllocationBuilder$Entry
putfield android.renderscript.Mesh$AllocationBuilder.mVertexTypes:[Landroid/renderscript/Mesh$AllocationBuilder$Entry;
4: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield android.renderscript.Mesh$AllocationBuilder.mIndexTypes:Ljava/util/Vector;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Landroid/renderscript/Mesh$AllocationBuilder;
0 6 1 rs Landroid/renderscript/RenderScript;
MethodParameters:
Name Flags
rs
public int getCurrentVertexTypeIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mVertexTypeCount:I
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/renderscript/Mesh$AllocationBuilder;
public int getCurrentIndexSetIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mIndexTypes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/renderscript/Mesh$AllocationBuilder;
public android.renderscript.Mesh$AllocationBuilder addVertexAllocation(android.renderscript.Allocation);
descriptor: (Landroid/renderscript/Allocation;)Landroid/renderscript/Mesh$AllocationBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mVertexTypeCount:I
aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mVertexTypes:[Landroid/renderscript/Mesh$AllocationBuilder$Entry;
arraylength
if_icmplt 2
1: new java.lang.IllegalStateException
dup
ldc "Max vertex types exceeded."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mVertexTypes:[Landroid/renderscript/Mesh$AllocationBuilder$Entry;
aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mVertexTypeCount:I
new android.renderscript.Mesh$AllocationBuilder$Entry
dup
aload 0
invokespecial android.renderscript.Mesh$AllocationBuilder$Entry.<init>:(Landroid/renderscript/Mesh$AllocationBuilder;)V
aastore
3: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mVertexTypes:[Landroid/renderscript/Mesh$AllocationBuilder$Entry;
aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mVertexTypeCount:I
aaload
aload 1
putfield android.renderscript.Mesh$AllocationBuilder$Entry.a:Landroid/renderscript/Allocation;
4: aload 0
dup
getfield android.renderscript.Mesh$AllocationBuilder.mVertexTypeCount:I
iconst_1
iadd
putfield android.renderscript.Mesh$AllocationBuilder.mVertexTypeCount:I
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Landroid/renderscript/Mesh$AllocationBuilder;
0 6 1 a Landroid/renderscript/Allocation;
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
a
public android.renderscript.Mesh$AllocationBuilder addIndexSetAllocation(android.renderscript.Allocation, android.renderscript.Mesh$Primitive);
descriptor: (Landroid/renderscript/Allocation;Landroid/renderscript/Mesh$Primitive;)Landroid/renderscript/Mesh$AllocationBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new android.renderscript.Mesh$AllocationBuilder$Entry
dup
aload 0
invokespecial android.renderscript.Mesh$AllocationBuilder$Entry.<init>:(Landroid/renderscript/Mesh$AllocationBuilder;)V
astore 3
start local 3 1: aload 3
aload 1
putfield android.renderscript.Mesh$AllocationBuilder$Entry.a:Landroid/renderscript/Allocation;
2: aload 3
aload 2
putfield android.renderscript.Mesh$AllocationBuilder$Entry.prim:Landroid/renderscript/Mesh$Primitive;
3: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mIndexTypes:Ljava/util/Vector;
aload 3
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
4: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Landroid/renderscript/Mesh$AllocationBuilder;
0 5 1 a Landroid/renderscript/Allocation;
0 5 2 p Landroid/renderscript/Mesh$Primitive;
1 5 3 indexType Landroid/renderscript/Mesh$AllocationBuilder$Entry;
MethodParameters:
Name Flags
a
p
public android.renderscript.Mesh$AllocationBuilder addIndexSetType(android.renderscript.Mesh$Primitive);
descriptor: (Landroid/renderscript/Mesh$Primitive;)Landroid/renderscript/Mesh$AllocationBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new android.renderscript.Mesh$AllocationBuilder$Entry
dup
aload 0
invokespecial android.renderscript.Mesh$AllocationBuilder$Entry.<init>:(Landroid/renderscript/Mesh$AllocationBuilder;)V
astore 2
start local 2 1: aload 2
aconst_null
putfield android.renderscript.Mesh$AllocationBuilder$Entry.a:Landroid/renderscript/Allocation;
2: aload 2
aload 1
putfield android.renderscript.Mesh$AllocationBuilder$Entry.prim:Landroid/renderscript/Mesh$Primitive;
3: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mIndexTypes:Ljava/util/Vector;
aload 2
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
4: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Landroid/renderscript/Mesh$AllocationBuilder;
0 5 1 p Landroid/renderscript/Mesh$Primitive;
1 5 2 indexType Landroid/renderscript/Mesh$AllocationBuilder$Entry;
MethodParameters:
Name Flags
p
public android.renderscript.Mesh create();
descriptor: ()Landroid/renderscript/Mesh;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=1
start local 0 0: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mRS:Landroid/renderscript/RenderScript;
invokevirtual android.renderscript.RenderScript.validate:()V
1: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mVertexTypeCount:I
newarray 11
astore 1
start local 1 2: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mIndexTypes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
newarray 11
astore 2
start local 2 3: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mIndexTypes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
newarray 10
astore 3
start local 3 4: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mIndexTypes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
anewarray android.renderscript.Allocation
astore 4
start local 4 5: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mIndexTypes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
anewarray android.renderscript.Mesh$Primitive
astore 5
start local 5 6: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mVertexTypeCount:I
anewarray android.renderscript.Allocation
astore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 13
9: StackMap locals: android.renderscript.Mesh$AllocationBuilder long[] long[] int[] android.renderscript.Allocation[] android.renderscript.Mesh$Primitive[] android.renderscript.Allocation[] int
StackMap stack:
aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mVertexTypes:[Landroid/renderscript/Mesh$AllocationBuilder$Entry;
iload 7
aaload
astore 8
start local 8 10: aload 6
iload 7
aload 8
getfield android.renderscript.Mesh$AllocationBuilder$Entry.a:Landroid/renderscript/Allocation;
aastore
11: aload 1
iload 7
aload 8
getfield android.renderscript.Mesh$AllocationBuilder$Entry.a:Landroid/renderscript/Allocation;
aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mRS:Landroid/renderscript/RenderScript;
invokevirtual android.renderscript.Allocation.getID:(Landroid/renderscript/RenderScript;)J
lastore
end local 8 12: iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mVertexTypeCount:I
if_icmplt 9
end local 7 14: iconst_0
istore 7
start local 7 15: goto 25
16: StackMap locals:
StackMap stack:
aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mIndexTypes:Ljava/util/Vector;
iload 7
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast android.renderscript.Mesh$AllocationBuilder$Entry
astore 8
start local 8 17: aload 8
getfield android.renderscript.Mesh$AllocationBuilder$Entry.a:Landroid/renderscript/Allocation;
ifnonnull 18
lconst_0
goto 19
StackMap locals: android.renderscript.Mesh$AllocationBuilder$Entry
StackMap stack:
18: aload 8
getfield android.renderscript.Mesh$AllocationBuilder$Entry.a:Landroid/renderscript/Allocation;
aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mRS:Landroid/renderscript/RenderScript;
invokevirtual android.renderscript.Allocation.getID:(Landroid/renderscript/RenderScript;)J
StackMap locals:
StackMap stack: long
19: lstore 9
start local 9 20: aload 4
iload 7
aload 8
getfield android.renderscript.Mesh$AllocationBuilder$Entry.a:Landroid/renderscript/Allocation;
aastore
21: aload 5
iload 7
aload 8
getfield android.renderscript.Mesh$AllocationBuilder$Entry.prim:Landroid/renderscript/Mesh$Primitive;
aastore
22: aload 2
iload 7
lload 9
lastore
23: aload 3
iload 7
aload 8
getfield android.renderscript.Mesh$AllocationBuilder$Entry.prim:Landroid/renderscript/Mesh$Primitive;
getfield android.renderscript.Mesh$Primitive.mID:I
iastore
end local 9 end local 8 24: iinc 7 1
StackMap locals:
StackMap stack:
25: iload 7
aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mIndexTypes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 16
end local 7 26: aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mRS:Landroid/renderscript/RenderScript;
aload 1
aload 2
aload 3
invokevirtual android.renderscript.RenderScript.nMeshCreate:([J[J[I)J
lstore 7
start local 7 27: new android.renderscript.Mesh
dup
lload 7
aload 0
getfield android.renderscript.Mesh$AllocationBuilder.mRS:Landroid/renderscript/RenderScript;
invokespecial android.renderscript.Mesh.<init>:(JLandroid/renderscript/RenderScript;)V
astore 9
start local 9 28: aload 9
aload 6
putfield android.renderscript.Mesh.mVertexBuffers:[Landroid/renderscript/Allocation;
29: aload 9
aload 4
putfield android.renderscript.Mesh.mIndexBuffers:[Landroid/renderscript/Allocation;
30: aload 9
aload 5
putfield android.renderscript.Mesh.mPrimitives:[Landroid/renderscript/Mesh$Primitive;
31: aload 9
areturn
end local 9 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Landroid/renderscript/Mesh$AllocationBuilder;
2 32 1 vtx [J
3 32 2 idx [J
4 32 3 prim [I
5 32 4 indexBuffers [Landroid/renderscript/Allocation;
6 32 5 primitives [Landroid/renderscript/Mesh$Primitive;
7 32 6 vertexBuffers [Landroid/renderscript/Allocation;
8 14 7 ct I
10 12 8 entry Landroid/renderscript/Mesh$AllocationBuilder$Entry;
15 26 7 ct I
17 24 8 entry Landroid/renderscript/Mesh$AllocationBuilder$Entry;
20 24 9 allocID J
27 32 7 id J
28 32 9 newMesh Landroid/renderscript/Mesh;
}
SourceFile: "Mesh.java"
NestHost: android.renderscript.Mesh
InnerClasses:
public AllocationBuilder = android.renderscript.Mesh$AllocationBuilder of android.renderscript.Mesh
Entry = android.renderscript.Mesh$AllocationBuilder$Entry of android.renderscript.Mesh$AllocationBuilder
public final Primitive = android.renderscript.Mesh$Primitive of android.renderscript.Mesh