Texture.bind

Bind a texture for rendering.

This function is not part of the graphics API, it mustn't be used when drawing SFML entities. It must be used only if you mix Texture with OpenGL code.

class Texture
static
void
bind

Parameters

texture Texture

The texture to bind. Can be null to use no texture.

Meta