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

This represents a vertex declaration that hasn't been combined with a specific shader to create a bound shader. 更多...

#include <CommonRenderResources.h>

+ 类 FEmptyVertexDeclaration 继承关系图:

Public 成员函数

 FEmptyVertexDeclaration (const FVertexDeclarationElementList &InElements)
 Initialization constructor.
 
virtual void InitRHI ()
 Initializes the RHI resources used by this resource. 更多...
 
virtual void ReleaseRHI ()
 Releases the RHI resources used by this resource. 更多...
 
virtual ~FEmptyVertexDeclaration ()
 Destructor.
 
- 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 属性

FVertexDeclarationElementList Elements
 Cached element info array (offset, stream index, etc)
 

额外继承的成员函数

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

详细描述

This represents a vertex declaration that hasn't been combined with a specific shader to create a bound shader.

The empty vertex declaration resource type.

成员函数说明

◆ InitRHI()

virtual void FEmptyVertexDeclaration::InitRHI ( )
inlinevirtual

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 .

◆ ReleaseRHI()

virtual void FEmptyVertexDeclaration::ReleaseRHI ( )
inlinevirtual

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 .


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