3.3.2.7. TextVertexArray

class PyDviGui.DviGlViewer.TextVertexArray.TextVertexArray(image_texture, items=None)[source]

Bases: PyOpenGLng.HighLevelApi.VertexArrayObject.GlVertexArrayObject

This class wraps a Text Vertex Array.

_logger = <logging.Logger object at 0x86e8d50>
bind_to_shader(shader_program_interface)[source]
draw(shader_program)[source]
set(positions, texture_coordinates, colours)

Set the vertex array from a numpy array.

Previous topic

3.3.2.6. ShaderProgramesV4

Next topic

3.3.2.8. TextureFont

This Page