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

A material render proxy which overrides the selection color 更多...

#include <MaterialShared.h>

+ 类 FOverrideSelectionColorMaterialRenderProxy 继承关系图:

Public 成员函数

 FOverrideSelectionColorMaterialRenderProxy (const FMaterialRenderProxy *InParent, const FLinearColor &InSelectionColor)
 Initialization constructor.
 
virtual ENGINE_API const FMaterial & GetMaterialWithFallback (ERHIFeatureLevel::Type InFeatureLevel, const FMaterialRenderProxy *&OutFallbackMaterialRenderProxy) const override
 Finds the FMaterial to use for rendering this FMaterialRenderProxy. 更多...
 
- Public 成员函数 继承自 FMaterialRenderProxy
void ENGINE_API CacheUniformExpressions (bool bRecreateUniformBuffer)
 Caches uniform expressions for efficient runtime evaluation.
 
void ENGINE_API CacheUniformExpressions_GameThread (bool bRecreateUniformBuffer)
 Enqueues a rendering command to cache uniform expressions for efficient runtime evaluation. 更多...
 
void ENGINE_API EvaluateUniformExpressions (FUniformExpressionCache &OutUniformExpressionCache, const FMaterialRenderContext &Context, class FRHICommandList *CommandListIfLocalMode=nullptr) const
 Evaluates uniform expressions and stores them in OutUniformExpressionCache. 更多...
 
ENGINE_API FMaterialRenderProxy ()
 Default constructor.
 
const class FMaterial * GetMaterial (ERHIFeatureLevel::Type InFeatureLevel) const
 Returns the effective FMaterial, which can be a fallback if this material's shader map is invalid. 更多...
 
virtual FMaterial * GetMaterialNoFallback (ERHIFeatureLevel::Type InFeatureLevel) const
 Returns the FMaterial, without using a fallback if the FMaterial doesn't have a valid shader map. 更多...
 
virtual const FMaterial & GetMaterialWithFallback (ERHIFeatureLevel::Type InFeatureLevel, const FMaterialRenderProxy *&OutFallbackMaterialRenderProxy) const =0
 Finds the FMaterial to use for rendering this FMaterialRenderProxy. 更多...
 
virtual ENGINE_API void InitDynamicRHI () override
 Initializes the dynamic RHI resource and/or RHI render target used by this resource. 更多...
 
void ENGINE_API InvalidateUniformExpressionCache (bool bRecreateUniformBuffer)
 Invalidates the uniform expression cache.
 
virtual ENGINE_API void ReleaseDynamicRHI () override
 Releases the dynamic RHI resource and/or RHI render target resources used by this resource. 更多...
 
virtual ENGINE_API void ReleaseResource () override
 Prepares the resource for deletion. 更多...
 
virtual ENGINE_API ~FMaterialRenderProxy ()
 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 成员函数 继承自 FRenderResource
static void InitPreRHIResources ()
 Initialize all resources initialized before the RHI was initialized
 
- Public 属性 继承自 FMaterialRenderProxy
FImmutableSamplerState ImmutableSamplerState
 Cached external texture immutable samplers
 
FUniformExpressionCacheContainer UniformExpressionCache
 Cached uniform expressions.
 

详细描述

A material render proxy which overrides the selection color

成员函数说明

◆ GetMaterialWithFallback()

virtual ENGINE_API const FMaterial & FOverrideSelectionColorMaterialRenderProxy::GetMaterialWithFallback ( ERHIFeatureLevel::Type  InFeatureLevel,
const FMaterialRenderProxy *&  OutFallbackMaterialRenderProxy 
) const
overridevirtual

Finds the FMaterial to use for rendering this FMaterialRenderProxy.

Will fall back to a default material if needed due to a content error, or async compilation. OutFallbackMaterialRenderProxy - if valid, the default material had to be used and OutFallbackMaterialRenderProxy should be used for rendering.

实现了 FMaterialRenderProxy.


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