ドキュメント

Unity Engine

Unity Engine

minConstantBufferOffsetAlignment

Obsolete - use SystemInfo.constantBufferOffsetAlignment instead. Minimum buffer offset (in bytes) when binding a constant buffer using SetConstantBuffer or Material.SetConstantBuffer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
注意
Deprecated. Use SystemInfo.constantBufferOffsetAlignment instead.
public static bool minConstantBufferOffsetAlignment { get; }

Remarks

If the currently active renderer supports binding constant buffers directly (see SystemInfo.supportsSetConstantBuffer), and supports binding constant buffers with an offset, this property specifies the minimum required alignment in bytes for the offset parameter given to SetConstantBuffer etc. If this property is 0, the current renderer only supports binding constant buffers at offset 0 (for example, DX11 devices that do not expose DX11.1 features).