文档

Unity Engine

Unity Engine

defaultShader

Return the default Shader for this pipeline.
阅读时间1 分钟最后更新于 1 个月前

Definition

public virtual Shader defaultShader { get; }

Remarks

This is called whenever a Material is created in the Editor to ensure that the Material has a valid shader