Class PackingAttribute
Attribute defining packing.
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]
public class PackingAttribute : Attribute
Constructors
Name | Description |
---|---|
Packing |
Packing Attribute constructor. |
Packing |
Packing Attribute constructor. |
Fields
Name | Description |
---|---|
check |
True if the field is an sRGB value. |
display |
Display names. |
is |
True if the field is a direction. |
offset |
Offset in source. |
packing |
Packing scheme. |
preprocessor | If not empty, add a preprocessor #if / #endif with the string provided around the generated hlsl code |
range | Minimum and Maximum value. |
s |
True if the field is an sRGB value. |
size |
Size in bits. |