2021-01-27 10:35:47 +00:00

11 lines
279 B
Python

class Drawable:
"""A base class for all classes holding opengl data."""
def draw(self, *args, **kwargs):
"""Draw the opengl data."""
raise NotImplementedError
def unload(self):
"""Unload the opengl data."""
raise NotImplementedError