Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FType |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIRTypes.h |
| Include Path | #include "Materials/MaterialIRTypes.h" |
Syntax
struct FType
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Kind | ETypeKind | Identifies what derived type this is. | Materials/MaterialIRTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FPrimitiveType * AsArithmetic() |
Returns this type upcast this type to PrimitiveType if it is one, otherwise nullptr. | Materials/MaterialIRTypes.h | |
const FPrimitiveType * AsMatrix() |
Returns this type upcast this type to PrimitiveType if it's a matrix, otherwise nullptr. | Materials/MaterialIRTypes.h | |
const FObjectType * AsObject() |
Returns this type cast as a FObjectPtr if it is one, otherwise nullptr. | Materials/MaterialIRTypes.h | |
const FPrimitiveType * AsPrimitive() |
Returns this type upcast this type to PrimitiveType if it is one, otherwise nullptr. | Materials/MaterialIRTypes.h | |
const FPrimitiveType * AsScalar() |
Returns this type upcast this type to PrimitiveType if it's a scalar, otherwise nullptr. | Materials/MaterialIRTypes.h | |
const FPrimitiveType * AsVector() |
Returns this type upcast this type to PrimitiveType if it's a vector, otherwise nullptr. | Materials/MaterialIRTypes.h | |
FStringView GetSpelling() |
Returns the this type name spelling (e.g. float4x4). | Materials/MaterialIRTypes.h | |
bool IsBoolean() |
Returns whether this is a boolean primitive type (of any dimension). | Materials/MaterialIRTypes.h | |
bool IsBoolScalar() |
Returns whether this type is a `bool_ scalar. | Materials/MaterialIRTypes.h | |
bool IsInteger() |
Returns whether this is an integer primitive type (of any dimension). | Materials/MaterialIRTypes.h | |
bool IsObjectOfKind
(
EObjectKind ObjectKind |
Returns whether this type is of a specific object kind. | Materials/MaterialIRTypes.h | |
bool IsPoison() |
Returns whether this is the poison type. | Materials/MaterialIRTypes.h | |
bool IsTexture() |
Returns whether this type is a texture. | Materials/MaterialIRTypes.h | |
UE::Shader::EValueType ToValueType() |
Converts this type to a UE::Shader::EValueType. | Materials/MaterialIRTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FType * FromMaterialParameterType
(
EMaterialParameterType Type |
Returns the type matching specified EMaterialParameterType. | Materials/MaterialIRTypes.h | |
static const FType * FromMaterialValueType
(
EMaterialValueType Type |
Returns the type matching specified EMaterialValueType. | Materials/MaterialIRTypes.h | |
static const FType * FromShaderType
(
const UE::Shader::FType& InShaderType |
Returns the type matching specified UE::Shader::FType. | Materials/MaterialIRTypes.h | |
static const FType * GetPoison() |
Returns the `void_ type. | Materials/MaterialIRTypes.h | |
static const FType * GetVoid() |
Returns the `void_ type. | Materials/MaterialIRTypes.h |