Version: 2022.3
言語: 日本語

ShaderUtil.GetShaderPlatformKeywordsForBuildTarget

マニュアルに切り替える
public static BuiltinShaderDefine[] GetShaderPlatformKeywordsForBuildTarget (Rendering.ShaderCompilerPlatform shaderCompilerPlatform, BuildTarget buildTarget, Rendering.GraphicsTier tier);
public static BuiltinShaderDefine[] GetShaderPlatformKeywordsForBuildTarget (Rendering.ShaderCompilerPlatform shaderCompilerPlatform, BuildTarget buildTarget);

パラメーター

shaderCompilerPlatform The shader compiler platform.
buildTarget The build target.
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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961