UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FD3D12ShaderResourceView_RHI Class Reference

#include <D3D12View.h>

+ Inheritance diagram for FD3D12ShaderResourceView_RHI:

Public Member Functions

 FD3D12ShaderResourceView_RHI (FD3D12Device *InDevice, FRHIViewableResource *InResource, FRHIViewDesc const &InViewDesc, FD3D12ShaderResourceView_RHI *FirstLinkedObject)
 
virtual void CreateView ()
 
virtual void UpdateView (FD3D12ContextArray const &Contexts)
 
virtual void ResourceRenamed (FD3D12ContextArray const &Contexts, FD3D12BaseShaderResource *, FD3D12ResourceLocation *) override
 
virtual FRHIDescriptorHandle GetBindlessHandle () const override
 
- Public Member Functions inherited from FRHIShaderResourceView
 FRHIShaderResourceView (FRHIViewableResource *InResource, FRHIViewDesc const &InViewDesc)
 
- Public Member Functions inherited from FRHIView
 FRHIView (ERHIResourceType InResourceType, FRHIViewableResource *InResource, FRHIViewDesc const &InViewDesc)
 
FRHIViewableResourceGetResource () const
 
FRHIBufferGetBuffer () const
 
FRHITextureGetTexture () const
 
bool IsBuffer () const
 
bool IsTexture () const
 
FRHIViewDesc const & GetDesc () const
 
- Public Member Functions inherited from FRHIResource
RHI_API FRHIResource (ERHIResourceType InResourceType)
 
uint32 AddRef () const
 
uint32 Release () const
 
uint32 GetRefCount () const
 
bool IsValid () const
 
void DisableLifetimeExtension ()
 
ERHIResourceType GetType () const
 
FName GetOwnerName () const
 
void SetOwnerName (FName InOwnerName)
 
- Public Member Functions inherited from FD3D12ShaderResourceView
 FD3D12ShaderResourceView (FD3D12Device *InDevice, FD3D12ShaderResourceView *FirstLinkedObject, ERHIDescriptorType InDescriptorType, FD3D12RayTracingScene *InRayTracingScene=nullptr)
 
void CreateView (FResourceInfo const &InResource, D3D12_SHADER_RESOURCE_VIEW_DESC const &InD3DViewDesc, EFlags InFlags)
 
void UpdateView (FD3D12ContextArray const &Contexts, const FResourceInfo &InResource, const D3D12_SHADER_RESOURCE_VIEW_DESC &InD3DViewDesc, EFlags InFlags)
 
bool GetSkipFastClearFinalize () const
 
void UpdateMinLODClamp (FD3D12ContextArray const &Contexts, float MinLODClamp)
 
FD3D12RayTracingSceneGetRayTracingScene () const
 
- Public Member Functions inherited from TD3D12View< FD3D12ShaderResourceView, D3D12_SHADER_RESOURCE_VIEW_DESC >
D3D12_SHADER_RESOURCE_VIEW_DESC const & GetD3DDesc () const
 
- Public Member Functions inherited from FD3D12View
FD3D12ResourceGetResource () const
 
FD3D12BaseShaderResourceGetShaderResource () const
 
FD3D12ResourceLocationGetResourceLocation () const
 
TConstArrayView< FD3D12ResidencyHandle * > GetResidencyHandles () const
 
FD3D12ViewSubset const & GetViewSubset () const
 
FD3D12OfflineDescriptor GetOfflineCpuHandle () const
 
FRHIDescriptorHandle GetBindlessHandle () const
 
constexpr bool IsBindless () const
 
- Public Member Functions inherited from FD3D12DeviceChild
 FD3D12DeviceChild (FD3D12Device *InParent=nullptr)
 
FORCEINLINE FD3D12DeviceGetParentDevice () const
 
FD3D12DeviceGetParentDevice_Unsafe () const
 
- Public Member Functions inherited from FD3D12DeferredInitView< FD3D12ShaderResourceView_RHI >
void CreateViews (FRHICommandListBase &RHICmdList)
 
- Public Member Functions inherited from FD3D12LinkedAdapterObject< ObjectType >
 ~FD3D12LinkedAdapterObject ()
 
FORCEINLINE bool IsHeadLink () const
 
ObjectType * GetLinkedObject (uint32 GPUIndex) const
 
ObjectType * GetFirstLinkedObject () const
 
FRHIGPUMask GetLinkedObjectsGPUMask () const
 
FLinkedObjectIterator begin ()
 
FLinkedObjectIterator end ()
 

Additional Inherited Members

- Public Types inherited from FD3D12ShaderResourceView
enum class  EFlags : uint8 { None = 0 , SkipFastClearFinalize = 1 << 0 }
 
- Public Types inherited from FD3D12View
enum class  EReason { InitialCreate , UpdateOrRename }
 
- Public Types inherited from FD3D12LinkedAdapterObject< ObjectType >
using LinkedObjectType = ObjectType
 
