Class HLSLArray
Attribute defining an HLSL array.
Namespace: UnityEngine.Rendering
Syntax
public class HLSLArray : System.Attribute
Constructors
HLSLArray(Int32, Type)
HLSLSArray constructor.
Declaration
public HLSLArray(int arraySize, Type elementType)
Parameters
Type | Name | Description |
---|---|---|
Int32 | 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 |
---|---|
Int32 |
elementType
Type of the array elements.
Declaration
public Type elementType
Field Value
Type | Description |
---|---|
Type |