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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user