Operator[] function

Returns a resource variable of a RWTexture3D.

Syntax

R Operator[](
  in uint3 pos
);

Parameters

pos [in]

Type: uint3

The index position. Contains the (x, y, z) coordinates.

Return value

Type: R

A resource variable.

Remarks

This function is supported for the following types of shaders:

VertexHullDomainGeometryPixelCompute
xx

 

See also

RWTexture3D
Shader Model 5

 

 

Show: