func (renderer *Renderer) GetRendererOutputSize() (w, h int, status int) { _renderer := (*C.SDL_Renderer)(unsafe.Pointer(renderer)) _w := (*C.int)(unsafe.Pointer(&w)) _h := (*C.int)(unsafe.Pointer(&h)) status = (int)(C.SDL_GetRendererOutputSize(_renderer, _w, _h)) return }
// Renderer (https://wiki.libsdl.org/SDL_GetRendererOutputSize) func (renderer *Renderer) GetRendererOutputSize() (w, h int, err error) { _w := (*C.int)(unsafe.Pointer(&w)) _h := (*C.int)(unsafe.Pointer(&h)) _ret := C.SDL_GetRendererOutputSize(renderer.cptr(), _w, _h) if _ret < 0 { err = GetError() } return }
func (renderer *Renderer) GetRendererOutputSize(w *int, h *int) int { _renderer := (*C.SDL_Renderer)(unsafe.Pointer(renderer)) _w := (*C.int)(unsafe.Pointer(w)) _h := (*C.int)(unsafe.Pointer(h)) return (int)(C.SDL_GetRendererOutputSize(_renderer, _w, _h)) }
func (renderer *Renderer) GetRendererOutputSize() (w, h int, status int) { _w := (*C.int)(unsafe.Pointer(&w)) _h := (*C.int)(unsafe.Pointer(&h)) status = int(C.SDL_GetRendererOutputSize(renderer.cptr(), _w, _h)) return }