A texture reference resource. 更多...
#include <RenderResource.h>
类 FTextureReference 继承关系图:Public 成员函数 | |
| void | BeginInit_GameThread () |
| Kicks off the initialization process on the game thread. | |
| void | BeginRelease_GameThread () |
| Kicks off the release process on the game thread. | |
| FTextureReference () | |
| Default constructor. | |
| virtual FString | GetFriendlyName () const |
| double | GetLastRenderTime () const |
| Returns the last time the texture has been rendered via this reference. | |
| virtual void | InitRHI () |
| Initializes the RHI resources used by this resource. 更多... | |
| void | InvalidateLastRenderTime () |
| Invalidates the last render time. | |
| bool | IsInitialized_GameThread () const |
| Returns true if the texture reference has been initialized from the game thread. | |
| virtual void | ReleaseRHI () |
| Releases the RHI resources used by this resource. 更多... | |
Public 成员函数 继承自 FRenderResource | |
| FRenderResource () | |
| Default constructor. | |
| FRenderResource (ERHIFeatureLevel::Type InFeatureLevel) | |
| Constructor when we know what feature level this resource should support | |
| virtual FString | GetFriendlyName () const |
| virtual void | InitDynamicRHI () |
| Initializes the dynamic RHI resource and/or RHI render target used by this resource. 更多... | |
| virtual void | InitResource () |
| Initializes the resource. 更多... | |
| virtual void | InitRHI () |
| Initializes the RHI resources used by this resource. 更多... | |
| virtual void | ReleaseDynamicRHI () |
| Releases the dynamic RHI resource and/or RHI render target resources used by this resource. 更多... | |
| virtual void | ReleaseResource () |
| Prepares the resource for deletion. 更多... | |
| virtual void | ReleaseRHI () |
| Releases the RHI resources used by this resource. 更多... | |
| void | UpdateRHI () |
| If the resource's RHI resources have been initialized, then release and reinitialize it. 更多... | |
| virtual | ~FRenderResource () |
| Destructor used to catch unreleased resources. | |
Public 属性 | |
| FTextureReferenceRHIRef | TextureReferenceRHI |
| The texture reference's RHI resource. | |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 FRenderResource | |
| static void | InitPreRHIResources () |
| Initialize all resources initialized before the RHI was initialized | |
A texture reference resource.
|
virtual |
重载 FRenderResource .
|
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.
重载 FRenderResource .
|
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.
重载 FRenderResource .