FOptimusDataType

Choose your operating system:

Windows

macOS

Linux

References

Module

OptimusDeveloper

Header

/Engine/Plugins/Experimental/Optimus/Source/OptimusDeveloper/Public/OptimusDataType.h

Include

#include "OptimusDataType.h"

Syntax

USTRUCT()
struct FOptimusDataType

Variables

Name Description

Public variable UProperty

bool

 

bHasCustomPinColor

Public variable UProperty

FLinearColor

 

CustomPinColor

Public variable UProperty

FText

 

DisplayName

Public variable UProperty

FShaderValueTyp...

 

ShaderValueType

Shader value type that goes with this Optimus pin type.

Public variable UProperty

FName

 

TypeCategory

Public variable UProperty

EOptimusDataTyp...

 

TypeFlags

Public variable UProperty

FName

 

TypeName

Public variable UProperty

TWeakObjectPtr<...

 

TypeObject

Public variable UProperty

EOptimusDataTyp...

 

UsageFlags

Constructors

Name Description

Public function

FOptimusDataType()

Functions

Name Description

Public function Const

bool

 

CanCreateProperty()

Returns true if the data type can create a FProperty object to represent it.

Public function Const

const uint8 ...

 

ConvertPropertyValueToShader

(
    const uint8* InValue,
    TArray< uint8 >& OutConvertedValue
)

Convert an FProperty value to a value compatible with the shader parameter data layout.

Public function Const

FProperty &#...

 

CreateProperty

(
    UStruct* InScope,
    FName InName
)

Create an FProperty with the given scope and name, but only if the UsageFlags contains EOptimusDataTypeUsageFLags::Variable.