{"action":"created","issue":{"url":"https://api.github.com/repos/cprogrammer1994/ModernGL/issues/193","repository_url":"https://api.github.com/repos/cprogrammer1994/ModernGL","labels_url":"https://api.github.com/repos/cprogrammer1994/ModernGL/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/cprogrammer1994/ModernGL/issues/193/comments","events_url":"https://api.github.com/repos/cprogrammer1994/ModernGL/issues/193/events","html_url":"https://github.com/cprogrammer1994/ModernGL/issues/193","id":334988410,"node_id":"MDU6SXNzdWUzMzQ5ODg0MTA=","number":193,"title":"VAO index array hardcoded to UNSIGNED_INT","user":{"login":"einarf","id":5418180,"node_id":"MDQ6VXNlcjU0MTgxODA=","avatar_url":"https://avatars0.githubusercontent.com/u/5418180?v=4","gravatar_id":"","url":"https://api.github.com/users/einarf","html_url":"https://github.com/einarf","followers_url":"https://api.github.com/users/einarf/followers","following_url":"https://api.github.com/users/einarf/following{/other_user}","gists_url":"https://api.github.com/users/einarf/gists{/gist_id}","starred_url":"https://api.github.com/users/einarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/einarf/subscriptions","organizations_url":"https://api.github.com/users/einarf/orgs","repos_url":"https://api.github.com/users/einarf/repos","events_url":"https://api.github.com/users/einarf/events{/privacy}","received_events_url":"https://api.github.com/users/einarf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-22T19:10:36Z","updated_at":"2018-06-23T20:02:54Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"It could be useful if `UNSIGNED_SHORT` was also supported as it makes scene loading from for example gltf a lot more convenient. Might be something I'll take a stab at.\r\n\r\nhttps://github.com/cprogrammer1994/ModernGL/blob/e480d5d37c5015e2f11daf9c5a81fe7ac1803c5a/src/VertexArray.cpp#L263"},"comment":{"url":"https://api.github.com/repos/cprogrammer1994/ModernGL/issues/comments/399704378","html_url":"https://github.com/cprogrammer1994/ModernGL/issues/193#issuecomment-399704378","issue_url":"https://api.github.com/repos/cprogrammer1994/ModernGL/issues/193","id":399704378,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTcwNDM3OA==","user":{"login":"cprogrammer1994","id":11232402,"node_id":"MDQ6VXNlcjExMjMyNDAy","avatar_url":"https://avatars1.githubusercontent.com/u/11232402?v=4","gravatar_id":"","url":"https://api.github.com/users/cprogrammer1994","html_url":"https://github.com/cprogrammer1994","followers_url":"https://api.github.com/users/cprogrammer1994/followers","following_url":"https://api.github.com/users/cprogrammer1994/following{/other_user}","gists_url":"https://api.github.com/users/cprogrammer1994/gists{/gist_id}","starred_url":"https://api.github.com/users/cprogrammer1994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cprogrammer1994/subscriptions","organizations_url":"https://api.github.com/users/cprogrammer1994/orgs","repos_url":"https://api.github.com/users/cprogrammer1994/repos","events_url":"https://api.github.com/users/cprogrammer1994/events{/privacy}","received_events_url":"https://api.github.com/users/cprogrammer1994/received_events","type":"User","site_admin":false},"created_at":"2018-06-23T20:02:54Z","updated_at":"2018-06-23T20:02:54Z","author_association":"OWNER","body":"Hi!\r\n\r\nI think ModernGL should support `GL_UNSIGNED_SHORT` index values.\r\n\r\nImplementation:\r\n\r\nVertex arrays should have a property.\r\nThis property should be an int.\r\nAccepted values are 1, 2 and 4 (bytes, shorts and ints)\r\nThe default value should be 4.\r\n\r\nI don't know how should we name this property.\r\n\r\nThanks!\r\n\r\n"}}
{"actor":{"display_login":"cprogrammer1994"}}