SDL_UnlockTexture

Use this function to unlock a texture, uploading the changes to video memory, if needed.
使用该函数可以解除锁定一个纹理。如果需要,会把改变上传至显存中。

Syntax 语法

  1. void SDL_UnlockTexture(SDL_Texture* texture)

Function Parameters 函数参数

texturea texture locked by SDL_LockTexture()SDL_LockTexture()函数锁定过的纹理

Code Examples 代码示例

  1. 暂无

Remarks 注意

alertWARNING: See SDL bug #1586 before using this function!
alert警告:在使用该函数前应参考SDL bug #1586

Related Functions 相关函数

SDL_LockTexture


Translated by SteDeshain
Reference to http://wiki.libsdl.org/SDL_UnlockTexture