/Engine/Source/Runtime/RHI/Public/RHIResources.h
Provided for back-compat with existing code. Consider usingSetDimension()instead for more direct control over the view. For example, it is possible to create a 2D view of a 2DArray texture, but not using this function which always choses 2DArray dimension.
FInitializer & SetDimensionFromTexture &40; FRHITexture &42; TargetTexture &41;