Improve structure support using symbol lookup of named structures in scripts to allow them to appear as just pointers to structs.

This commit is contained in:
Jason Sams
2009-09-03 15:43:13 -07:00
parent 1c1ffa0cab
commit 2525a81522
13 changed files with 194 additions and 88 deletions

View File

@@ -50,6 +50,13 @@ public class SimpleMesh extends BaseObj {
return Allocation.createTyped(mRS, mIndexType);
}
public Type getVertexType(int slot) {
return mVertexTypes[slot];
}
public Type getIndexType() {
return mIndexType;
}
public static class Builder {
RenderScript mRS;