Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ShaderData.VariantCompileInfo.ConstantBuffers

public ConstantBufferInfo[] ConstantBuffers;

Description

Constant buffers the compiled variant uses (Read Only). Some platforms don't have constant buffers; however, Unity reports all global constants/uniforms in a single constant buffer.