SystemInfo.supportsSetConstantBuffer

Cambiar al Manual
public static bool supportsSetConstantBuffer ;

Descripción

Does the current renderer support binding constant buffers directly? (Read Only)

Methods such as Shader.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.