FTextureRenderTarget2DArrayResource::InitDynamicRHI

Initializes the dynamic RHI resource and/or RHI render target used by this resource.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FRenderResource::InitDynamicRHI()

FTextureRenderTarget2DArrayResource::InitDynamicRHI()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/TextureRenderTarget2DArrayResource.h

Include

#include "TextureRenderTarget2DArrayResource.h"

Source

/Engine/Source/Runtime/Engine/Private/TextureRenderTarget2DArray.cpp

Syntax

virtual void InitDynamicRHI()

Remarks

Initializes the dynamic RHI resource and/or RHI render target used by this resource. Called when the resource is initialized, or when reseting all RHI resources. Resources that need to initialize after a D3D device reset must implement this function. This is only called by the rendering thread.

Initializes the RHI render target resources used by this resource. Called when the resource is initialized, or when reseting all RHI resources. This is only called by the rendering thread.