GLSLVersion.profileFromString

Note: this function expects either a #version GLSL preprocesser directive or a valid GLSL version and/or profile.

struct GLSLVersion
static
bool
profileFromString

Parameters

string_ string

a valid GLSL #version string

versionRet gstgl.types.GLSLVersion

resulting #GstGLSLVersion

profileRet gstgl.types.GLSLProfile

resulting #GstGLSLVersion

Return Value

Type: bool

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