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

FGlobalBoundShaderState 更多...

#include <StaticBoundShaderState.h>

+ 类 FGlobalBoundShaderStateResource 继承关系图:

Public 成员函数

RENDERCORE_API FGlobalBoundShaderStateResource ()
 Initialization constructor.
 
FRHIBoundShaderState * GetInitializedRHI (FRHIVertexDeclaration *VertexDeclaration, FRHIVertexShader *VertexShader, FRHIPixelShader *PixelShader, FRHIGeometryShader *GeometryShader)
 If this global bound shader state hasn't been initialized yet, initialize it. 更多...
 
FRHIBoundShaderState * GetPreinitializedRHI ()
 If this global bound shader state has been initialized return it, otherwise return null. 更多...
 
virtual RENDERCORE_API ~FGlobalBoundShaderStateResource ()
 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 成员函数

static RENDERCORE_API TLinkedList< FGlobalBoundShaderStateResource * > *& GetGlobalBoundShaderStateList ()
 
- 静态 Public 成员函数 继承自 FRenderResource
static void InitPreRHIResources ()
 Initialize all resources initialized before the RHI was initialized
 

详细描述

FGlobalBoundShaderState

Encapsulates a global bound shader state resource.

成员函数说明

◆ GetGlobalBoundShaderStateList()

static RENDERCORE_API TLinkedList< FGlobalBoundShaderStateResource * > *& FGlobalBoundShaderStateResource::GetGlobalBoundShaderStateList ( )
static
返回
The list of global bound shader states.

◆ GetInitializedRHI()

FRHIBoundShaderState * FGlobalBoundShaderStateResource::GetInitializedRHI ( FRHIVertexDeclaration *  VertexDeclaration,
FRHIVertexShader *  VertexShader,
FRHIPixelShader *  PixelShader,
FRHIGeometryShader *  GeometryShader 
)

If this global bound shader state hasn't been initialized yet, initialize it.

返回
The bound shader state RHI.

◆ GetPreinitializedRHI()

FRHIBoundShaderState * FGlobalBoundShaderStateResource::GetPreinitializedRHI ( )

If this global bound shader state has been initialized return it, otherwise return null.

Can be called from any thread.

返回
The bound shader state RHI.

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