Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHIViewDesc > API/Runtime/RHI/FRHIViewDesc/FTextureSRV > API/Runtime/RHI/FRHIViewDesc/FTextureSRV/FInitializer
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include | #include "RHIResources.h" |
FInitializer & SetArrayRange
&40;
uint16 InFirstElement,
uint16 InNumElements
&41;
Remarks
The meaning of array "elements" is given by the dimension of the underlying resource. I.e. a view of a TextureCubeArray resource indexes the array in whole cubes. [0] = the first cube (2D slices 0 to 5) [1] = the second cube (2D slices 6 to 11)
If the view dimension is smaller than the resource dimension, the array range will be further limited. E.g. creating a Texture2D dimension view of a TextureCubeArray resource