Texture.bind

Bind a texture for rendering. * This function is not part of the graphics API, it mustn't be used when drawing DSFML entities. It must be used only if you mix Texture with OpenGL code. *

class Texture
static
void
bind

Parameters

texture
Type: Texture

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

Meta