GM: surface get texture
From GMpedia.org Wiki
- The correct title of this article is surface_get_texture(id). It appears incorrectly here because of technical restrictions.
- The correct title of this article is surface_get_width(). It appears incorrectly here because of technical restrictions.
Arguments
id = name of the variable which holds the ID of the surface (see surface_create).
Limitations
none.
Note: Please remove limitations and port them in the "Remarks" section at the end of the article.
This function returns the texture corresponding to the surface with the given ID. You can use this function to draw objects with textures, with the image of this surface.
[edit] See Also
- Surfaces - a complete Game Maker tutorial in surfaces.
- Textures
This article was originally found at the Game Maker Knowledge Base, contributed by Eyas Sharaiha.
See the talk page for details
See the talk page for details

