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

Contents

Static methods

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

Methods

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

Properties

id: int get
OpenGL texture ID