Constructor MaterialPropertyAttribute
MaterialPropertyAttribute(string, short)
Constructs a material property attribute.
Declaration
public MaterialPropertyAttribute(string materialPropertyName, short overrideSizeGPU = -1)
Parameters
| Type | Name | Description |
|---|---|---|
| string | materialPropertyName | The name of the material property. |
| short | overrideSizeGPU | An optional size of the property on the GPU. This is in bytes. |