Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderResource.h |
Include |
#include "RenderResource.h" |
class FRenderResource
A rendering resource which is owned by the rendering thread.
Adding new virtual methods to this class may require stubs added to FViewport/FDummyViewport, otherwise certain modules may have link errors
Name | Description | |
---|---|---|
|
FRenderResource() |
Default constructor. |
|
FRenderResource ( |
Constructor when we know what feature level this resource should support |
Name | Description | |
---|---|---|
|
~FRenderResource() |
Destructor used to catch unreleased resources. |
Name | Description | ||
---|---|---|---|
|
ChangeFeatureLevel ( |
||
|
ForAllResources ( |
||
|
ForAllResourcesReverse ( |
||
|
const FStati... |
GetFeatureLevel() |
|
|
GetFriendlyName() |
||
|
HasValidFeatureLevel() |
||
|
InitDynamicRHI() |
Initializes the dynamic RHI resource and/or RHI render target used by this resource. |
|
|
InitPreRHIResources() |
Initialize all resources initialized before the RHI was initialized |
|
|
InitResource() |
Initializes the resource. This is only called by the rendering thread. |
|
|
InitRHI() |
Initializes the RHI resources used by this resource. |
|
|
InitRHIForAllResources() |
||
|
IsInitialized() |
Accessors. |
|
|
ReleaseDynamicRHI() |
Releases the dynamic RHI resource and/or RHI render target resources used by this resource. |
|
|
ReleaseResource() |
Prepares the resource for deletion. This is only called by the rendering thread. |
|
|
ReleaseRHI() |
Releases the RHI resources used by this resource. |
|
|
ReleaseRHIForAllResources() |
||
|
SetFeatureLevel ( |
This is used during mobile editor preview refactor, this will eventually be replaced with a parameter to InitRHI() etc.. |
|
|
UpdateRHI() |
If the resource's RHI resources have been initialized, then release and reinitialize it. |
Name |
Description |
---|---|
ResourceListIterationActive |