GLShader.resource

string resource() @property

Get resource property.

Returns

Resource containing the source code for the shader.

If the shader source is not coming from a resource, this will be null.