GLShader.attachUnlocked

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

Note: must be called in the GL thread

class GLShader
bool
attachUnlocked

Parameters

stage gstgl.glslstage.GLSLStage

a #GstGLSLStage to attach

Return Value

Type: bool

whether stage could be attached to shader