Operator[] function
Returns a resource variable.
R Operator[](
in uint2 pos
);
pos [in]
Type: uint2The index position. Contains the (x, y) coordinates.
Type: R
A resource variable.
This function is supported for the following types of shaders:
Vertex | Hull | Domain | Geometry | Pixel | Compute |
---|---|---|---|---|---|
x | x |