Moving attrib creation to Mesh. Adding arrays as shader inputs.
Removing fixed size arrays. Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
This commit is contained in:
@@ -486,6 +486,10 @@ public class RenderScript {
|
||||
synchronized void nMeshBindIndex(int id, int alloc, int prim, int slot) {
|
||||
rsnMeshBindIndex(mContext, id, alloc, prim, slot);
|
||||
}
|
||||
native void rsnMeshInitVertexAttribs(int con, int id);
|
||||
synchronized void nMeshInitVertexAttribs(int id) {
|
||||
rsnMeshInitVertexAttribs(mContext, id);
|
||||
}
|
||||
native int rsnMeshGetVertexBufferCount(int con, int id);
|
||||
synchronized int nMeshGetVertexBufferCount(int id) {
|
||||
return rsnMeshGetVertexBufferCount(mContext, id);
|
||||
|
||||
Reference in New Issue
Block a user