This is the resource repositry for my memory managment lecture / workshop series at Breda University of applied sciences - Games. It is mainly targeted for game developers
| // This work (SDLblit.cpp, by Cory Bloyd) is free of known copyright restrictions. | |
| // https://creativecommons.org/publicdomain/zero/1.0/ | |
| #include <SDL.h> | |
| inline uint32_t argb(uint8_t a, uint8_t r, uint8_t g, uint8_t b) { return (a<<24) | (r << 16) | (g << 8) | (b << 0); } | |
| int main(int argc, char *argv[]) { | |
| SDL_Init(SDL_INIT_VIDEO); | |
| SDL_Rect screenRect = { 0,0,1024,1024 }; |
The following is a writeup of the following things I've independently discovered or been told over the years on how to utilize OpenGL effectively. Not everything in here I gurantee to be factually correct - though several others share similar ideas as present here. Take these are your own peril, like everything else - nothing is absolute; so profile to be sure and check the standards if something here is incorrect. These things presented here I've come to accept as being a safe
This list is an attempt to collect as many free resources about computer graphics- / rendering- techniques, game- / render-engine architecture and optimization techniques. This list doesn't contain every resource that is out there so it'll be expanded in time whenever I find another resource that may help one person or the other.