Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include | #include "MaterialShared.h" |
Syntax
class FUniformExpressionSet
Remarks
Stores all uniform expressions for a material generated from a material translation.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TMemoryImageArray< uint8 > | DefaultValues | |
![]() |
TMemoryImageArray< FGuid > | ParameterCollections | Ids of parameter collections referenced by the material that was translated. |
![]() |
FRHIUniformBufferLayoutInitializer | UniformBufferLayoutInitializer | |
![]() |
TMemoryImageArray< FMaterialExternalTextureParameterInfo > | UniformExternalTextureParameters | |
![]() |
TMemoryImageArray< FMaterialNumericParameterInfo > | UniformNumericParameters | |
![]() |
uint32 | UniformPreshaderBufferSize | |
![]() |
UE::Shader::FPreshaderData | UniformPreshaderData | |
![]() |
TMemoryImageArray< FMaterialUniformPreshaderField > | UniformPreshaderFields | |
![]() |
TMemoryImageArray< FMaterialUniformPreshaderHeader > | UniformPreshaders | |
![]() |
TMemoryImageArray< FMaterialTextureParameterInfo >[NumMaterialTextureParameterTypes] | UniformTextureParameters | |
![]() |
TMemoryImageArray< FMaterialVirtualTextureStack > | VTStacks | Virtual texture stacks found during compilation |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
uint32 | AddDefaultParameterValue
(
const UE::Shader::FValue& Value |
|
![]() |
int32 | AddVTLayer
(
int32 StackIndex, |
|
![]() |
int32 | AddVTStack
(
int32 InPreallocatedStackTextureIndex |
|
![]() |
FShaderParametersMetadata * | ||
![]() ![]() |
void | FillUniformBuffer
(
const FMaterialRenderContext& MaterialRenderContext, |
|
![]() ![]() |
void | FillUniformBuffer
(
const FMaterialRenderContext& MaterialRenderContext, |
|
![]() |
int32 | ||
![]() |
int32 | FindOrAddNumericParameter
(
EMaterialParameterType Type, |
|
![]() |
int32 | FindOrAddTextureParameter
(
EMaterialTextureParameterType Type, |
|
![]() ![]() |
const uint8 * | GetDefaultParameterData
(
uint32 Offset |
|
![]() ![]() |
UE::Shader::FValue | GetDefaultParameterValue
(
EMaterialParameterType Type, |
|
![]() ![]() |
void | GetGameThreadTextureValue
(
EMaterialTextureParameterType Type, |
|
![]() ![]() |
const FMaterialNumericParameterInfo & | GetNumericParameter
(
uint32 Index |
|
![]() ![]() |
int32 | GetNumTextures
(
EMaterialTextureParameterType Type |
|
![]() ![]() |
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. |
![]() ![]() |
FString | ||
![]() ![]() |
const FMaterialTextureParameterInfo & | GetTextureParameter
(
EMaterialTextureParameterType Type, |
|
![]() ![]() |
void | GetTextureValue
(
int32 Index, |
|
![]() ![]() |
void | GetTextureValue
(
int32 Index, |
|
![]() ![]() |
void | GetTextureValue
(
EMaterialTextureParameterType Type, |
|
![]() ![]() |
const FTypeLayoutDesc & | ||
![]() ![]() |
const FRHIUniformBufferLayoutInitializer & | ||
![]() ![]() |
const FMaterialVirtualTextureStack & | GetVTStack
(
int32 Index |
|
![]() ![]() |
FVTPackedStackAndLayerIndex | GetVTStackAndLayerIndex
(
int32 UniformExpressionIndex |
|
![]() ![]() |
TConstArrayView< FMaterialVirtualTextureStack > | GetVTStacks () |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | IsEmpty () |
|
![]() |
void | SetParameterCollections
(
const TArray< class UMaterialParameterCollection* >& Collections |
|
![]() ![]() |
FTypeLayoutDesc & |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator==
(
const FUniformExpressionSet& ReferenceSet |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FVTPackedStackAndLayerIndex | ||
![]() |
InternalLinkType | ||
![]() |
InternalLinkType< COUNTER-CounterBase > |
Typedefs
Name | Description |
---|---|
DerivedType | |
InternalBaseType |
Constants
Name | Description |
---|---|
CounterBase | |
InterfaceType |