Class SurfaceDataAttributes
Attribute specifying the parameters of a surface data field.
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class SurfaceDataAttributes : Attribute
Constructors
Name | Description |
---|---|
Surface |
SurfaceDataAttributes constructor. |
Surface |
SurfaceDataAttributes constructor. |
Fields
Name | Description |
---|---|
check |
Field is a normalized vector. |
display |
Display names overrides for the field. |
is |
True if the field is a direction. |
precision | Field precision. |
preprocessor | If not empty, add a preprocessor #if / #endif with the string provided around the generated hlsl code |
s |
True if the field is an sRGB value. |