Version: 2023.1
언어: 한국어

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.