Set resource property.
Resource containing the source code for the shader.
If the shader source is not coming from a resource, this will be null.
Builder instance for fluent chaining
Set resource property.