engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FOpenGLEventQuery类 参考

A OpenGL event query resource. 更多...

#include <OpenGLResources.h>

+ 类 FOpenGLEventQuery 继承关系图:

Public 成员函数

 FOpenGLEventQuery (class FOpenGLDynamicRHI *InOpenGLRHI)
 Initialization constructor.
 
virtual void InitDynamicRHI () override
 Initializes the dynamic RHI resource and/or RHI render target used by this resource. 更多...
 
void IssueEvent ()
 Issues an event for the query to poll.
 
virtual void ReleaseDynamicRHI () override
 Releases the dynamic RHI resource and/or RHI render target resources used by this resource. 更多...
 
void WaitForCompletion ()
 Waits for the event query to finish.
 
- 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 成员函数 继承自 FRenderResource
static void InitPreRHIResources ()
 Initialize all resources initialized before the RHI was initialized
 

详细描述

A OpenGL event query resource.

成员函数说明

◆ InitDynamicRHI()

virtual void FOpenGLEventQuery::InitDynamicRHI ( )
overridevirtual

Initializes the dynamic RHI resource and/or RHI render target used by this resource.

Called when the resource is initialized, or when reseting all RHI resources. Resources that need to initialize after a D3D device reset must implement this function. This is only called by the rendering thread.

重载 FRenderResource .

◆ ReleaseDynamicRHI()

virtual void FOpenGLEventQuery::ReleaseDynamicRHI ( )
overridevirtual

Releases the dynamic RHI resource and/or RHI render target resources used by this resource.

Called when the resource is released, or when reseting all RHI resources. Resources that need to release before a D3D device reset must implement this function. This is only called by the rendering thread.

重载 FRenderResource .


该类的文档由以下文件生成: