Difference between revisions of "love.window.getPointer"

(Created page)
 
m (Update link to SDL3 SDL_Window)
 
Line 1: Line 1:
 
{{newin|[[12.0]]|120|type=function}}
 
{{newin|[[12.0]]|120|type=function}}
  
Gets a pointer to the window's low level internal object. Currently this is a [https://wiki.libsdl.org/SDL2/SDL_Window SDL_Window] pointer.
+
Gets a pointer to the window's low level internal object. Currently this is a [https://wiki.libsdl.org/SDL3/SDL_Window SDL_Window] pointer.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 10: Line 10:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|light userdata|pointer|A pointer to the window's [https://wiki.libsdl.org/SDL2/SDL_Window SDL_Window] object.}}
+
{{param|light userdata|pointer|A pointer to the window's [https://wiki.libsdl.org/SDL3/SDL_Window SDL_Window] object.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.window]]
 
* [[parent::love.window]]

Latest revision as of 06:57, 16 January 2025

Available since LÖVE 12.0
This function is not supported in earlier versions.


Gets a pointer to the window's low level internal object. Currently this is a SDL_Window pointer.

Function

Synopsis

pointer = love.window.getPointer( )

Arguments

None.

Returns

light userdata pointer
A pointer to the window's SDL_Window object.

See Also

Other Languages