Navigation
API > API/Runtime > API/Runtime/Engine
Stores all uniform expressions for a material generated from a material translation.
| Name | FUniformExpressionSet |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include Path | #include "MaterialShared.h" |
Syntax
class FUniformExpressionSet
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUniformExpressionSet() |
MaterialShared.h |
Classes
| Name | Remarks |
|---|---|
| FVTPackedStackAndLayerIndex |
Structs
| Name | Remarks |
|---|---|
| InternalLinkType |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DerivedType | FUniformExpressionSet | MaterialShared.h | |
| InternalBaseType | typename TGetBaseTypeHelper< FUniformExpressionSet >::Type | MaterialShared.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CounterBase | int | MaterialShared.h | |
| InterfaceType | ETypeLayoutInterface::Type | MaterialShared.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 AddDefaultParameterValue
(
const UE::Shader::FValue& Value |
MaterialShared.h | ||
void AddNumericParameterEvaluation
(
uint32 ParameterIndex, |
Adds a new direct parameter evaluation for parameter with specified index (returned by FindOrAddNumericParameter) BufferOffset is the location in the uniform buffer in which to evaluate the parameter (in multiple of float components). | MaterialShared.h | |
int32 AddVTLayer
(
int32 StackIndex, |
MaterialShared.h | ||
int32 AddVTStack
(
int32 InPreallocatedStackTextureIndex |
MaterialShared.h | ||
uint32 AllocateFromUniformBuffer
(
uint32 NumOfFloat4s |
Allocates the specified number of float4s in the uniform buffer and returns the index of the first newly allocated float4 in the buffer. | MaterialShared.h | |
void CountTextureCollections
(
uint32& BindlessCollections, |
MaterialShared.h | ||
FShaderParametersMetadata * CreateBufferStruct() |
MaterialShared.h | ||
void FillUniformBuffer
(
const FMaterialRenderContext& MaterialRenderContext, |
MaterialShared.h | ||
void FillUniformBuffer
(
const FMaterialRenderContext& MaterialRenderContext, |
MaterialShared.h | ||
int32 FindOrAddExternalTextureParameter
(
const FMaterialExternalTextureParameterInfo& Info |
MaterialShared.h | ||
int32 FindOrAddNumericParameter
(
EMaterialParameterType Type, |
MaterialShared.h | ||
int32 FindOrAddTextureCollectionParameter
(
const FMaterialTextureCollectionParameterInfo& Info |
MaterialShared.h | ||
int32 FindOrAddTextureParameter
(
EMaterialTextureParameterType Type, |
MaterialShared.h | ||
const uint8 * GetDefaultParameterData
(
uint32 Offset |
MaterialShared.h | ||
UE::Shader::FValue GetDefaultParameterValue
(
EMaterialParameterType Type, |
MaterialShared.h | ||
void GetGameThreadTextureCollectionValue
(
int32 Index, |
MaterialShared.h | ||
void GetGameThreadTextureValue
(
EMaterialTextureParameterType Type, |
MaterialShared.h | ||
TConstArrayView< FMaterialCacheTagStack > GetMaterialCacheTagStacks() |
MaterialShared.h | ||
const FMaterialNumericParameterInfo & GetNumericParameter
(
uint32 Index |
MaterialShared.h | ||
uint32 GetNumericParameterEvaluationOffset
(
uint32 ParameterIndex |
Returns the offset of specified parameter given with AddNumericParameterEvaluation. | MaterialShared.h | |
int32 GetNumTextureCollections() |
MaterialShared.h | ||
int32 GetNumTextures
(
EMaterialTextureParameterType Type |
MaterialShared.h | ||
uint32 GetReferencedTexture2DRHIHash
(
const FMaterialRenderContext& MaterialRenderContext |
Get a combined hash of all referenced Texture2D's underlying RHI textures, going through TextureReferences. Can be used to tell if any texture has gone through texture streaming mip changes recently. | MaterialShared.h | |
FString GetSummaryString() |
MaterialShared.h | ||
const FMaterialTextureCollectionParameterInfo & GetTextureCollectionParameter
(
int32 Index |
MaterialShared.h | ||
void GetTextureCollectionValue
(
int32 Index, |
MaterialShared.h | ||
const FMaterialTextureParameterInfo & GetTextureParameter
(
EMaterialTextureParameterType Type, |
MaterialShared.h | ||
void GetTextureValue
(
int32 Index, |
MaterialShared.h | ||
void GetTextureValue
(
int32 Index, |
MaterialShared.h | ||
void GetTextureValue
(
EMaterialTextureParameterType Type, |
MaterialShared.h | ||
const FTypeLayoutDesc & GetTypeLayout() |
MaterialShared.h | ||
const FRHIUniformBufferLayoutInitializer & GetUniformBufferLayoutInitializer() |
MaterialShared.h | ||
const FMaterialVirtualTextureStack & GetVTStack
(
int32 Index |
MaterialShared.h | ||
TConstArrayView< FMaterialVirtualTextureStack > GetVTStacks() |
MaterialShared.h | ||
bool HasExternalTextureExpressions() |
MaterialShared.h | ||
bool IsEmpty() |
MaterialShared.h | ||
void SetParameterCollections
(
TConstArrayView< const class UMaterialParameterCollection* > Collections |
MaterialShared.h | ||
void SetVTLayer
(
int32 StackIndex, |
MaterialShared.h | ||
void WriteUniformPreshaderEntry
(
uint32 BufferOffset, |
Writes a new uniform preshader entry. | MaterialShared.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVTPackedStackAndLayerIndex GetVTStackAndLayerIndex
(
int32 UniformExpressionIndex |
MaterialShared.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void InternalDestroy
(
void* Object, |
MaterialShared.h | ||
static void InternalInitializeBases
(
FTypeLayoutDesc& TypeDesc |
MaterialShared.h | ||
static FTypeLayoutDesc & StaticGetTypeLayout() |
MaterialShared.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FUniformExpressionSet& ReferenceSet |
MaterialShared.h |