Texture()
Construct an empty texture. See load to build the texture.
void setFilter(FilterType type, FilterValue value)
Set the texture filters.
void updateZone(unsigned int x, unsigned int y, unsigned int w, unsigned int h, Uint8 *data)
Update a zone in the texture.
bool load(std::string pathToImage)
Build the texture from an image.
static Ptr< Texture > createColorBuffer(unsigned int width, unsigned int height)
Create a color buffer (used in framebuffers).
static Ptr< Texture > Blank
Default blank texture.
2D/3D texture management.
static void disable()
Clear the current texture for drawing.
static void use(Ptr< Texture > texture)
Use the current texture for drawing.
static void generateBlankTexture()
Used to create the Texture::Blank texture.