MaterialRef

class guerilla.MaterialRef

Bases: guerilla.Material

A MaterialRef is a Material which is loaded from a file, as a reference

MaterialRef provides a convenient way of using file based shaders, so whenever you update

the shader file, any reference to the shader file is automatically updated. Since a MaterialRef is also a reference, it’s content can be overloaded. Create a MaterialRef using the Material.createReference function.