Navigation
API > API/Runtime > API/Runtime/Engine
An externally provided primitive uniform value, referenced by a given name.
| Name | FPrimitiveUniform |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIR.h |
| Include Path | #include "Materials/MaterialIR.h" |
Syntax
struct FPrimitiveUniform : public MIR::TValue< VK_PrimitiveUniform >
Inheritance Hierarchy
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Analysis_ComponentMask | int32 | Mask of which components of this uniform parameter are actually used. | Materials/MaterialIR.h | |
| Analysis_UniformIndex | int16 | Index of this uniform in the uniform expression set generated during analysis. | Materials/MaterialIR.h | |
| DefaultConstant | FValue * | A constant value this uniform is initialized to if left unassigned at runtime. | Materials/MaterialIR.h | |
| Name | FScriptName | A uniquely identifying name. | Materials/MaterialIR.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 Analysis_NumComponents() |
Number of components of this uniform parameter that are actually used. Asserts if Analysis_ComponentMask hasn't been initialized. | Materials/MaterialIR.h |