Texture
Object Hierarchy:
Description:
[ CCode ( cname = "SDL_Texture" , cprefix = "SDL_" , free_function = "SDL_DestroyTexture" ) ]
[ Compact ]
public class Texture
Content:
Static methods:
Methods:
- public void @unlock ()
- public int do_lock (Rect? rect, out void* pixels, out int pitch)
- public int get_alpha_mod (out uint8 alpha)
- public int get_blend_mode (out BlendMode blend_mode)
- public int get_color_mod (out uint8 r, out uint8 g, out uint8 b)
- public void gl_bind (ref float texw, ref float texh)
- public int gl_unbind ()
- public int query (out PixelRAWFormat format, out int access, out int w, out int h)
- public int set_alpha_mod (uint8 alpha)
- public int set_blend_mode (BlendMode blend_mode)
- public int set_color_mod (uint8 r, uint8 g, uint8 b)
- public int update (Rect? rect, void* pixels, int pitch)
- public int update_yuv (Rect? rect, uint8[] yplane, int ypitch, uint8[] uplane, int upitch, uint8[] vplane, int vpitch)