►SDL2 Playlist: • SDL2 Simple Directmedia Layer
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel: / @mikeshah
►Git Repo: https://github.com/MikeShah/SDL2_Tuto...
►Lesson Description: In this lesson I am going to show you how to create a textured surface. Textures differ from surfaces in that the memory of a texture exists on the GPU, so we can truly take advantage of hardware acceleration.
00:00 Recap of how we have drawn our scene
1:35 Loading image with SDL_Surface
2:06 What is a texture
3:18 SDL_CreateTextureFromSurface
4:33 Resource Management with FreeSurface
5:05 SDL_DestroyTexture
5:40 Texturing our Rectangle
6:20 SDL_RenderCopy
►YouTube Channel: / mikeshah
►Please like and subscribe to help the channel!
►Join our free community: https://courses.mshah.io/communities/...