(self)
Initializes the texture storage.
Initializes the texture storage.
Initializes the texture storage .
def _init_texture(self):
    """Initializes the texture storage."""
    self._texture = GL.glGenTextures(1)
    GL.glBindTexture(GL.GL_TEXTURE_2D, self._texture)
    GL.glTexParameteri(
        GL.GL_TEXTURE_2D, GL.GL_TEXTURE_MAG_FILTER, GL.GL_NEAREST)
    GL.glTexParameteri(
        GL.GL_TEXTURE_2D, GL.GL_TEXTURE_MIN_FILTER, GL.GL_NEAREST)
def _init_texture ( self ) : self . _texture = GL . glGenTextures ( 1 ) GL . glBindTexture ( GL . GL_TEXTURE_2D , self . _texture ) GL . glTexParameteri ( GL . GL_TEXTURE_2D , GL . GL_TEXTURE_MAG_FILTER , GL . GL_NEAREST ) GL . glTexParameteri ( GL . GL_TEXTURE_2D , GL . GL_TEXTURE_MIN_FILTER , GL . GL_NEAREST )