Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include |
#include "MaterialShared.h" |
class FMaterialRenderProxy :
public FRenderResource,
public FNoncopyable
A material render proxy used by the renderer.
Name | Description | ||
---|---|---|---|
|
ImmutableSamplerState |
Cached external texture immutable samplers |
|
|
UniformExpressionCache |
Cached uniform expressions. |
Name | Description | |
---|---|---|
|
FMaterialRenderProxy ( |
Default constructor. |
Name | Description | |
---|---|---|
|
~FMaterialRenderProxy() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
CacheUniformExpressions ( |
Caches uniform expressions for efficient runtime evaluation. |
|
|
CacheUniformExpressions_GameThread ( |
Enqueues a rendering command to cache uniform expressions for efficient runtime evaluation. |
|
|
EvaluateUniformExpressions ( |
Evaluates uniform expressions and stores them in OutUniformExpressionCache. |
|
|
GetExpressionCacheSerialNumber() |
||
|
const FMater... |
GetFallback ( |
|
|
const FMater... |
GetIncompleteMaterialWithFallback ( |
Finds the FMaterial to use for rendering this FMaterialRenderProxy. |
|
UMaterialInt... |
GetMaterialInterface() |
|
|
const FStrin... |
GetMaterialName() |
|
|
const FMater... |
GetMaterialNoFallback ( |
Returns the FMaterial, without using a fallback if the FMaterial doesn't have a valid shader map. |
|
const TSet< ... |
GetMaterialRenderProxyMap() |
|
|
FCriticalSec... |
GetMaterialRenderProxyMapLock() |
|
|
const FMater... |
GetMaterialWithFallback ( |
Finds the FMaterial to use for rendering this FMaterialRenderProxy. |
|
GetParameterValue ( |
||
|
GetScalarValue ( |
||
|
const USubsu... |
GetSubsurfaceProfileRT() |
|
|
GetTextureValue ( |
||
|
GetTextureValue ( |
||
|
GetVectorValue ( |
||
|
HasDeferredUniformExpressionCacheRequests() |
||
|
InvalidateUniformExpressionCache ( |
Invalidates the uniform expression cache. |
|
|
IsDeleted() |
||
|
IsMarkedForGarbageCollection() |
||
|
MarkForGarbageCollection() |
||
|
SetSubsurfaceProfileRT ( |
||
|
UpdateDeferredCachedUniformExpressions() |
||
|
UpdateUniformExpressionCacheIfNeeded ( |
Name | Description | ||
---|---|---|---|
|
InitDynamicRHI() |
Initializes the dynamic RHI resource and/or RHI render target used by this resource. |
|
|
ReleaseDynamicRHI() |
Releases the dynamic RHI resource and/or RHI render target resources used by this resource. |
|
|
ReleaseResource() |
Prepares the resource for deletion. This is only called by the rendering thread. |
Name |
Description |
---|---|
DeferredUniformExpressionCacheRequests |
|
MaterialRenderProxyMap |
Tracks all material render proxies in all scenes. |
MaterialRenderProxyMapLock |
Lock that guards the access to the render proxy map |
Name | Description | ||
---|---|---|---|
|
const FMater... |
GetMaterial ( |
This function is deprecated. Use GetIncompleteMaterialWithFallback() instead. |