engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | 所有成员列表
TUniformBuffer< TBufferStruct > 模板类 参考

A uniform buffer resource. 更多...

#include <UniformBuffer.h>

+ 类 TUniformBuffer< TBufferStruct > 继承关系图:

Public 成员函数

virtual void InitDynamicRHI () override
 Initializes the dynamic RHI resource and/or RHI render target used by this resource. 更多...
 
virtual void ReleaseDynamicRHI () override
 Releases the dynamic RHI resource and/or RHI render target resources used by this resource. 更多...
 
void SetContents (const TBufferStruct &NewContents)
 Sets the contents of the uniform buffer.
 
void SetContentsToZero ()
 Sets the contents of the uniform buffer to all zeros.
 
- 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.
 

Protected 成员函数

void SetContentsNoUpdate (const TBufferStruct &NewContents)
 Sets the contents of the uniform buffer. 更多...
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 FRenderResource
static void InitPreRHIResources ()
 Initialize all resources initialized before the RHI was initialized
 

详细描述

template<typename TBufferStruct>
class TUniformBuffer< TBufferStruct >

A uniform buffer resource.

成员函数说明

◆ InitDynamicRHI()

template<typename TBufferStruct >
virtual void TUniformBuffer< TBufferStruct >::InitDynamicRHI ( )
inlineoverridevirtual

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()

template<typename TBufferStruct >
virtual void TUniformBuffer< TBufferStruct >::ReleaseDynamicRHI ( )
inlineoverridevirtual

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 .

◆ SetContentsNoUpdate()

template<typename TBufferStruct >
void TUniformBuffer< TBufferStruct >::SetContentsNoUpdate ( const TBufferStruct &  NewContents)
inlineprotected

Sets the contents of the uniform buffer.

Used within calls to InitDynamicRHI


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