-
Notifications
You must be signed in to change notification settings - Fork 74
Sdl RendererCreateTexture
Tangent 128 edited this page Mar 28, 2015
·
3 revisions
Create a texture.
tex, err = function Renderer:createTexture(format, access, width, height)
- format, the pixel format (see SDL.pixelFormat)
- access, the texture access (see SDL.textureAccess)
- width, the width
- height, the height
- tex, the texture or nil on failure (see Texture)
- err, the error message