Tried converting my existing code to follow a diagram on learnopengl.com but it became a mess so I started again only to realise that it uses a bunch of unexplained types in the code examples it gave so now I’m just ignoring most of it and only trying to copy the flow of the diagram. I got as far as the link file’s contents, my question is this, where should I put the vertex attribute array IDs and buffer element array IDs and related data, and is there any data that I have missed that I should put in? Right now I just want to follow the flow enough to get a triangle “mesh” to appear on screen, then I’ll work on adding texture & any other transformative stuff that belongs there to the “mesh” before moving onto objects that require multiple meshes. Hopefully by that point I won’t need to pester people here anymore.
Edit: Whoops forgot the link
Edit 2: Scrap advice on the vertex attribute array, finally understood what the hell that was, just the variables in the crafters/shaders prior to the main() function, got some code in for that now so now I just need advice on the index array stuff, should those be used along side the vertex attribute array or in place of?