Navigation
API > API/Runtime > API/Runtime/RenderCore
A texture reference resource.
| Name | FTextureReference |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderResource.h |
| Include Path | #include "RenderResource.h" |
Syntax
class FTextureReference : public FRenderResource
Inheritance Hierarchy
- FRenderResource → FTextureReference
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTextureReference() |
Default constructor. | RenderResource.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FTextureReference() |
Destructor. | RenderResource.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TextureReferenceRHI | FTextureReferenceRHIRef | The texture reference's RHI resource. | RenderResource.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInitialized_GameThread | bool | True if the texture reference has been initialized from the game thread. | RenderResource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BeginInit_GameThread() |
Kicks off the initialization process on the game thread. | RenderResource.h | |
void BeginRelease_GameThread() |
Kicks off the release process on the game thread. | RenderResource.h | |
double GetLastRenderTime() |
Returns the last time the texture has been rendered via this reference. | RenderResource.h | |
void InvalidateLastRenderTime() |
Invalidates the last render time. | RenderResource.h | |
bool IsInitialized_GameThread() |
Returns true if the texture reference has been initialized from the game thread. | RenderResource.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetFriendlyName() |
RenderResource.h | ||
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
Initializes the RHI resources used by this resource. | RenderResource.h | |
virtual void ReleaseRHI () |
Releases the RHI resources used by this resource. | RenderResource.h |