SDL 简单学习
文章目录
SDL 简单学习
更详细的信息请查看SDL wiki
备注
此处主要是学习用SDL制作一个播放器的一些常用的函数,具体的过程看下图:
详细介绍
SDL_Init()
初始化SDL
SDL_CreateWindow()
Use this function to create a window with the specified position, dimensions, and flags.
SDL_CreateRenderer()
Use this function to create a 2D rendering context for a window.
SDL_CreateTexture()
Use this function to create a texture for a rendering context.
SDL_UpdateTexture()
Use this function to update the given texture rectangle with new pixel data.
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论