FTextureReference

A texture reference resource.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FRenderResource

FTextureReference

References

Module

RenderCore

Header

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

Include

#include "RenderResource.h"

Syntax

class FTextureReference : public FRenderResource

Remarks

A texture reference resource.

Variables

Name Description

Public variable

FTextureReferen...

 

TextureReferenceRHI

The texture reference's RHI resource.

Constructors

Name Description

Public function

FTextureReference()

Default constructor.

Destructors

Name Description

Public function Virtual

~FTextureReference()

Destructor.

Functions

Name Description

Public function

void

 

BeginInit_GameThread()

Kicks off the initialization process on the game thread.

Public function

void

 

BeginRelease_GameThread()

Kicks off the release process on the game thread.

Public function Const

double

 

GetLastRenderTime()

Returns the last time the texture has been rendered via this reference.

Public function

void

 

InvalidateLastRenderTime()

Invalidates the last render time.

Public function Const

bool

 

IsInitialized_GameThread()

Returns true if the texture reference has been initialized from the game thread.

Overridden from FRenderResource

Name Description

Public function Virtual Const

FString

 

GetFriendlyName()

Public function Virtual

void

 

InitRHI()

Initializes the RHI resources used by this resource.

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.