modules.render.image#

class modules.render.image.ImageUpload(path: pathlib.Path = None, width: int = None, height: int = None, mipmap: bool = False, buffer: str = None, _format: int = OpenGL.GL.GL_UNSIGNED_BYTE, _internal_format: int = OpenGL.GL.GL_RGBA)#

Bases: object

__init__(path: Path = None, width: int = None, height: int = None, mipmap: bool = False, buffer: str = None, _format: int = OpenGL.GL.GL_UNSIGNED_BYTE, _internal_format: int = OpenGL.GL.GL_RGBA) None#
buffer: str#
height: int#
mipmap: bool#
path: Path#
width: int#
modules.render.image.create_image_pygame(size, data, texture)#
modules.render.image.load_cubemap_pygame(path: Path, extension, texture)#
modules.render.image.upload_image(texture_id, image: ImageUpload)#