using FDualLinkedObjectIterator = TD3D12DualLinkedObjectIterator< ObjectType, ObjectType >
 
- Static Public Member Functions inherited from FD3D12LinkedAdapterObject< ObjectType >
template<typename ReturnType , typename CreationCoreFunction , typename CreationParameterFunction >
static ReturnType * CreateLinkedObjects (FRHIGPUMask GPUMask, const CreationParameterFunction &pfnGetCreationParameter, const CreationCoreFunction &pfnCreationCore)
 
- Static Public Attributes inherited from FD3D12ShaderResourceView
static constexpr FD3D12OfflineDescriptor FD3D12DefaultViews::* Null { &FD3D12DefaultViews::NullSRV }
 
- Protected Member Functions inherited from FRHIResource
virtual RHI_API ~FRHIResource ()
 
- Protected Member Functions inherited from FD3D12ShaderResourceView
void UpdateResourceInfo (const FResourceInfo &InResource, const D3D12_SHADER_RESOURCE_VIEW_DESC &InD3DViewDesc, EFlags InFlags)
 
virtual void UpdateDescriptor () override
 
- Protected Member Functions inherited from TD3D12View< FD3D12ShaderResourceView, D3D12_SHADER_RESOURCE_VIEW_DESC >
 TD3D12View (FD3D12Device *InDevice, ERHIDescriptorType InDescriptorType, ERHIDescriptorHeapType InHeapType, TD3D12View *FirstLinkedObject)
 
void CreateView (FResourceInfo const &InResource, D3D12_SHADER_RESOURCE_VIEW_DESC const &InD3DViewDesc)
 
void UpdateView (FD3D12ContextArray const &Contexts, FResourceInfo const &InResource, D3D12_SHADER_RESOURCE_VIEW_DESC const &InD3DViewDesc)
 
- Protected Member Functions inherited from FD3D12View
 FD3D12View ()=delete
 
 FD3D12View (FD3D12Device *InDevice, ERHIDescriptorType InDescriptorType, ERHIDescriptorHeapType InHeapType, FD3D12View *FirstLinkedObject)
 
virtual ~FD3D12View ()
 
void UpdateResourceInfo (FResourceInfo const &InResource, FNullDescPtr NullDescriptor)
 
void CreateView (FResourceInfo const &InResource, FNullDescPtr NullDescriptor)
 
void UpdateView (FD3D12ContextArray const &Contexts, const FResourceInfo &InResource, FNullDescPtr NullDescriptor)
 
bool IsInitialized () const
 
void InitializeBindlessSlot ()
 
void UpdateBindlessSlot (FD3D12ContextArray const &Contexts)
 
- Protected Member Functions inherited from FD3D12LinkedAdapterObject< ObjectType >
 FD3D12LinkedAdapterObject ()
 
- Protected Attributes inherited from FRHIView
FRHIViewDesc const ViewDesc
 
- Protected Attributes inherited from FD3D12ShaderResourceView
uint64 OffsetInBytes = 0
 
uint32 StrideInBytes = 0
 
EFlags Flags = EFlags::None
 
FD3D12RayTracingSceneRayTracingScene = nullptr
 
- Protected Attributes inherited from TD3D12View< FD3D12ShaderResourceView, D3D12_SHADER_RESOURCE_VIEW_DESC >
D3D12_SHADER_RESOURCE_VIEW_DESC D3DViewDesc
 
- Protected Attributes inherited from FD3D12View
FResourceInfo ResourceInfo
 
FD3D12ViewSubset ViewSubset
 
FD3D12OfflineDescriptor OfflineCpuHandle
 
ERHIDescriptorHeapType const HeapType
 
- Protected Attributes inherited from FD3D12DeviceChild
FD3D12DeviceParent
 

Constructor & Destructor Documentation

◆ FD3D12ShaderResourceView_RHI()

FD3D12ShaderResourceView_RHI::FD3D12ShaderResourceView_RHI ( FD3D12Device InDevice,
FRHIViewableResource InResource,
FRHIViewDesc const &  InViewDesc,
FD3D12ShaderResourceView_RHI FirstLinkedObject 
)

Member Function Documentation

◆ CreateView()

void FD3D12ShaderResourceView_RHI::CreateView ( )
virtual

◆ GetBindlessHandle()

virtual FRHIDescriptorHandle FD3D12ShaderResourceView_RHI::GetBindlessHandle ( ) const
inlineoverridevirtual

Reimplemented from FRHIView.

◆ ResourceRenamed()

virtual void FD3D12ShaderResourceView_RHI::ResourceRenamed ( FD3D12ContextArray const &  Contexts,
FD3D12BaseShaderResource ,
FD3D12ResourceLocation  
)
inlineoverridevirtual

Reimplemented from FD3D12ShaderResourceView.

◆ UpdateView()

void FD3D12ShaderResourceView_RHI::UpdateView ( FD3D12ContextArray const &  Contexts)
virtual

The documentation for this class was generated from the following files: