You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, you can use it, and I shall document it :)
Your spec is correct, and you can find DBYTE, DUBUYTE, ... values in Shader binder: Shader.DUBYTE, Shader.DFLOAT, ...
mult is typically the vector size (think shader) and count the number of item to send. Should be equal to vertex count.
I found GMesh::setGenericArray method and its lua binding also. But has no documentation and any forum article. May I use it?
Made spec based on the code.
Mesh:setGenericArray(index: int, type: int, mult: int, count: int, arrayTable: {})
type(int enum): DBYTE(0), DUBYTE, DSHORT, DUSHORT, DINT, DFLOAT
index: [3, 7] (0~2 already occupied by base elements)
mult: maybe logical item's element count
count: maybe logical item count
arrayTable size must be eqaul to mult * count.
The text was updated successfully, but these errors were encountered: