Class HLSLArray
Attribute defining an HLSL array.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class HLSLArray : Attribute
Constructors
HLSLArray(int, Type)
HLSLSArray constructor.
Declaration
public HLSLArray(int arraySize, Type elementType)
Parameters
Type | Name | Description |
---|---|---|
int | arraySize | Size of the array. |
Type | elementType | Type of the array elements. |
Fields
arraySize
Size of the array.
Declaration
public int arraySize
Field Value
Type | Description |
---|---|
int |
elementType
Type of the array elements.
Declaration
public Type elementType
Field Value
Type | Description |
---|---|
Type |