FRenderResource

A rendering resource which is owned by the rendering thread.

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FCanvasTileRendererItem::FTileMesh

FCanvasTriangleRendererItem::FTriangleMesh

FDistanceFieldVolumeTextureAtlas

FDuplicatedVerticesBuffer

FEmptyVertexDeclaration

FFilterVertexDeclaration

FGeometryCacheTrackStreamableRenderResource

FGlobalBoundShaderStateResource

FGlobalDynamicReadBuffer

FIndexBuffer

FCubeIndexBuffer

FDynamicMeshIndexBuffer16

FDynamicMeshIndexBuffer32

FParticleIndexBuffer

FRawIndexBuffer

FRawIndexBuffer16or32

FRawStaticIndexBuffer

FRawStaticIndexBuffer16or32Interface

FRawStaticIndexBuffer16or32

FScreenRectangleIndexBuffer

FSixTriangleParticleIndexBuffer

FTwoTrianglesIndexBuffer

FLightmapResourceCluster

FMaterialRenderProxy

FColoredMaterialRenderProxy

FColoredTexturedMaterialRenderProxy

FDynamicColoredMaterialRenderProxy

FLightingDensityMaterialRenderProxy

FLandscapeDebugMaterialRenderProxy

FLandscapeLayerUsageRenderProxy

FLandscapeMaskMaterialRenderProxy

FLandscapeSelectMaterialRenderProxy

FOverrideSelectionColorMaterialRenderProxy

FMediaVertexDeclaration

FMorphTargetVertexInfoBuffers

FNiagaraViewDataMgr

FOpenGLEventQuery

FPrecomputedVolumetricLightmapData

FRenderTargetPool

FScreenVertexDeclaration

FShaderResource

FSharedSamplerState

FSimpleElementVertexDeclaration

FSinglePrimitiveStructuredBuffer

FSkeletalMeshGpuDynamicBufferProxy

FSkeletalMeshGpuSpawnStaticBuffers

FSlateRenderTargetRHI

FSlateTexture2DRHIRef

FStaticMeshGpuSpawnBuffer

FStaticMeshSectionAreaWeightedTriangleSamplerBuffer

FStaticMeshVertexBuffer

FSubsurfaceProfileTexture

FTexture

FPlanarReflectionRenderTarget

FSkyTextureCubeResource

FStaticShadowDepthMap

FTextureResource

FLandscapeLayersTexture2DCPUReadBackResource

FTexture2DArrayResource

FTexture2DDynamicResource

FTexture2DResource

FTextureRenderTargetResource

FSlateTextureRenderTarget2DResource

FTextureRenderTarget2DResource

FTextureRenderTargetCubeResource

FVirtualTexture2DResource

FWebBrowserTextureResource

FTextureWithSRV

FTextureReference

FVertexBuffer

FClearVertexBuffer

FColorVertexBuffer

FLandscapeVertexBuffer

FLandscapeVertexBufferMobile

FNiagaraCutoutVertexBuffer

FNiagaraNullSortedIndicesVertexBuffer

FNullColorVertexBuffer

FNullDynamicParameterVertexBuffer

FParticleEightTexCoordVertexBuffer

FParticleIndicesVertexBuffer

FNiagaraIndicesVertexBuffer

FParticleScratchVertexBuffer

FParticleTexCoordVertexBuffer

FPositionVertexBuffer

FPrimitiveIdDummyBuffer

FScreenRectangleVertexBuffer

FScreenSpaceVertexBuffer

FSkeletalMeshVertexClothBuffer

FSkinWeightVertexBuffer

FStaticMeshVertexBuffer::FTangentsVertexBuffer

FStaticMeshVertexBuffer::FTexcoordVertexBuffer

FSubUVBoundingGeometryBuffer

FVolumeRasterizeVertexBuffer

FVertexFactory

FGeometryCacheVertexVertexFactory

FGPUBaseSkinVertexFactory

TGPUSkinVertexFactory

TGPUSkinAPEXClothVertexFactory

TGPUSkinMorphVertexFactory

FLandscapeVertexFactory

FLandscapeFixedGridVertexFactory

FLandscapeVertexFactoryMobile

FLandscapeXYOffsetVertexFactory

FLocalVertexFactory

FCanvasTileRendererItem::FTileVertexFactory

FCanvasTriangleRendererItem::FTriangleVertexFactory

FGeometryCollectionVertexFactory

FGPUSkinPassthroughVertexFactory

FNiagaraVertexFactoryBase

FNiagaraMeshVertexFactory

FNiagaraMeshVertexFactoryEmulatedInstancing

FNiagaraRibbonVertexFactory

FNiagaraSpriteVertexFactory

FParticleVertexFactoryBase

FMeshParticleVertexFactory

FMeshParticleVertexFactoryEmulatedInstancing

FParticleBeamTrailVertexFactory

FParticleSpriteVertexFactory

FViewport

FDummyViewport

FSceneViewport

FVisualizeTexture

TBoundShaderStateHistory

TRenderResourcePool

FBoneBufferPool

FClothBufferPool

TStaticStateRHI::FStaticStateResource

TUniformBuffer

FDefaultLightmapResourceClusterUniformBuffer

FDefaultMobileReflectionCaptureUniformBuffer

FIdentityPrimitiveUniformBuffer

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderResource.h

Include

#include "RenderResource.h"

Syntax

class FRenderResource

Remarks

A rendering resource which is owned by the rendering thread.

Variables

Name Description

Protected variable

ERHIFeatureLeve...

 

FeatureLevel

Constructors

Name Description

Public function

FRenderResource()

Default constructor.

Public function

FRenderResource

(
    ERHIFeatureLevel::Type InFeatureLev...
)

Constructor when we know what feature level this resource should support

Destructors

Name Description

Public function Virtual

~FRenderResource()

Destructor used to catch unreleased resources.

Functions

Name Description

Public function Static

void

 

ChangeFeatureLevel

(
    ERHIFeatureLevel::Type NewFeatureLe...
)

Protected function Const

ERHIFeatureL...

 

GetFeatureLevel()

This is used during mobile editor preview refactor, this will eventually be replaced with a parameter to InitRHI() etc..

Public function Virtual Const

FString

 

GetFriendlyName()

Public function Static

TLinkedList<...

 

GetResourceList()

Protected function Const

bool

 

HasValidFeatureLevel()

Public function Virtual

void

 

InitDynamicRHI()

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

Public function Static

void

 

InitPreRHIResources()

Initialize all resources initialized before the RHI was initialized

Public function Virtual

void

 

InitResource()

Initializes the resource. This is only called by the rendering thread.

Public function

void

 

InitResourceFromPossiblyParallelRendering()

Probably temporary code that sends a task back to renderthread_local and blocks waiting for it to call InitResource.

Public function Virtual

void

 

InitRHI()

Initializes the RHI resources used by this resource.

Public function Const

bool

 

IsInitialized()

Accessors.

Public function Virtual

void

 

ReleaseDynamicRHI()

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

Public function Virtual

void

 

ReleaseResource()

Prepares the resource for deletion. This is only called by the rendering thread.

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.

Public function

void

 

UpdateRHI()

If the resource's RHI resources have been initialized, then release and reinitialize it.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback