Version: 2022.2
言語: 日本語

ApplyRulesIfGraphicsAPIAttributeConstructor

マニュアルに切り替える
public ApplyRulesIfGraphicsAPIAttribute (params GraphicsDeviceType[] graphicsDeviceTypes);

パラメーター

graphicsDeviceTypes The array of graphics APIs to match to.

説明

Enable or disable shader keyword filter attributes based on the graphics API.

Unity enables filter attributes if the current build target matches any of the graphicsDeviceTypes.