FOptimusDataTypeRegistry::RegisterType

Register a type that only has correspondence on the HLSL side.

Choose your operating system:

Windows

macOS

Linux

References

Module

OptimusDeveloper

Header

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

Include

#include "OptimusDataTypeRegistry.h"

Source

/Engine/Plugins/Experimental/Optimus/Source/OptimusDeveloper/Private/OptimusDataTypeRegistry.cpp

Syntax

bool RegisterType
(
    FName InTypeName,
    const FText & InDisplayName,
    FShaderValueTypeHandle InShaderValueType,
    FName InPinCategory,
    UObject * InPinSubCategory,
    FLinearColor InPinColor,
    EOptimusDataTypeUsageFlags InUsageFlags
)

Remarks

Register a type that only has correspondence on the HLSL side. Presence of the EOptimusDataTypeFlags::UseInVariable results in an error.