See title. A quick glance into IntrinsicTypes.cs shows that indexers (the [] accessor) are only defined for Buffer and Texture2D while the HLSL language supports them for all non-cube texture types. For example, the following code shows an error in HLSLTools:
See title. A quick glance into IntrinsicTypes.cs shows that indexers (the [] accessor) are only defined for Buffer and Texture2D while the HLSL language supports them for all non-cube texture types. For example, the following code shows an error in HLSLTools:
The error displayed is "Type 'Texture2DArray' does not have an indexer '[uint3]'"