Constructor HLSLArray 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.