glslStringGetVersionProfile

Note: this function first searches the first 1 kilobytes for a #version preprocessor directive and then executes gstgl.global.glslVersionProfileFromString.

bool
glslStringGetVersionProfile

Parameters

s string

string to search for a valid #version string

version_ gstgl.types.GLSLVersion

resulting #GstGLSLVersion

profile gstgl.types.GLSLProfile

resulting #GstGLSLProfile

Return Value

Type: bool

TRUE if a valid #version string was found, FALSE otherwise