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.
|
static |
| FRHIBoundShaderState * FGlobalBoundShaderStateResource::GetInitializedRHI | ( | FRHIVertexDeclaration * | VertexDeclaration, |
| FRHIVertexShader * | VertexShader, | ||
| FRHIPixelShader * | PixelShader, | ||
| FRHIGeometryShader * | GeometryShader | ||
| ) |
If this global bound shader state hasn't been initialized yet, initialize it.
| FRHIBoundShaderState * FGlobalBoundShaderStateResource::GetPreinitializedRHI | ( | ) |
If this global bound shader state has been initialized return it, otherwise return null.
Can be called from any thread.