Documentation ¶
Index ¶
- Constants
- func Init(flags InitFlags) error
- func IsBMP(rw *sdl.RWops) bool
- func IsCUR(rw *sdl.RWops) bool
- func IsGIF(rw *sdl.RWops) bool
- func IsICO(rw *sdl.RWops) bool
- func IsJPG(rw *sdl.RWops) bool
- func IsLBM(rw *sdl.RWops) bool
- func IsPCX(rw *sdl.RWops) bool
- func IsPNG(rw *sdl.RWops) bool
- func IsPNM(rw *sdl.RWops) bool
- func IsTIF(rw *sdl.RWops) bool
- func IsWEBP(rw *sdl.RWops) bool
- func IsXCF(rw *sdl.RWops) bool
- func IsXPM(rw *sdl.RWops) bool
- func IsXV(rw *sdl.RWops) bool
- func Linked_Version() *sdl.Version
- func Load(name string) (*sdl.Surface, error)
- func LoadBMP_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadCUR_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadGIF_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadICO_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadJPG_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadLBM_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadPCX_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadPNG_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadPNM_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadTGA_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadTIF_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadTexture(r *sdl.Renderer, name string) (*sdl.Texture, error)
- func LoadTextureTyped_RW(r *sdl.Renderer, rw *sdl.RWops, freesrc bool, t string) (*sdl.Texture, error)
- func LoadTexture_RW(r *sdl.Renderer, rw *sdl.RWops, freesrc bool) (*sdl.Texture, error)
- func LoadTyped_RW(rw *sdl.RWops, freesrc bool, t string) (*sdl.Surface, error)
- func LoadWEBP_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadXCF_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadXPM_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func LoadXV_RW(rw *sdl.RWops) (*sdl.Surface, error)
- func Load_RW(rw *sdl.RWops, freesrc bool) (*sdl.Surface, error)
- func Quit()
- func VERSION() *sdl.Version
- type InitFlags
Constants ¶
View Source
const ( MAJOR_VERSION = C.SDL_IMAGE_MAJOR_VERSION MINOR_VERSION = C.SDL_IMAGE_MINOR_VERSION PATCHLEVEL = C.SDL_IMAGE_PATCHLEVEL )
Variables ¶
This section is empty.
Functions ¶
func Linked_Version ¶
func LoadTextureTyped_RW ¶
func LoadTexture_RW ¶
Types ¶
type InitFlags ¶
type InitFlags C.IMG_InitFlags
const ( INIT_JPG InitFlags = C.IMG_INIT_JPG INIT_PNG InitFlags = C.IMG_INIT_PNG INIT_TIF InitFlags = C.IMG_INIT_TIF INIT_WEBP InitFlags = C.IMG_INIT_WEBP )
Click to show internal directories.
Click to hide internal directories.