![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RenderResource.h>
Inheritance diagram for FTextureReference:Public Attributes | |
| FTextureReferenceRHIRef | TextureReferenceRHI |
Public Attributes inherited from FRenderResource | |
| ERenderResourceState | ResourceState = ERenderResourceState::Default |
A texture reference resource.
| FTextureReference::FTextureReference | ( | ) |
Default constructor.
|
virtual |
| void FTextureReference::BeginInit_GameThread | ( | ) |
Kicks off the initialization process on the game thread.
| void FTextureReference::BeginRelease_GameThread | ( | ) |
Kicks off the release process on the game thread.
|
virtual |
Reimplemented from FRenderResource.
| double FTextureReference::GetLastRenderTime | ( | ) | const |
Returns the last time the texture has been rendered via this reference.
|
virtual |
Initializes the RHI resources used by this resource. Called when entering the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.
Reimplemented from FRenderResource.
| void FTextureReference::InvalidateLastRenderTime | ( | ) |
Invalidates the last render time.
|
inline |
Returns true if the texture reference has been initialized from the game thread.
|
virtual |
Releases the RHI resources used by this resource. Called when leaving the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.
Reimplemented from FRenderResource.
| FTextureReferenceRHIRef FTextureReference::TextureReferenceRHI |
The texture reference's RHI resource.