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

A vertex buffer of positions. 更多...

#include <InstancedStaticMesh.h>

+ 类 FStaticMeshInstanceBuffer 继承关系图:

Public 成员函数

 FStaticMeshInstanceBuffer (ERHIFeatureLevel::Type InFeatureLevel, bool InRequireCPUAccess)
 Default constructor.
 
virtual FString GetFriendlyName () const override
 
ENGINE_API void InitFromPreallocatedData (FStaticMeshInstanceData &Other)
 Initializes the buffer with the component's data. 更多...
 
virtual void InitResource () override
 Initializes the resource. 更多...
 
virtual void InitRHI () override
 Initializes the RHI resources used by this resource. 更多...
 
void operator= (const FStaticMeshInstanceBuffer &Other)
 Specialized assignment operator, only used when importing LOD's.
 
virtual void ReleaseResource () override
 Prepares the resource for deletion. 更多...
 
virtual void ReleaseRHI () override
 Releases the RHI resources used by this resource. 更多...
 
 ~FStaticMeshInstanceBuffer ()
 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 属性

TSharedPtr< FStaticMeshInstanceData, ESPMode::ThreadSafe > InstanceData
 The vertex data storage type
 
bool RequireCPUAccess
 Keep CPU copy of instance data
 

额外继承的成员函数

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

详细描述

A vertex buffer of positions.

成员函数说明

◆ GetFriendlyName()

virtual FString FStaticMeshInstanceBuffer::GetFriendlyName ( ) const
inlineoverridevirtual
返回
The resource's friendly name. Typically a UObject name.

重载 FRenderResource .

◆ InitFromPreallocatedData()

ENGINE_API void FStaticMeshInstanceBuffer::InitFromPreallocatedData ( FStaticMeshInstanceData &  Other)

Initializes the buffer with the component's data.

参数
Other- instance data, this call assumes the memory, so this will be empty after the call

◆ InitResource()

virtual void FStaticMeshInstanceBuffer::InitResource ( )
overridevirtual

Initializes the resource.

This is only called by the rendering thread.

重载 FRenderResource .

◆ InitRHI()

virtual void FStaticMeshInstanceBuffer::InitRHI ( )
overridevirtual

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 .

◆ ReleaseResource()

virtual void FStaticMeshInstanceBuffer::ReleaseResource ( )
overridevirtual

Prepares the resource for deletion.

This is only called by the rendering thread.

重载 FRenderResource .

◆ ReleaseRHI()

virtual void FStaticMeshInstanceBuffer::ReleaseRHI ( )
overridevirtual

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 .


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