Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHIViewDesc > API/Runtime/RHI/FRHIViewDesc/FTextureSRV > API/Runtime/RHI/FRHIViewDesc/FTextureSRV/FInitializer
Description
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
| Name | SetArrayRange |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
FInitializer & SetArrayRange
(
uint16 InFirstElement,
uint16 InNumElements
)