Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHIViewDesc > API/Runtime/RHI/FRHIViewDesc/FTextureSRV > API/Runtime/RHI/FRHIViewDesc/FTextureSRV/FInitializer
Description
Specifies the type of view to create. Must match the shader parameter this view will be bound to.
The dimension is allowed to differ from the underlying resource's dimensions, e.g. to create a view compatible with a Texture2D<> shader parameter, but where the underlying resource is a texture 2D array.
Some combinations are not valid, e.g. 3D textures can only have 3D views.
| Name | SetDimension |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
FInitializer & SetDimension
(
ETextureDimension InDimension
)