Version: 2023.1
언어: 한국어

GraphicsAPIConstraintAttributeConstructor

매뉴얼로 전환
public GraphicsAPIConstraintAttribute (bool negate, params GraphicsDeviceType[] graphicsDeviceTypes);

파라미터

negate Set to true to enable filter attributes when the graphics API doesn't match any of the 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.