Class MaterialPropertyAttribute
Inheritance
MaterialPropertyAttribute
Syntax
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = true)]
public class MaterialPropertyAttribute : Attribute, _Attribute
Constructors
Declaration
public MaterialPropertyAttribute(string materialPropertyName, MaterialPropertyFormat format, short overrideSizeGPU = -1)
Parameters
Properties
Declaration
public MaterialPropertyFormat Format { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
OverrideSizeGPU
Declaration
public short OverrideSizeGPU { get; }
Property Value