GLShader.resource

Get resource property.

class GLShader
@property
string
resource
()

Return Value

Type: string

Resource containing the source code for the shader.

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