Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHIViewDesc > API/Runtime/RHI/FRHIViewDesc/FTextureSRV > API/Runtime/RHI/FRHIViewDesc/FTextureSRV/FInitializer
Description
Provided for back-compat with existing code. Consider using SetDimension() 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.
| Name | SetDimensionFromTexture |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
FInitializer & SetDimensionFromTexture
(
FRHITexture * TargetTexture
)