ドキュメント

Unity Engine

Download Unity

Unity Engine

supportsSetConstantBuffer

Does the current renderer support binding constant buffers directly? (Read Only)
読み終わるまでの所要時間 1 分最終更新 1日前

Definition

public static bool supportsSetConstantBuffer { get; }

Remarks

Methods such as SetConstantBuffer and Material.SetConstantBuffer allow overriding all shader parameters that reside in a given constant buffer with a custom GfxBuffer. This property returns true if the currently active renderer supports binding constant buffers. It returns false if the render does not support such bindings.