GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
SFMLTextureWrapper Class Reference

Class wrapping an SFML texture. More...

#include <ImageManager.h>

Public Member Functions

 SFMLTextureWrapper (const sf::Texture &texture)
 

Public Attributes

sf::Texture texture
 
sf::Image image
 

Detailed Description

Class wrapping an SFML texture.

See also
gd::ImageManager

Member Data Documentation

sf::Image SFMLTextureWrapper::image

Associated sfml image, used for pixel perfect collision for example. If you update the image, call LoadFromImage on texture to update it also.


The documentation for this class was generated from the following files: