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

ShaderData.ConstantInfo.StructSize

public int StructSize;

Description

If the constant is a struct, this stores the size (in bytes) of the struct. Otherwise, the value is 0. (Read Only)