GLShader.attachUnlocked

bool attachUnlocked(gstgl.glslstage.GLSLStage stage)

Attaches stage to shader. stage must have been successfully compiled with [gstgl.glslstage.GLSLStage.compile].

Note

must be called in the GL thread

Parameters

stagea #GstGLSLStage to attach

Returns

whether stage could be attached to shader