// Window (https://wiki.libsdl.org/SDL_GetWindowPixelFormat) func (window *Window) GetPixelFormat() (uint32, error) { f := (uint32)(C.SDL_GetWindowPixelFormat(window.cptr())) if f == PIXELFORMAT_UNKNOWN { return f, GetError() } return f, nil }
func (window *Window) GetPixelFormat() uint32 { _window := (*C.SDL_Window)(unsafe.Pointer(window)) return (uint32)(C.SDL_GetWindowPixelFormat(_window)) }
func (win *Window) GetPixelFormat() uint32 { return uint32(C.SDL_GetWindowPixelFormat(win.c)) }
func (window *Window) GetPixelFormat() uint32 { return (uint32)(C.SDL_GetWindowPixelFormat(window.cptr())) }