Welcome to Python-flavored Magnum! Please note that, while already being rather stable, this functionality is still considered experimental and some APIs might get changed without preserving full backwards compatibility.

magnum.gl.AbstractTexture class

Base for textures


Static methods

def unbind(arg0: int, /) -> None
Unbind any texture from given texture unit


def bind(self, arg0: int, /) -> None
Bind texture to given texture unit


id: int get
OpenGL texture ID