vispy.gloo.tests.test_program module

class vispy.gloo.tests.test_program.DummyCanvas[source]

Bases: object

class vispy.gloo.tests.test_program.DummyParser[source]

Bases: vispy.gloo.glir.BaseGlirParser

parse(commands)[source]

Parse the GLIR commands. Or sent them away.

property shader_compatibility

Whether to convert shading code. Valid values are ‘es2’ and ‘desktop’. If None, the shaders are not modified.

class vispy.gloo.tests.test_program.ProgramTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_attributes()[source]
test_draw()[source]
test_error()[source]
test_init()[source]
test_setting_shaders()[source]
test_uniform()[source]
test_varyings()[source]
test_vbo()[source]