Beispiel #1
0
class GLShared(object):
    def __init__(self) -> None:
        self.shader_cache = ShaderCache()

        self.text = TextRender(self, sans_serif_atlas)

    def initializeGL(self) -> None:
        #self.shader_cache.initializeGL()

        self.text.initializeGL()
        self.text.updateTexture()
Beispiel #2
0
class GLShared(object):
    def __init__(self):
        self.shader_cache = ShaderCache()

        self.text = TextRender(self, sans_serif_atlas)

    def initializeGL(self):
        #self.shader_cache.initializeGL()

        self.text.initializeGL()
        self.text.updateTexture()
Beispiel #3
0
    def __init__(self) -> None:
        self.shader_cache = ShaderCache()

        self.text = TextRender(self, sans_serif_atlas)
Beispiel #4
0
    def __init__(self):
        self.shader_cache = ShaderCache()

        self.text = TextRender(self, sans_serif_atlas)