ドキュメント

Unity Engine

Download Unity

Unity Engine

supportsDepthClamp

Indicates whether the current platform and graphics API support depth clamping, that is, disabling rasterizer depth clipping. (Read Only)
読み終わるまでの所要時間 1 分最終更新 18日前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool supportsDepthClamp { get; }

Remarks

When depth clamping is enabled, for example by disabling the ShaderLab ZClip state, depth values are clamped to the depth range instead of clipping the geometry against the near and far planes. Not all graphics APIs and devices support this; when this property is false, ZClip state changes have no effect.