Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FStructTypeRegistry |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Shader/ShaderTypes.h |
| Include Path | #include "Shader/ShaderTypes.h" |
Syntax
class FStructTypeRegistry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStructTypeRegistry
(
FMemStackBase& InAllocator |
Shader/ShaderTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Allocator | FMemStackBase * | Shader/ShaderTypes.h | ||
| Types | TMap< uint64, const FStructType * > | Shader/ShaderTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EmitDeclarationsCode
(
FStringBuilderBase& OutCode |
Shader/ShaderTypes.h | ||
const FStructType * FindType
(
uint64 Hash |
Shader/ShaderTypes.h | ||
const FStructType * NewExternalType
(
FStringView Name |
An external struct type is opaque is far as the system is concerned, it's expected to be defined by the engine's HLSL code | Shader/ShaderTypes.h | |
const FStructType * NewType
(
const FStructTypeInitializer& Initializer |
Shader/ShaderTypes.h |