GLShader.compileAttachStage

Compiles stage and attaches it to shader.

Note: must be called in the GL thread

class GLShader
bool
compileAttachStage

Parameters

stage gstgl.glslstage.GLSLStage

a #GstGLSLStage to attach

Return Value

Type: bool

whether stage could be compiled and attached to shader