Navigation
API > API/Plugins > API/Plugins/ComputeFramework > API/Plugins/ComputeFramework/FShaderValueType
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FShaderValueTypeHandle Get
(
EShaderFundamentalType InType |
Returns a scalar value type. | ComputeFramework/ShaderParamTypeDefinition.h | |
static FShaderValueTypeHandle Get
(
EShaderFundamentalType InType, |
Returns a vector value type. | ComputeFramework/ShaderParamTypeDefinition.h | |
static FShaderValueTypeHandle Get
(
FName InName, |
Constructor for struct types | ComputeFramework/ShaderParamTypeDefinition.h | |
static FShaderValueTypeHandle Get
(
FName InName, |
Constructor for struct types | ComputeFramework/ShaderParamTypeDefinition.h | |
static FShaderValueTypeHandle Get
(
EShaderFundamentalType InType, |
Constructor for vector values. InElemCount can be any value between 1-4 | ComputeFramework/ShaderParamTypeDefinition.h |
Get(EShaderFundamentalType)
Description
Returns a scalar value type. If the fundamental type given is invalid for scalar values (e.g. struct), then this function returns a nullptr.
| Name | Get |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ShaderParamTypeDefinition.h |
| Include Path | #include "ComputeFramework/ShaderParamTypeDefinition.h" |
| Source | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Private/ShaderParamTypeDefinition.cpp |
static FShaderValueTypeHandle Get
(
EShaderFundamentalType InType
)
Get(EShaderFundamentalType, int32)
Description
Returns a vector value type. InElemCount can be any value between 1-4. If the type given is invalid for scalar values (e.g. struct) or InElemCount is out of range, then this function returns a nullptr.
| Name | Get |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ShaderParamTypeDefinition.h |
| Include Path | #include "ComputeFramework/ShaderParamTypeDefinition.h" |
| Source | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Private/ShaderParamTypeDefinition.cpp |
static FShaderValueTypeHandle Get
(
EShaderFundamentalType InType,
int32 InElemCount
)
Get(FName, std::initializer_list< FStructElement >)
Description
Constructor for struct types
| Name | Get |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ShaderParamTypeDefinition.h |
| Include Path | #include "ComputeFramework/ShaderParamTypeDefinition.h" |
| Source | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Private/ShaderParamTypeDefinition.cpp |
static FShaderValueTypeHandle Get
(
FName InName,
std::initializer_list< FStructElement > InStructElements
)
Get(FName, const TArray< FStructElement > &)
Description
Constructor for struct types
| Name | Get |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ShaderParamTypeDefinition.h |
| Include Path | #include "ComputeFramework/ShaderParamTypeDefinition.h" |
| Source | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Private/ShaderParamTypeDefinition.cpp |
static FShaderValueTypeHandle Get
(
FName InName,
const TArray< FStructElement > & InStructElements
)
Get(EShaderFundamentalType, int32, int32)
Description
Constructor for vector values. InElemCount can be any value between 1-4
| Name | Get |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ShaderParamTypeDefinition.h |
| Include Path | #include "ComputeFramework/ShaderParamTypeDefinition.h" |
| Source | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Private/ShaderParamTypeDefinition.cpp |
static FShaderValueTypeHandle Get
(
EShaderFundamentalType InType,
int32 InRowCount,
int32 InColumnCount
)