# Class cocos.shader.ShaderProgram

## Methods

| __init__(self, vertex_shader=None, fragment_shader=None)
| __del__(self)
| destroy(self)
| setShader(self, shader)
| link(self)
| prog(self)
| install(self)
| uninstall(self)
| uniformLoc(self, var)
| uset1F(self, var, x)
| uset2F(self, var, x, y)
| uset3F(self, var, x, y, z)
| uset4F(self, var, x, y, z, w)
| uset1I(self, var, x)
| uset3I(self, var, x, y, z)
| usetM4F(self, var, m)
| usetTex(self, var, u, v)