►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/...
Смотрите видео [Ep. 17] Textured Rectangles with SDL Texture and SDL RenderCopy | Introduction to SDL2 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Mike Shah 22 Сентябрь 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 7,298 раз и оно понравилось 144 посетителям.