shaderCompilerPlatform | The shader compiler platform. |
buildTarget | 编译目标。 |
tier | An optional graphics tier. |
BuiltinShaderDefine[] Returns an array of built-in shader defines needed to compile a shader for the given target.
Gets the platform keywords for a shader, given a shader compiler platform, build target, and optional graphics tier. These platform keywords are necessary to properly compile a shader for a given target.