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
Just wondering how to get the stride of a vertex input so I can create my buffer descriptor correctly. Calling get_type(input.type_id) on layout(location = 0) in vec4 a_Pos; appears to return a Float { array: [] }. There doesn't seem to be any way to get the actual vecsize which I was expecting. Am I missing something here?
The text was updated successfully, but these errors were encountered:
Just wondering how to get the stride of a vertex input so I can create my buffer descriptor correctly. Calling
get_type(input.type_id)
onlayout(location = 0) in vec4 a_Pos;
appears to return aFloat { array: [] }
. There doesn't seem to be any way to get the actualvecsize
which I was expecting. Am I missing something here?The text was updated successfully, but these errors were encountered: